Skip to content

MountPoint

Source code in docs_src/capo_batch/types/mount_point.py
class MountPoint(TypedDict, closed=True):
    container_path: NotRequired["capo_batch.types.string.String"]
    """<p>The path on the container where the host volume is mounted.</p>"""
    read_only: NotRequired["capo_batch.types.boolean.Boolean"]
    """<p>If this value is <code>true</code>, the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is <code>false</code>.</p>"""
    source_volume: NotRequired["capo_batch.types.string.String"]
    """<p>The name of the volume to mount.</p>"""

container_path instance-attribute

container_path: NotRequired[String]

The path on the container where the host volume is mounted.

read_only instance-attribute

read_only: NotRequired[Boolean]

If this value is true, the container has read-only access to the volume. Otherwise, the container can write to the volume. The default value is false.

source_volume instance-attribute

source_volume: NotRequired[String]

The name of the volume to mount.