Package io.fabric8.openshift.api.model
Class BuildVolumeMount
- java.lang.Object
-
- io.fabric8.openshift.api.model.BuildVolumeMount
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<BuildVolumeMountBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class BuildVolumeMount extends Object implements io.fabric8.kubernetes.api.builder.Editable<BuildVolumeMountBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
BuildVolumeMount describes the mounting of a Volume within buildah's runtime environment.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BuildVolumeMount()No args constructor for use in serializationBuildVolumeMount(String destinationPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildVolumeMountBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDestinationPath()destinationPath is the path within the buildah runtime environment at which the volume should be mounted.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDestinationPath(String destinationPath)destinationPath is the path within the buildah runtime environment at which the volume should be mounted.BuildVolumeMountBuildertoBuilder()
-
-
-
Constructor Detail
-
BuildVolumeMount
public BuildVolumeMount()
No args constructor for use in serialization
-
BuildVolumeMount
public BuildVolumeMount(String destinationPath)
-
-
Method Detail
-
getDestinationPath
public String getDestinationPath()
destinationPath is the path within the buildah runtime environment at which the volume should be mounted. The transient mount within the build image and the backing volume will both be mounted read only. Must be an absolute path, must not contain '..' or ':', and must not collide with a destination path generated by the builder process Paths that collide with those added by the build controller will result in a failed build with an error message detailing which path caused the error.
-
setDestinationPath
public void setDestinationPath(String destinationPath)
destinationPath is the path within the buildah runtime environment at which the volume should be mounted. The transient mount within the build image and the backing volume will both be mounted read only. Must be an absolute path, must not contain '..' or ':', and must not collide with a destination path generated by the builder process Paths that collide with those added by the build controller will result in a failed build with an error message detailing which path caused the error.
-
edit
public BuildVolumeMountBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BuildVolumeMountBuilder>
-
toBuilder
public BuildVolumeMountBuilder toBuilder()
-
-