Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace CreateVolumeMountDetails

Defines the mapping from volume to a mount path in a container.

Properties

Optional isReadOnly

isReadOnly: undefined | false | true

Whether the volume was mounted in read-only mode. By default, the volume is not read-only.

mountPath

mountPath: string

The volume access path.

Optional partition

partition: undefined | number

If there is more than one partition in the volume, reference this number of partitions. Here is an example: Number Start End Size File system Name Flags 1 1049kB 106MB 105MB fat16 EFI System Partition boot, esp 2 106MB 1180MB 1074MB xfs 3 1180MB 50.0GB 48.8GB lvm Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional subPath

subPath: undefined | string

A subpath inside the referenced volume.

volumeName

volumeName: string

The name of the volume. Avoid entering confidential information.

Functions

getDeserializedJsonObj

getJsonObj