Class 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 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.
      • getAdditionalProperties

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

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

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