Class BuildDefaults

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

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

      • BuildDefaults

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

        public BuildDefaults​(ProxySpec defaultProxy,
                             List<io.fabric8.kubernetes.api.model.EnvVar> env,
                             ProxySpec gitProxy,
                             List<ImageLabel> imageLabels,
                             io.fabric8.kubernetes.api.model.ResourceRequirements resources)
    • Method Detail

      • getDefaultProxy

        public ProxySpec getDefaultProxy()
      • setDefaultProxy

        public void setDefaultProxy​(ProxySpec defaultProxy)
      • getEnv

        public List<io.fabric8.kubernetes.api.model.EnvVar> getEnv()
        env is a set of default environment variables that will be applied to the build if the specified variables do not exist on the build
      • setEnv

        public void setEnv​(List<io.fabric8.kubernetes.api.model.EnvVar> env)
        env is a set of default environment variables that will be applied to the build if the specified variables do not exist on the build
      • getGitProxy

        public ProxySpec getGitProxy()
      • setGitProxy

        public void setGitProxy​(ProxySpec gitProxy)
      • getImageLabels

        public List<ImageLabel> getImageLabels()
        imageLabels is a list of docker labels that are applied to the resulting image. User can override a default label by providing a label with the same name in their Build/BuildConfig.
      • setImageLabels

        public void setImageLabels​(List<ImageLabel> imageLabels)
        imageLabels is a list of docker labels that are applied to the resulting image. User can override a default label by providing a label with the same name in their Build/BuildConfig.
      • getResources

        public io.fabric8.kubernetes.api.model.ResourceRequirements getResources()
      • setResources

        public void setResources​(io.fabric8.kubernetes.api.model.ResourceRequirements resources)
      • getAdditionalProperties

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

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

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