Package org.cdk8s.plus24
Class Pods
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.plus24.Pods
-
- All Implemented Interfaces:
IPodSelector
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.76.0 (build a2651be)", date="2023-03-03T03:12:10.297Z") @Stability(Stable) public class Pods extends software.constructs.Construct implements IPodSelector
Represents a group of pods.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$Proxy
-
Nested classes/interfaces inherited from interface org.cdk8s.plus24.IPodSelector
IPodSelector.Jsii$Default, IPodSelector.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Pods(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
protected
Pods(software.amazon.jsii.JsiiObjectRef objRef)
Pods(software.constructs.Construct scope, String id)
Pods(software.constructs.Construct scope, String id, List<LabelExpression> expressions)
Pods(software.constructs.Construct scope, String id, List<LabelExpression> expressions, Map<String,String> labels)
Pods(software.constructs.Construct scope, String id, List<LabelExpression> expressions, Map<String,String> labels, INamespaceSelector namespaces)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Pods
all(software.constructs.Construct scope, String id)
Select all pods.static Pods
all(software.constructs.Construct scope, String id, PodsAllOptions options)
Select all pods.static Pods
select(software.constructs.Construct scope, String id, PodsSelectOptions options)
Select pods in the cluster with various selectors.NetworkPolicyPeerConfig
toNetworkPolicyPeerConfig()
IPodSelector
toPodSelector()
PodSelectorConfig
toPodSelectorConfig()
Return the configuration of this selector.-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
Pods
protected Pods(software.amazon.jsii.JsiiObjectRef objRef)
-
Pods
protected Pods(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
Pods
@Stability(Stable) public Pods(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable List<LabelExpression> expressions, @Nullable Map<String,String> labels, @Nullable INamespaceSelector namespaces)
- Parameters:
scope
- This parameter is required.id
- This parameter is required.expressions
-labels
-namespaces
-
-
Pods
@Stability(Stable) public Pods(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable List<LabelExpression> expressions, @Nullable Map<String,String> labels)
- Parameters:
scope
- This parameter is required.id
- This parameter is required.expressions
-labels
-
-
Pods
@Stability(Stable) public Pods(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable List<LabelExpression> expressions)
- Parameters:
scope
- This parameter is required.id
- This parameter is required.expressions
-
-
Pods
@Stability(Stable) public Pods(@NotNull software.constructs.Construct scope, @NotNull String id)
- Parameters:
scope
- This parameter is required.id
- This parameter is required.
-
-
Method Detail
-
all
@Stability(Stable) @NotNull public static Pods all(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable PodsAllOptions options)
Select all pods.- Parameters:
scope
- This parameter is required.id
- This parameter is required.options
-
-
all
@Stability(Stable) @NotNull public static Pods all(@NotNull software.constructs.Construct scope, @NotNull String id)
Select all pods.- Parameters:
scope
- This parameter is required.id
- This parameter is required.
-
select
@Stability(Stable) @NotNull public static Pods select(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull PodsSelectOptions options)
Select pods in the cluster with various selectors.- Parameters:
scope
- This parameter is required.id
- This parameter is required.options
- This parameter is required.
-
toNetworkPolicyPeerConfig
@Stability(Stable) @NotNull public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
-
toPodSelector
@Stability(Stable) @Nullable public IPodSelector toPodSelector()
- 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()
-
-