Package org.cdk8s.plus25
Class Pods
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.plus25.Pods
-
- All Implemented Interfaces:
IPodSelector,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.401Z") @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.plus25.IPodSelector
IPodSelector.Jsii$Default, IPodSelector.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPods(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedPods(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 Podsall(software.constructs.Construct scope, String id)Select all pods.static Podsall(software.constructs.Construct scope, String id, PodsAllOptions options)Select all pods.static Podsselect(software.constructs.Construct scope, String id, PodsSelectOptions options)Select pods in the cluster with various selectors.NetworkPolicyPeerConfigtoNetworkPolicyPeerConfig()IPodSelectortoPodSelector()PodSelectorConfigtoPodSelectorConfig()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:
toPodSelectorConfigin interfaceIPodSelector- See Also:
- IPodSelector.toPodSelectorConfig()
-
-