Package net.stickycode.kuuty.model.v18
Class IoK8sApiNodeV1beta1RuntimeClass
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiNodeV1beta1RuntimeClass
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiNodeV1beta1RuntimeClass extends Object
RuntimeClass defines a class of container runtime supported in the cluster. The RuntimeClass is used to determine which container runtime is used to run all containers in a pod. RuntimeClasses are (currently) manually defined by a user or cluster provisioner, and referenced in the PodSpec. The Kubelet is responsible for resolving the RuntimeClassName reference before running the pod. For more details, see https://git.k8s.io/enhancements/keps/sig-node/runtime-class.md
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_API_VERSIONstatic StringJSON_PROPERTY_HANDLERstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_METADATAstatic StringJSON_PROPERTY_OVERHEADstatic StringJSON_PROPERTY_SCHEDULING
-
Constructor Summary
Constructors Constructor Description IoK8sApiNodeV1beta1RuntimeClass()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_API_VERSION
public static final String JSON_PROPERTY_API_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_HANDLER
public static final String JSON_PROPERTY_HANDLER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KIND
public static final String JSON_PROPERTY_KIND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_OVERHEAD
public static final String JSON_PROPERTY_OVERHEAD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SCHEDULING
public static final String JSON_PROPERTY_SCHEDULING
- See Also:
- Constant Field Values
-
-
Method Detail
-
apiVersion
public IoK8sApiNodeV1beta1RuntimeClass apiVersion(String apiVersion)
-
getApiVersion
@Nullable public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Returns:
- apiVersion
-
setApiVersion
public void setApiVersion(String apiVersion)
-
handler
public IoK8sApiNodeV1beta1RuntimeClass handler(String handler)
-
getHandler
public String getHandler()
Handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class. The possible values are specific to the node & CRI configuration. It is assumed that all handlers are available on every node, and handlers of the same name are equivalent on every node. For example, a handler called \"runc\" might specify that the runc OCI runtime (using native Linux containers) will be used to run the containers in a pod. The Handler must conform to the DNS Label (RFC 1123) requirements, and is immutable.- Returns:
- handler
-
setHandler
public void setHandler(String handler)
-
kind
public IoK8sApiNodeV1beta1RuntimeClass kind(String kind)
-
getKind
@Nullable public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
- kind
-
setKind
public void setKind(String kind)
-
metadata
public IoK8sApiNodeV1beta1RuntimeClass metadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
getMetadata
@Nullable public IoK8sApimachineryPkgApisMetaV1ObjectMeta getMetadata()
Get metadata- Returns:
- metadata
-
setMetadata
public void setMetadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
overhead
public IoK8sApiNodeV1beta1RuntimeClass overhead(IoK8sApiNodeV1beta1Overhead overhead)
-
getOverhead
@Nullable public IoK8sApiNodeV1beta1Overhead getOverhead()
Get overhead- Returns:
- overhead
-
setOverhead
public void setOverhead(IoK8sApiNodeV1beta1Overhead overhead)
-
scheduling
public IoK8sApiNodeV1beta1RuntimeClass scheduling(IoK8sApiNodeV1beta1Scheduling scheduling)
-
getScheduling
@Nullable public IoK8sApiNodeV1beta1Scheduling getScheduling()
Get scheduling- Returns:
- scheduling
-
setScheduling
public void setScheduling(IoK8sApiNodeV1beta1Scheduling scheduling)
-
-