Interface Generated.ReplicationControllerSpecOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsSelector​(String key)
      Selector is a label query over pods that should match the Replicas count.
      int getMinReadySeconds()
      Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available.
      int getReplicas()
      Replicas is the number of desired replicas.
      Map<String,​String> getSelector()
      Deprecated.
      int getSelectorCount()
      Selector is a label query over pods that should match the Replicas count.
      Map<String,​String> getSelectorMap()
      Selector is a label query over pods that should match the Replicas count.
      String getSelectorOrDefault​(String key, String defaultValue)
      Selector is a label query over pods that should match the Replicas count.
      String getSelectorOrThrow​(String key)
      Selector is a label query over pods that should match the Replicas count.
      Generated.PodTemplateSpec getTemplate()
      Template is the object that describes the pod that will be created if insufficient replicas are detected.
      Generated.PodTemplateSpecOrBuilder getTemplateOrBuilder()
      Template is the object that describes the pod that will be created if insufficient replicas are detected.
      boolean hasMinReadySeconds()
      Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available.
      boolean hasReplicas()
      Replicas is the number of desired replicas.
      boolean hasTemplate()
      Template is the object that describes the pod that will be created if insufficient replicas are detected.
      • 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 Detail

      • hasReplicas

        boolean hasReplicas()
         Replicas is the number of desired replicas.
         This is a pointer to distinguish between explicit zero and unspecified.
         Defaults to 1.
         More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
         +optional
         
        optional int32 replicas = 1;
        Returns:
        Whether the replicas field is set.
      • getReplicas

        int getReplicas()
         Replicas is the number of desired replicas.
         This is a pointer to distinguish between explicit zero and unspecified.
         Defaults to 1.
         More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#what-is-a-replicationcontroller
         +optional
         
        optional int32 replicas = 1;
        Returns:
        The replicas.
      • hasMinReadySeconds

        boolean hasMinReadySeconds()
         Minimum number of seconds for which a newly created pod should be ready
         without any of its container crashing, for it to be considered available.
         Defaults to 0 (pod will be considered available as soon as it is ready)
         +optional
         
        optional int32 minReadySeconds = 4;
        Returns:
        Whether the minReadySeconds field is set.
      • getMinReadySeconds

        int getMinReadySeconds()
         Minimum number of seconds for which a newly created pod should be ready
         without any of its container crashing, for it to be considered available.
         Defaults to 0 (pod will be considered available as soon as it is ready)
         +optional
         
        optional int32 minReadySeconds = 4;
        Returns:
        The minReadySeconds.
      • getSelectorCount

        int getSelectorCount()
         Selector is a label query over pods that should match the Replicas count.
         If Selector is empty, it is defaulted to the labels present on the Pod template.
         Label keys and values that must match in order to be controlled by this replication
         controller, if empty defaulted to labels on Pod template.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
         +optional
         +mapType=atomic
         
        map<string, string> selector = 2;
      • containsSelector

        boolean containsSelector​(String key)
         Selector is a label query over pods that should match the Replicas count.
         If Selector is empty, it is defaulted to the labels present on the Pod template.
         Label keys and values that must match in order to be controlled by this replication
         controller, if empty defaulted to labels on Pod template.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
         +optional
         +mapType=atomic
         
        map<string, string> selector = 2;
      • getSelectorMap

        Map<String,​String> getSelectorMap()
         Selector is a label query over pods that should match the Replicas count.
         If Selector is empty, it is defaulted to the labels present on the Pod template.
         Label keys and values that must match in order to be controlled by this replication
         controller, if empty defaulted to labels on Pod template.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
         +optional
         +mapType=atomic
         
        map<string, string> selector = 2;
      • getSelectorOrDefault

        String getSelectorOrDefault​(String key,
                                    String defaultValue)
         Selector is a label query over pods that should match the Replicas count.
         If Selector is empty, it is defaulted to the labels present on the Pod template.
         Label keys and values that must match in order to be controlled by this replication
         controller, if empty defaulted to labels on Pod template.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
         +optional
         +mapType=atomic
         
        map<string, string> selector = 2;
      • getSelectorOrThrow

        String getSelectorOrThrow​(String key)
         Selector is a label query over pods that should match the Replicas count.
         If Selector is empty, it is defaulted to the labels present on the Pod template.
         Label keys and values that must match in order to be controlled by this replication
         controller, if empty defaulted to labels on Pod template.
         More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
         +optional
         +mapType=atomic
         
        map<string, string> selector = 2;
      • hasTemplate

        boolean hasTemplate()
         Template is the object that describes the pod that will be created if
         insufficient replicas are detected. This takes precedence over a TemplateRef.
         The only allowed template.spec.restartPolicy value is "Always".
         More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
         +optional
         
        optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
        Returns:
        Whether the template field is set.
      • getTemplate

        Generated.PodTemplateSpec getTemplate()
         Template is the object that describes the pod that will be created if
         insufficient replicas are detected. This takes precedence over a TemplateRef.
         The only allowed template.spec.restartPolicy value is "Always".
         More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
         +optional
         
        optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;
        Returns:
        The template.
      • getTemplateOrBuilder

        Generated.PodTemplateSpecOrBuilder getTemplateOrBuilder()
         Template is the object that describes the pod that will be created if
         insufficient replicas are detected. This takes precedence over a TemplateRef.
         The only allowed template.spec.restartPolicy value is "Always".
         More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
         +optional
         
        optional .k8s.io.api.core.v1.PodTemplateSpec template = 3;