Class V1RuntimeClass
java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1RuntimeClass
@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen")
public class V1RuntimeClass
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 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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) Set apiVersion in a chainable fashion.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.Set handler in a chainable fashion.int
hashCode()
Set kind in a chainable fashion.metadata
(V1ObjectMeta metadata) Set metadata in a chainable fashion.overhead
(V1Overhead overhead) Set overhead in a chainable fashion.scheduling
(V1Scheduling scheduling) Set scheduling in a chainable fashion.void
setApiVersion
(String apiVersion) Set the apiVersion property valuevoid
setHandler
(String handler) Set the handler property valuevoid
Set the kind property valuevoid
setMetadata
(V1ObjectMeta metadata) Set the metadata property valuevoid
setOverhead
(V1Overhead overhead) Set the overhead property valuevoid
setScheduling
(V1Scheduling scheduling) Set the scheduling property valuetoString()
-
Field Details
-
JSON_PROPERTY_HANDLER
- See Also:
-
JSON_PROPERTY_API_VERSION
- See Also:
-
JSON_PROPERTY_KIND
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_OVERHEAD
- See Also:
-
JSON_PROPERTY_SCHEDULING
- See Also:
-
-
Constructor Details
-
V1RuntimeClass
-
-
Method Details
-
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:
- the handler property value
-
setHandler
Set the handler property value- Parameters:
handler
- property value to set
-
handler
Set handler in a chainable fashion.- Returns:
- The same instance of V1RuntimeClass for chaining.
-
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:
- the apiVersion property value
-
setApiVersion
Set the apiVersion property value- Parameters:
apiVersion
- property value to set
-
apiVersion
Set apiVersion in a chainable fashion.- Returns:
- The same instance of V1RuntimeClass for chaining.
-
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:
- the kind property value
-
setKind
Set the kind property value- Parameters:
kind
- property value to set
-
kind
Set kind in a chainable fashion.- Returns:
- The same instance of V1RuntimeClass for chaining.
-
getMetadata
- Returns:
- the metadata property value
-
setMetadata
Set the metadata property value- Parameters:
metadata
- property value to set
-
metadata
Set metadata in a chainable fashion.- Returns:
- The same instance of V1RuntimeClass for chaining.
-
getOverhead
- Returns:
- the overhead property value
-
setOverhead
Set the overhead property value- Parameters:
overhead
- property value to set
-
overhead
Set overhead in a chainable fashion.- Returns:
- The same instance of V1RuntimeClass for chaining.
-
getScheduling
- Returns:
- the scheduling property value
-
setScheduling
Set the scheduling property value- Parameters:
scheduling
- property value to set
-
scheduling
Set scheduling in a chainable fashion.- Returns:
- The same instance of V1RuntimeClass for chaining.
-
equals
-
hashCode
public int hashCode() -
toString
-