Class LabelSelector

    • Method Detail

      • getMatchExpressions

        public List<LabelSelectorRequirement> getMatchExpressions()
        matchExpressions is a list of label selector requirements. The requirements are ANDed.
      • setMatchExpressions

        public void setMatchExpressions​(List<LabelSelectorRequirement> matchExpressions)
        matchExpressions is a list of label selector requirements. The requirements are ANDed.
      • getMatchLabels

        public Map<String,​String> getMatchLabels()
        matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
      • setMatchLabels

        public void setMatchLabels​(Map<String,​String> matchLabels)
        matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is "key", the operator is "In", and the values array contains only "value". The requirements are ANDed.
      • getAdditionalProperties

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

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

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