Class BuildOverrides

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class BuildOverrides
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<BuildOverridesBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    See Also:
    Serialized Form
    • Constructor Detail

      • BuildOverrides

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

      • getForcePull

        public Boolean getForcePull()
        forcePull overrides, if set, the equivalent value in the builds, i.e. false disables force pull for all builds, true enables force pull for all builds, independently of what each build specifies itself
      • setForcePull

        public void setForcePull​(Boolean forcePull)
        forcePull overrides, if set, the equivalent value in the builds, i.e. false disables force pull for all builds, true enables force pull for all builds, independently of what each build specifies itself
      • getImageLabels

        public List<ImageLabel> getImageLabels()
        imageLabels is a list of docker labels that are applied to the resulting image. If user provided a label in their Build/BuildConfig with the same name as one in this list, the user's label will be overwritten.
      • setImageLabels

        public void setImageLabels​(List<ImageLabel> imageLabels)
        imageLabels is a list of docker labels that are applied to the resulting image. If user provided a label in their Build/BuildConfig with the same name as one in this list, the user's label will be overwritten.
      • getNodeSelector

        public Map<String,​String> getNodeSelector()
        nodeSelector is a selector which must be true for the build pod to fit on a node
      • setNodeSelector

        public void setNodeSelector​(Map<String,​String> nodeSelector)
        nodeSelector is a selector which must be true for the build pod to fit on a node
      • getTolerations

        public List<io.fabric8.kubernetes.api.model.Toleration> getTolerations()
        tolerations is a list of Tolerations that will override any existing tolerations set on a build pod.
      • setTolerations

        public void setTolerations​(List<io.fabric8.kubernetes.api.model.Toleration> tolerations)
        tolerations is a list of Tolerations that will override any existing tolerations set on a build pod.
      • getAdditionalProperties

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

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

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