Package org.cdk8s.plus25
Interface PodSelectorConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PodSelectorConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.401Z") @Stability(Stable) public interface PodSelectorConfig extends software.amazon.jsii.JsiiSerializable
Configuration for selecting pods, optionally in particular namespaces.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPodSelectorConfig.BuilderA builder forPodSelectorConfigstatic classPodSelectorConfig.Jsii$ProxyAn implementation forPodSelectorConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static PodSelectorConfig.Builderbuilder()LabelSelectorgetLabelSelector()A selector to select pods by labels.default NamespaceSelectorConfiggetNamespaces()Configuration for selecting which namepsaces are the pods allowed to be in.
-
-
-
Method Detail
-
getLabelSelector
@Stability(Stable) @NotNull LabelSelector getLabelSelector()
A selector to select pods by labels.
-
getNamespaces
@Stability(Stable) @Nullable default NamespaceSelectorConfig getNamespaces()
Configuration for selecting which namepsaces are the pods allowed to be in.
-
builder
@Stability(Stable) static PodSelectorConfig.Builder builder()
- Returns:
- a
PodSelectorConfig.BuilderofPodSelectorConfig
-
-