public static interface V1.TolerationOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getEffect()
Effect indicates the taint effect to match.
|
com.google.protobuf.ByteString |
getEffectBytes()
Effect indicates the taint effect to match.
|
String |
getKey()
Key is the taint key that the toleration applies to.
|
com.google.protobuf.ByteString |
getKeyBytes()
Key is the taint key that the toleration applies to.
|
String |
getOperator()
Operator represents a key's relationship to the value.
|
com.google.protobuf.ByteString |
getOperatorBytes()
Operator represents a key's relationship to the value.
|
long |
getTolerationSeconds()
TolerationSeconds represents the period of time the toleration (which must be
of effect NoExecute, otherwise this field is ignored) tolerates the taint.
|
String |
getValue()
Value is the taint value the toleration matches to.
|
com.google.protobuf.ByteString |
getValueBytes()
Value is the taint value the toleration matches to.
|
boolean |
hasEffect()
Effect indicates the taint effect to match.
|
boolean |
hasKey()
Key is the taint key that the toleration applies to.
|
boolean |
hasOperator()
Operator represents a key's relationship to the value.
|
boolean |
hasTolerationSeconds()
TolerationSeconds represents the period of time the toleration (which must be
of effect NoExecute, otherwise this field is ignored) tolerates the taint.
|
boolean |
hasValue()
Value is the taint value the toleration matches to.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasKey()
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. +optional
optional string key = 1;String getKey()
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. +optional
optional string key = 1;com.google.protobuf.ByteString getKeyBytes()
Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists; this combination means to match all values and all keys. +optional
optional string key = 1;boolean hasOperator()
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. +optional
optional string operator = 2;String getOperator()
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. +optional
optional string operator = 2;com.google.protobuf.ByteString getOperatorBytes()
Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal. Exists is equivalent to wildcard for value, so that a pod can tolerate all taints of a particular category. +optional
optional string operator = 2;boolean hasValue()
Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. +optional
optional string value = 3;String getValue()
Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. +optional
optional string value = 3;com.google.protobuf.ByteString getValueBytes()
Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string. +optional
optional string value = 3;boolean hasEffect()
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. +optional
optional string effect = 4;String getEffect()
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. +optional
optional string effect = 4;com.google.protobuf.ByteString getEffectBytes()
Effect indicates the taint effect to match. Empty means match all taint effects. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute. +optional
optional string effect = 4;boolean hasTolerationSeconds()
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. +optional
optional int64 tolerationSeconds = 5;long getTolerationSeconds()
TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system. +optional
optional int64 tolerationSeconds = 5;Copyright © 2019. All rights reserved.