Package org.cdk8s.plus25
Class Namespaces
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- software.constructs.Construct
-
- org.cdk8s.plus25.Namespaces
-
- All Implemented Interfaces:
INamespaceSelector,INetworkPolicyPeer,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.363Z") @Stability(Stable) public class Namespaces extends software.constructs.Construct implements INamespaceSelector, INetworkPolicyPeer
Represents a group of namespaces.
-
-
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.INamespaceSelector
INamespaceSelector.Jsii$Default, INamespaceSelector.Jsii$Proxy
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.INetworkPolicyPeer
INetworkPolicyPeer.Jsii$Default, INetworkPolicyPeer.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNamespaces(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)protectedNamespaces(software.amazon.jsii.JsiiObjectRef objRef)Namespaces(software.constructs.Construct scope, String id)Namespaces(software.constructs.Construct scope, String id, List<LabelExpression> expressions)Namespaces(software.constructs.Construct scope, String id, List<LabelExpression> expressions, List<String> names)Namespaces(software.constructs.Construct scope, String id, List<LabelExpression> expressions, List<String> names, Map<String,String> labels)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Namespacesall(software.constructs.Construct scope, String id)Select all namespaces.static Namespacesselect(software.constructs.Construct scope, String id, NamespacesSelectOptions options)Select specific namespaces.NamespaceSelectorConfigtoNamespaceSelectorConfig()Return the configuration of this selector.NetworkPolicyPeerConfigtoNetworkPolicyPeerConfig()Return the configuration of this peer.IPodSelectortoPodSelector()Convert the peer into a pod selector, if possible.-
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
-
-
-
Constructor Detail
-
Namespaces
protected Namespaces(software.amazon.jsii.JsiiObjectRef objRef)
-
Namespaces
protected Namespaces(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
-
Namespaces
@Stability(Stable) public Namespaces(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable List<LabelExpression> expressions, @Nullable List<String> names, @Nullable Map<String,String> labels)- Parameters:
scope- This parameter is required.id- This parameter is required.expressions-names-labels-
-
Namespaces
@Stability(Stable) public Namespaces(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable List<LabelExpression> expressions, @Nullable List<String> names)- Parameters:
scope- This parameter is required.id- This parameter is required.expressions-names-
-
Namespaces
@Stability(Stable) public Namespaces(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable List<LabelExpression> expressions)- Parameters:
scope- This parameter is required.id- This parameter is required.expressions-
-
Namespaces
@Stability(Stable) public Namespaces(@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 Namespaces all(@NotNull software.constructs.Construct scope, @NotNull String id)
Select all namespaces.- Parameters:
scope- This parameter is required.id- This parameter is required.
-
select
@Stability(Stable) @NotNull public static Namespaces select(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull NamespacesSelectOptions options)
Select specific namespaces.- Parameters:
scope- This parameter is required.id- This parameter is required.options- This parameter is required.
-
toNamespaceSelectorConfig
@Stability(Stable) @NotNull public NamespaceSelectorConfig toNamespaceSelectorConfig()
Return the configuration of this selector.- Specified by:
toNamespaceSelectorConfigin interfaceINamespaceSelector- See Also:
- INamespaceSelector.toNamespaceSelectorConfig()
-
toNetworkPolicyPeerConfig
@Stability(Stable) @NotNull public NetworkPolicyPeerConfig toNetworkPolicyPeerConfig()
Return the configuration of this peer.- Specified by:
toNetworkPolicyPeerConfigin interfaceINetworkPolicyPeer- See Also:
- INetworkPolicyPeer.toNetworkPolicyPeerConfig()
-
toPodSelector
@Stability(Stable) @Nullable public IPodSelector toPodSelector()
Convert the peer into a pod selector, if possible.- Specified by:
toPodSelectorin interfaceINetworkPolicyPeer- See Also:
- INetworkPolicyPeer.toPodSelector()
-
-