Class NodeSelectorRequirement

    • Constructor Detail

      • NodeSelectorRequirement

        public NodeSelectorRequirement()
        No args constructor for use in serialization
      • NodeSelectorRequirement

        public NodeSelectorRequirement​(String key,
                                       String operator,
                                       List<String> values)
    • Method Detail

      • getKey

        public String getKey()
        The label key that the selector applies to.
      • setKey

        public void setKey​(String key)
        The label key that the selector applies to.
      • getOperator

        public String getOperator()
        Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
      • setOperator

        public void setOperator​(String operator)
        Represents a key's relationship to a set of values. Valid operators are In, NotIn, Exists, DoesNotExist. Gt, and Lt.
      • getValues

        public List<String> getValues()
        An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
      • setValues

        public void setValues​(List<String> values)
        An array of string values. If the operator is In or NotIn, the values array must be non-empty. If the operator is Exists or DoesNotExist, the values array must be empty. If the operator is Gt or Lt, the values array must have a single element, which will be interpreted as an integer. This array is replaced during a strategic merge patch.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)