@Generated(value="jsii-pacmak/1.24.0 (build b722f66)", date="2021-03-11T13:47:08.098Z") @Stability(value=Stable) public interface Selector extends software.amazon.jsii.JsiiSerializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
Selector.Builder
A builder for
Selector |
static class |
Selector.Jsii$Proxy
An implementation for
Selector |
| Modifier and Type | Method and Description |
|---|---|
static Selector.Builder |
builder() |
default Map<String,String> |
getLabels()
The Kubernetes labels that the selector should match.
|
String |
getNamespace()
The Kubernetes namespace that the selector should match.
|
@Stability(value=Stable) @NotNull String getNamespace()
You must specify a namespace for a selector. The selector only matches pods that are created in this namespace, but you can create multiple selectors to target multiple namespaces.
@Stability(value=Stable) @Nullable default Map<String,String> getLabels()
A pod must contain all of the labels that are specified in the selector for it to be considered a match.
Default: - all pods within the namespace will be selected.
@Stability(value=Stable) static Selector.Builder builder()
Selector.Builder of SelectorCopyright © 2021. All rights reserved.