Package io.fabric8.openshift.api.model
Class BuildVolume
- java.lang.Object
-
- io.fabric8.openshift.api.model.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
-
-
Constructor Summary
Constructors Constructor Description BuildVolume()No args constructor for use in serializationBuildVolume(List<BuildVolumeMount> mounts, String name, BuildVolumeSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildVolumeBuilderedit()Map<String,Object>getAdditionalProperties()List<BuildVolumeMount>getMounts()mounts represents the location of the volume in the image build containerStringgetName()name is a unique identifier for this BuildVolume.BuildVolumeSourcegetSource()BuildVolume describes a volume that is made available to build pods, such that it can be mounted into buildah's runtime environment.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMounts(List<BuildVolumeMount> mounts)mounts represents the location of the volume in the image build containervoidsetName(String name)name is a unique identifier for this BuildVolume.voidsetSource(BuildVolumeSource source)BuildVolume describes a volume that is made available to build pods, such that it can be mounted into buildah's runtime environment.BuildVolumeBuildertoBuilder()
-
-
-
Constructor Detail
-
BuildVolume
public BuildVolume()
No args constructor for use in serialization
-
BuildVolume
public BuildVolume(List<BuildVolumeMount> mounts, String name, BuildVolumeSource source)
-
-
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.
-
edit
public BuildVolumeBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BuildVolumeBuilder>
-
toBuilder
public BuildVolumeBuilder toBuilder()
-
-