Package org.cdk8s.plus25.k8s
Interface NodeSelectorTerm
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
NodeSelectorTerm.Jsii$Proxy
@Generated(value="jsii-pacmak/1.88.0 (build eaabd08)", date="2023-09-11T06:17:58.752Z") @Stability(Stable) public interface NodeSelectorTerm extends software.amazon.jsii.JsiiSerializable
A null or empty node selector term matches no objects.The requirements of them are ANDed. The TopologySelectorTerm type implements a subset of the NodeSelectorTerm.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classNodeSelectorTerm.BuilderA builder forNodeSelectorTermstatic classNodeSelectorTerm.Jsii$ProxyAn implementation forNodeSelectorTerm
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static NodeSelectorTerm.Builderbuilder()default List<NodeSelectorRequirement>getMatchExpressions()A list of node selector requirements by node's labels.default List<NodeSelectorRequirement>getMatchFields()A list of node selector requirements by node's fields.
-
-
-
Method Detail
-
getMatchExpressions
@Stability(Stable) @Nullable default List<NodeSelectorRequirement> getMatchExpressions()
A list of node selector requirements by node's labels.
-
getMatchFields
@Stability(Stable) @Nullable default List<NodeSelectorRequirement> getMatchFields()
A list of node selector requirements by node's fields.
-
builder
@Stability(Stable) static NodeSelectorTerm.Builder builder()
- Returns:
- a
NodeSelectorTerm.BuilderofNodeSelectorTerm
-
-