Package org.cdk8s.plus24.k8s
Class KubePod
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.ApiObject
-
- org.cdk8s.plus24.k8s.KubePod
-
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.80.0 (build bce6a1d)", date="2023-05-05T16:22:34.076Z") @Stability(Stable) public class KubePod extends org.cdk8s.ApiObject
Pod is a collection of containers that can run on a host.This resource is created by clients and scheduled onto hosts.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
KubePod.Builder
A fluent builder forKubePod
.
-
Field Summary
Fields Modifier and Type Field Description static org.cdk8s.GroupVersionKind
GVK
Returns the apiVersion and kind for "io.k8s.api.core.v1.Pod".
-
Constructor Summary
Constructors Modifier Constructor Description protected
KubePod(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected
KubePod(software.amazon.jsii.JsiiObjectRef objRef)
KubePod(software.constructs.Construct scope, String id)
Defines a "io.k8s.api.core.v1.Pod" API object.KubePod(software.constructs.Construct scope, String id, KubePodProps props)
Defines a "io.k8s.api.core.v1.Pod" API object.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Object
manifest()
Renders a Kubernetes manifest for "io.k8s.api.core.v1.Pod".static Object
manifest(KubePodProps props)
Renders a Kubernetes manifest for "io.k8s.api.core.v1.Pod".Object
toJson()
Renders the object to Kubernetes JSON.-
Methods inherited from class org.cdk8s.ApiObject
addDependency, addJsonPatch, getApiGroup, getApiVersion, getChart, getKind, getMetadata, getName, isApiObject, of
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
KubePod
protected KubePod(software.amazon.jsii.JsiiObjectRef objRef)
-
KubePod
protected KubePod(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
KubePod
@Stability(Stable) public KubePod(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable KubePodProps props)
Defines a "io.k8s.api.core.v1.Pod" 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.
-
KubePod
@Stability(Stable) public KubePod(@NotNull software.constructs.Construct scope, @NotNull String id)
Defines a "io.k8s.api.core.v1.Pod" 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.
-
-
Method Detail
-
manifest
@Stability(Stable) @NotNull public static Object manifest(@Nullable KubePodProps props)
Renders a Kubernetes manifest for "io.k8s.api.core.v1.Pod".This can be used to inline resource manifests inside other objects (e.g. as templates).
- Parameters:
props
- initialization props.
-
manifest
@Stability(Stable) @NotNull public static Object manifest()
Renders a Kubernetes manifest for "io.k8s.api.core.v1.Pod".This can be used to inline resource manifests inside other objects (e.g. as templates).
-
toJson
@Stability(Stable) @NotNull public Object toJson()
Renders the object to Kubernetes JSON.- Overrides:
toJson
in classorg.cdk8s.ApiObject
-
-