Package io.kubernetes.client.proto
Interface V1.AffinityOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.Affinity
,V1.Affinity.Builder
- Enclosing class:
- V1
public static interface V1.AffinityOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDescribes node affinity scheduling rules for the pod.Describes node affinity scheduling rules for the pod.Describes pod affinity scheduling rules (e.g.Describes pod affinity scheduling rules (e.g.Describes pod anti-affinity scheduling rules (e.g.Describes pod anti-affinity scheduling rules (e.g.boolean
Describes node affinity scheduling rules for the pod.boolean
Describes pod affinity scheduling rules (e.g.boolean
Describes pod anti-affinity scheduling rules (e.g.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasNodeAffinity
boolean hasNodeAffinity()Describes node affinity scheduling rules for the pod. +optional
optional .k8s.io.api.core.v1.NodeAffinity nodeAffinity = 1;
-
getNodeAffinity
V1.NodeAffinity getNodeAffinity()Describes node affinity scheduling rules for the pod. +optional
optional .k8s.io.api.core.v1.NodeAffinity nodeAffinity = 1;
-
getNodeAffinityOrBuilder
V1.NodeAffinityOrBuilder getNodeAffinityOrBuilder()Describes node affinity scheduling rules for the pod. +optional
optional .k8s.io.api.core.v1.NodeAffinity nodeAffinity = 1;
-
hasPodAffinity
boolean hasPodAffinity()Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). +optional
optional .k8s.io.api.core.v1.PodAffinity podAffinity = 2;
-
getPodAffinity
V1.PodAffinity getPodAffinity()Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). +optional
optional .k8s.io.api.core.v1.PodAffinity podAffinity = 2;
-
getPodAffinityOrBuilder
V1.PodAffinityOrBuilder getPodAffinityOrBuilder()Describes pod affinity scheduling rules (e.g. co-locate this pod in the same node, zone, etc. as some other pod(s)). +optional
optional .k8s.io.api.core.v1.PodAffinity podAffinity = 2;
-
hasPodAntiAffinity
boolean hasPodAntiAffinity()Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). +optional
optional .k8s.io.api.core.v1.PodAntiAffinity podAntiAffinity = 3;
-
getPodAntiAffinity
V1.PodAntiAffinity getPodAntiAffinity()Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). +optional
optional .k8s.io.api.core.v1.PodAntiAffinity podAntiAffinity = 3;
-
getPodAntiAffinityOrBuilder
V1.PodAntiAffinityOrBuilder getPodAntiAffinityOrBuilder()Describes pod anti-affinity scheduling rules (e.g. avoid putting this pod in the same node, zone, etc. as some other pod(s)). +optional
optional .k8s.io.api.core.v1.PodAntiAffinity podAntiAffinity = 3;
-