Package org.cdk8s.plus24
Class AbstractPod
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.plus24.Resource
-
- org.cdk8s.plus24.AbstractPod
-
- All Implemented Interfaces:
IApiEndpoint
,IApiResource
,INetworkPolicyPeer
,IPodSelector
,IResource
,ISubject
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.75.0 (build 63bb957)", date="2023-02-20T02:42:01.742Z") @Stability(Stable) public abstract class AbstractPod extends Resource implements IPodSelector, INetworkPolicyPeer, ISubject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.IApiEndpoint
IApiEndpoint.Jsii$Default
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.IApiResource
IApiResource.Jsii$Default
-
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.INetworkPolicyPeer
INetworkPolicyPeer.Jsii$Default
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.IPodSelector
IPodSelector.Jsii$Default
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.IResource
IResource.Jsii$Default
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.ISubject
ISubject.Jsii$Default
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractPod(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected
AbstractPod(software.amazon.jsii.JsiiObjectRef objRef)
protected
AbstractPod(software.constructs.Construct scope, String id)
protected
AbstractPod(software.constructs.Construct scope, String id, AbstractPodProps props)
-
Method Summary
-
Methods inherited from class org.cdk8s.plus24.Resource
asApiResource, asNonApiResource, getApiGroup, getApiObject, getApiVersion, getKind, getMetadata, getName, getPermissions, getResourceName, getResourceType
-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
AbstractPod
protected AbstractPod(software.amazon.jsii.JsiiObjectRef objRef)
-
AbstractPod
protected AbstractPod(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
AbstractPod
@Stability(Stable) protected AbstractPod(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable AbstractPodProps props)
- Parameters:
scope
- This parameter is required.id
- This parameter is required.props
-
-
AbstractPod
@Stability(Stable) protected AbstractPod(@NotNull software.constructs.Construct scope, @NotNull String id)
- Parameters:
scope
- This parameter is required.id
- This parameter is required.
-
-
Method Detail
-
addContainer
@Stability(Stable) @NotNull public Container addContainer(@NotNull ContainerProps cont)
- Parameters:
cont
- This parameter is required.
-
addHostAlias
@Stability(Stable) public void addHostAlias(@NotNull HostAlias hostAlias)
- Parameters:
hostAlias
- This parameter is required.
-
addInitContainer
@Stability(Stable) @NotNull public Container addInitContainer(@NotNull ContainerProps cont)
- Parameters:
cont
- This parameter is required.
-
addVolume
@Stability(Stable) public void addVolume(@NotNull Volume vol)
- Parameters:
vol
- This parameter is required.
-
attachContainer
@Stability(Stable) public void attachContainer(@NotNull Container cont)
- Parameters:
cont
- This parameter is required.
-
toNetworkPolicyPeerConfig
@Stability(Stable) @NotNull public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
Return the configuration of this peer.- Specified by:
toNetworkPolicyPeerConfig
in interfaceINetworkPolicyPeer
- See Also:
- INetworkPolicyPeer.toNetworkPolicyPeerConfig()
-
toPodSelector
@Stability(Stable) @Nullable public IPodSelector toPodSelector()
Convert the peer into a pod selector, if possible.- Specified by:
toPodSelector
in interfaceINetworkPolicyPeer
- See Also:
- INetworkPolicyPeer.toPodSelector()
-
toPodSelectorConfig
@Stability(Stable) @NotNull public PodSelectorConfig toPodSelectorConfig()
Return the configuration of this selector.- Specified by:
toPodSelectorConfig
in interfaceIPodSelector
- See Also:
- IPodSelector.toPodSelectorConfig()
-
toSubjectConfiguration
@Stability(Stable) @NotNull public SubjectConfiguration toSubjectConfiguration()
Return the subject configuration.- Specified by:
toSubjectConfiguration
in interfaceISubject
- See Also:
- ISubect.toSubjectConfiguration()
-
getAutomountServiceAccountToken
@Stability(Stable) @NotNull public Boolean getAutomountServiceAccountToken()
-
getDns
@Stability(Stable) @NotNull public PodDns getDns()
-
getIsolate
@Stability(Stable) @NotNull protected Boolean getIsolate()
-
getPodMetadata
@Stability(Stable) @NotNull public abstract org.cdk8s.ApiObjectMetadataDefinition getPodMetadata()
-
getSecurityContext
@Stability(Stable) @NotNull public PodSecurityContext getSecurityContext()
-
getDockerRegistryAuth
@Stability(Stable) @Nullable public DockerConfigSecret getDockerRegistryAuth()
-
getRestartPolicy
@Stability(Stable) @Nullable public RestartPolicy getRestartPolicy()
-
getServiceAccount
@Stability(Stable) @Nullable public IServiceAccount getServiceAccount()
-
-