@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:18.599Z") @Stability(value=Experimental) 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()
(experimental) The Kubernetes labels that the selector should match.
|
String |
getNamespace()
(experimental) The Kubernetes namespace that the selector should match.
|
@Stability(value=Experimental) @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=Experimental) @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=Experimental) static Selector.Builder builder()
Selector.Builder of SelectorCopyright © 2021. All rights reserved.