Package org.cdk8s.plus24
Interface PodSelectorConfig
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
PodSelectorConfig.Jsii$Proxy
@Generated(value="jsii-pacmak/1.76.0 (build a2651be)", date="2023-03-03T03:12:10.297Z") @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 class
PodSelectorConfig.Builder
A builder forPodSelectorConfig
static class
PodSelectorConfig.Jsii$Proxy
An implementation forPodSelectorConfig
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description static PodSelectorConfig.Builder
builder()
LabelSelector
getLabelSelector()
A selector to select pods by labels.default NamespaceSelectorConfig
getNamespaces()
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.Builder
ofPodSelectorConfig
-
-