Package org.cdk8s.plus23.k8s
Class KubeCsiDriver
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.ApiObject
-
- org.cdk8s.plus23.k8s.KubeCsiDriver
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.69.0 (build f656c31)", date="2022-10-15T03:08:35.386Z") @Stability(Stable) public class KubeCsiDriver extends org.cdk8s.ApiObject
CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster.Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KubeCsiDriver.Builder
A fluent builder forKubeCsiDriver
.
-
Field Summary
Fields Modifier and Type Field Description static org.cdk8s.GroupVersionKind
GVK
Returns the apiVersion and kind for "io.k8s.api.storage.v1.CSIDriver".
-
Constructor Summary
Constructors Modifier Constructor Description protected
KubeCsiDriver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected
KubeCsiDriver(software.amazon.jsii.JsiiObjectRef objRef)
KubeCsiDriver(software.constructs.Construct scope, String id, KubeCsiDriverProps props)
Defines a "io.k8s.api.storage.v1.CSIDriver" API object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Object
manifest(KubeCsiDriverProps props)
Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSIDriver".Object
toJson()
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
-
KubeCsiDriver
protected KubeCsiDriver(software.amazon.jsii.JsiiObjectRef objRef)
-
KubeCsiDriver
protected KubeCsiDriver(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
KubeCsiDriver
@Stability(Stable) public KubeCsiDriver(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull KubeCsiDriverProps props)
Defines a "io.k8s.api.storage.v1.CSIDriver" 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 KubeCsiDriverProps props)
Renders a Kubernetes manifest for "io.k8s.api.storage.v1.CSIDriver".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:
toJson
in classorg.cdk8s.ApiObject
-
-