Class HostSelector

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<HostSelectorBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class HostSelector
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<HostSelectorBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    HostSelector specifies matching criteria for labels on BareMetalHosts. This is used to limit the set of BareMetalHost objects considered for claiming for a Machine.
    See Also:
    Serialized Form
    • Method Detail

      • getMatchExpressions

        public List<HostSelectorRequirement> getMatchExpressions()
        Label match expressions that must be true on a chosen BareMetalHost
      • setMatchExpressions

        public void setMatchExpressions​(List<HostSelectorRequirement> matchExpressions)
        Label match expressions that must be true on a chosen BareMetalHost
      • getMatchLabels

        public Map<String,​String> getMatchLabels()
        Key/value pairs of labels that must exist on a chosen BareMetalHost
      • setMatchLabels

        public void setMatchLabels​(Map<String,​String> matchLabels)
        Key/value pairs of labels that must exist on a chosen BareMetalHost
      • getAdditionalProperties

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

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

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