Package org.cdk8s.plus24.k8s
Class KubeRuntimeClassV1Beta1
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.ApiObject
-
- org.cdk8s.plus24.k8s.KubeRuntimeClassV1Beta1
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.68.0 (build b45f2f6)", date="2022-09-25T03:33:25.684Z") @Stability(Stable) public class KubeRuntimeClassV1Beta1 extends org.cdk8s.ApiObject
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/585-runtime-class
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKubeRuntimeClassV1Beta1.BuilderA fluent builder forKubeRuntimeClassV1Beta1.
-
Field Summary
Fields Modifier and Type Field Description static org.cdk8s.GroupVersionKindGVKReturns the apiVersion and kind for "io.k8s.api.node.v1beta1.RuntimeClass".
-
Constructor Summary
Constructors Modifier Constructor Description protectedKubeRuntimeClassV1Beta1(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedKubeRuntimeClassV1Beta1(software.amazon.jsii.JsiiObjectRef objRef)KubeRuntimeClassV1Beta1(software.constructs.Construct scope, String id, KubeRuntimeClassV1Beta1Props props)Defines a "io.k8s.api.node.v1beta1.RuntimeClass" API object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Objectmanifest(KubeRuntimeClassV1Beta1Props props)Renders a Kubernetes manifest for "io.k8s.api.node.v1beta1.RuntimeClass".ObjecttoJson()Renders the object to Kubernetes JSON.-
Methods inherited from class org.cdk8s.ApiObject
addDependency, addJsonPatch, getApiGroup, getApiVersion, getChart, getKind, getMetadata, getName, of
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
KubeRuntimeClassV1Beta1
protected KubeRuntimeClassV1Beta1(software.amazon.jsii.JsiiObjectRef objRef)
-
KubeRuntimeClassV1Beta1
protected KubeRuntimeClassV1Beta1(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
KubeRuntimeClassV1Beta1
@Stability(Stable) public KubeRuntimeClassV1Beta1(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull KubeRuntimeClassV1Beta1Props props)Defines a "io.k8s.api.node.v1beta1.RuntimeClass" API object.- Parameters:
scope- the scope in which to define this object. This parameter is required.id- a scope-local name for the object. This parameter is required.props- initialization props. This parameter is required.
-
-
Method Detail
-
manifest
@Stability(Stable) @NotNull public static Object manifest(@NotNull KubeRuntimeClassV1Beta1Props props)
Renders a Kubernetes manifest for "io.k8s.api.node.v1beta1.RuntimeClass".This can be used to inline resource manifests inside other objects (e.g. as templates).
- Parameters:
props- initialization props. This parameter is required.
-
toJson
@Stability(Stable) @NotNull public Object toJson()
Renders the object to Kubernetes JSON.- Overrides:
toJsonin classorg.cdk8s.ApiObject
-
-