@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-01-04T09:55:14.976Z[Etc/UTC]") public class V1alpha1Scheduling extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERIALIZED_NAME_NODE_SELECTOR |
static String |
SERIALIZED_NAME_TOLERATIONS |
Constructor and Description |
---|
V1alpha1Scheduling() |
Modifier and Type | Method and Description |
---|---|
V1alpha1Scheduling |
addTolerationsItem(V1Toleration tolerationsItem) |
boolean |
equals(Object o) |
Map<String,String> |
getNodeSelector()
nodeSelector lists labels that must be present on nodes that support this RuntimeClass.
|
List<V1Toleration> |
getTolerations()
tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during
admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass.
|
int |
hashCode() |
V1alpha1Scheduling |
nodeSelector(Map<String,String> nodeSelector) |
V1alpha1Scheduling |
putNodeSelectorItem(String key,
String nodeSelectorItem) |
void |
setNodeSelector(Map<String,String> nodeSelector) |
void |
setTolerations(List<V1Toleration> tolerations) |
V1alpha1Scheduling |
tolerations(List<V1Toleration> tolerations) |
String |
toString() |
public static final String SERIALIZED_NAME_NODE_SELECTOR
public static final String SERIALIZED_NAME_TOLERATIONS
public V1alpha1Scheduling nodeSelector(Map<String,String> nodeSelector)
public V1alpha1Scheduling putNodeSelectorItem(String key, String nodeSelectorItem)
@Nullable public Map<String,String> getNodeSelector()
public V1alpha1Scheduling tolerations(List<V1Toleration> tolerations)
public V1alpha1Scheduling addTolerationsItem(V1Toleration tolerationsItem)
@Nullable public List<V1Toleration> getTolerations()
public void setTolerations(List<V1Toleration> tolerations)
Copyright © 2021. All rights reserved.