Skip to content

HostPath

Structure Class

HostPath dataclass

Bases: _SerdeShape

Represents a pre-existing file or directory on the host machine that the volume maps to.

Attributes

path class-attribute instance-attribute
path: str | None = ...

Path of the file or directory on the host that the volume maps to.