Class DeviceTaint

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class DeviceTaint
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<DeviceTaintBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
    See Also:
    Serialized Form
    • Constructor Detail

      • DeviceTaint

        public DeviceTaint()
        No args constructor for use in serialization
    • Method Detail

      • getEffect

        public String getEffect()
        The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
      • setEffect

        public void setEffect​(String effect)
        The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
      • getKey

        public String getKey()
        The taint key to be applied to a device. Must be a label name.
      • setKey

        public void setKey​(String key)
        The taint key to be applied to a device. Must be a label name.
      • getTimeAdded

        public String getTimeAdded()
        The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
      • setTimeAdded

        public void setTimeAdded​(String timeAdded)
        The device this taint is attached to has the "effect" on any claim which does not tolerate the taint and, through the claim, to pods using the claim.
      • getValue

        public String getValue()
        The taint value corresponding to the taint key. Must be a label value.
      • setValue

        public void setValue​(String value)
        The taint value corresponding to the taint key. Must be a label value.
      • getAdditionalProperties

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

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

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