Class V1RuntimeClass
java.lang.Object
io.kubernetes.client.openapi.models.V1RuntimeClass
- All Implemented Interfaces:
KubernetesObject
,KubernetesType
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2023-06-18T15:05:57.863601Z[Etc/UTC]")
public class V1RuntimeClass
extends Object
implements KubernetesObject
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 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://kubernetes.io/docs/concepts/containers/runtime-class/
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) boolean
APIVersion defines the versioned schema of this representation of an object.handler specifies the underlying runtime and configuration that the CRI implementation will use to handle pods of this class.getKind()
Kind is a string value representing the REST resource this object represents.Get metadataGet overheadGet schedulingint
hashCode()
metadata
(V1ObjectMeta metadata) overhead
(V1Overhead overhead) scheduling
(V1Scheduling scheduling) void
setApiVersion
(String apiVersion) void
setHandler
(String handler) void
void
setMetadata
(V1ObjectMeta metadata) void
setOverhead
(V1Overhead overhead) void
setScheduling
(V1Scheduling scheduling) toString()
-
Field Details
-
SERIALIZED_NAME_API_VERSION
- See Also:
-
SERIALIZED_NAME_HANDLER
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_METADATA
- See Also:
-
SERIALIZED_NAME_OVERHEAD
- See Also:
-
SERIALIZED_NAME_SCHEDULING
- See Also:
-
-
Constructor Details
-
V1RuntimeClass
public V1RuntimeClass()
-
-
Method Details
-
apiVersion
-
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- Specified by:
getApiVersion
in interfaceKubernetesType
- Returns:
- apiVersion
-
setApiVersion
-
handler
-
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 be lowercase, conform to the DNS Label (RFC 1123) requirements, and is immutable.- Returns:
- handler
-
setHandler
-
kind
-
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- Specified by:
getKind
in interfaceKubernetesType
- Returns:
- kind
-
setKind
-
metadata
-
getMetadata
Get metadata- Specified by:
getMetadata
in interfaceKubernetesObject
- Returns:
- metadata
-
setMetadata
-
overhead
-
getOverhead
Get overhead- Returns:
- overhead
-
setOverhead
-
scheduling
-
getScheduling
Get scheduling- Returns:
- scheduling
-
setScheduling
-
equals
-
hashCode
public int hashCode() -
toString
-