VolumeMount constructor

const VolumeMount({
  1. required Input<String> mountPath,
  2. required Input<String> name,
  3. Input<bool>? readOnly,
  4. Input<String>? subPath,
})

Creates a new VolumeMount. mountPath Path within the container at which the volume should be mounted. Must not contain ':'. name The name of the volume. There must be a corresponding Volume with the same name. readOnly Sets the mount to be read-only or read-write. Not used by Cloud Run. subPath Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).

Implementation

const VolumeMount({
  required this.mountPath,
  required this.name,
  this.readOnly,
  this.subPath,
});