Package k8s.io.api.core.v1
Interface Generated.NodeSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.NodeSpec,Generated.NodeSpec.Builder
- Enclosing class:
- Generated
public static interface Generated.NodeSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Generated.NodeConfigSourcegetConfigSource()Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.Generated.NodeConfigSourceOrBuildergetConfigSourceOrBuilder()Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.StringgetExternalID()Deprecated.com.google.protobuf.ByteStringgetExternalIDBytes()Deprecated.StringgetPodCIDR()PodCIDR represents the pod IP range assigned to the node.com.google.protobuf.ByteStringgetPodCIDRBytes()PodCIDR represents the pod IP range assigned to the node.StringgetPodCIDRs(int index)podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.com.google.protobuf.ByteStringgetPodCIDRsBytes(int index)podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.intgetPodCIDRsCount()podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.List<String>getPodCIDRsList()podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node.StringgetProviderID()ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optionalcom.google.protobuf.ByteStringgetProviderIDBytes()ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optionalGenerated.TaintgetTaints(int index)If specified, the node's taints.intgetTaintsCount()If specified, the node's taints.List<Generated.Taint>getTaintsList()If specified, the node's taints.Generated.TaintOrBuildergetTaintsOrBuilder(int index)If specified, the node's taints.List<? extends Generated.TaintOrBuilder>getTaintsOrBuilderList()If specified, the node's taints.booleangetUnschedulable()Unschedulable controls node schedulability of new pods.booleanhasConfigSource()Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature.booleanhasExternalID()Deprecated.booleanhasPodCIDR()PodCIDR represents the pod IP range assigned to the node.booleanhasProviderID()ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optionalbooleanhasUnschedulable()Unschedulable controls node schedulability of new pods.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPodCIDR
boolean hasPodCIDR()
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;- Returns:
- Whether the podCIDR field is set.
-
getPodCIDR
String getPodCIDR()
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;- Returns:
- The podCIDR.
-
getPodCIDRBytes
com.google.protobuf.ByteString getPodCIDRBytes()
PodCIDR represents the pod IP range assigned to the node. +optional
optional string podCIDR = 1;- Returns:
- The bytes for podCIDR.
-
getPodCIDRsList
List<String> getPodCIDRsList()
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6. +optional +patchStrategy=merge +listType=set
repeated string podCIDRs = 7;- Returns:
- A list containing the podCIDRs.
-
getPodCIDRsCount
int getPodCIDRsCount()
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6. +optional +patchStrategy=merge +listType=set
repeated string podCIDRs = 7;- Returns:
- The count of podCIDRs.
-
getPodCIDRs
String getPodCIDRs(int index)
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6. +optional +patchStrategy=merge +listType=set
repeated string podCIDRs = 7;- Parameters:
index- The index of the element to return.- Returns:
- The podCIDRs at the given index.
-
getPodCIDRsBytes
com.google.protobuf.ByteString getPodCIDRsBytes(int index)
podCIDRs represents the IP ranges assigned to the node for usage by Pods on that node. If this field is specified, the 0th entry must match the podCIDR field. It may contain at most 1 value for each of IPv4 and IPv6. +optional +patchStrategy=merge +listType=set
repeated string podCIDRs = 7;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the podCIDRs at the given index.
-
hasProviderID
boolean hasProviderID()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;- Returns:
- Whether the providerID field is set.
-
getProviderID
String getProviderID()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;- Returns:
- The providerID.
-
getProviderIDBytes
com.google.protobuf.ByteString getProviderIDBytes()
ID of the node assigned by the cloud provider in the format: <ProviderName>://<ProviderSpecificNodeID> +optional
optional string providerID = 3;- Returns:
- The bytes for providerID.
-
hasUnschedulable
boolean hasUnschedulable()
Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration +optional
optional bool unschedulable = 4;- Returns:
- Whether the unschedulable field is set.
-
getUnschedulable
boolean getUnschedulable()
Unschedulable controls node schedulability of new pods. By default, node is schedulable. More info: https://kubernetes.io/docs/concepts/nodes/node/#manual-node-administration +optional
optional bool unschedulable = 4;- Returns:
- The unschedulable.
-
getTaintsList
List<Generated.Taint> getTaintsList()
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
getTaints
Generated.Taint getTaints(int index)
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
getTaintsCount
int getTaintsCount()
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
getTaintsOrBuilderList
List<? extends Generated.TaintOrBuilder> getTaintsOrBuilderList()
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
getTaintsOrBuilder
Generated.TaintOrBuilder getTaintsOrBuilder(int index)
If specified, the node's taints. +optional +listType=atomic
repeated .k8s.io.api.core.v1.Taint taints = 5;
-
hasConfigSource
boolean hasConfigSource()
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed. +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;- Returns:
- Whether the configSource field is set.
-
getConfigSource
Generated.NodeConfigSource getConfigSource()
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed. +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;- Returns:
- The configSource.
-
getConfigSourceOrBuilder
Generated.NodeConfigSourceOrBuilder getConfigSourceOrBuilder()
Deprecated: Previously used to specify the source of the node's configuration for the DynamicKubeletConfig feature. This feature is removed. +optional
optional .k8s.io.api.core.v1.NodeConfigSource configSource = 6;
-
hasExternalID
boolean hasExternalID()
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 +optional
optional string externalID = 2;- Returns:
- Whether the externalID field is set.
-
getExternalID
String getExternalID()
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 +optional
optional string externalID = 2;- Returns:
- The externalID.
-
getExternalIDBytes
com.google.protobuf.ByteString getExternalIDBytes()
Deprecated. Not all kubelets will set this field. Remove field after 1.13. see: https://issues.k8s.io/61966 +optional
optional string externalID = 2;- Returns:
- The bytes for externalID.
-
-