Class BuildVolume

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class BuildVolume
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<BuildVolumeBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    BuildVolume describes a volume that is made available to build pods, such that it can be mounted into buildah's runtime environment. Only a subset of Kubernetes Volume sources are supported.
    See Also:
    Serialized Form
    • Method Detail

      • getMounts

        public List<BuildVolumeMount> getMounts()
        mounts represents the location of the volume in the image build container
      • setMounts

        public void setMounts​(List<BuildVolumeMount> mounts)
        mounts represents the location of the volume in the image build container
      • getName

        public String getName()
        name is a unique identifier for this BuildVolume. It must conform to the Kubernetes DNS label standard and be unique within the pod. Names that collide with those added by the build controller will result in a failed build with an error message detailing which name caused the error. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
      • setName

        public void setName​(String name)
        name is a unique identifier for this BuildVolume. It must conform to the Kubernetes DNS label standard and be unique within the pod. Names that collide with those added by the build controller will result in a failed build with an error message detailing which name caused the error. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
      • getSource

        public BuildVolumeSource getSource()
        BuildVolume describes a volume that is made available to build pods, such that it can be mounted into buildah's runtime environment. Only a subset of Kubernetes Volume sources are supported.
      • setSource

        public void setSource​(BuildVolumeSource source)
        BuildVolume describes a volume that is made available to build pods, such that it can be mounted into buildah's runtime environment. Only a subset of Kubernetes Volume sources are supported.
      • getAdditionalProperties

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

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

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