ContainerMountPoint class

A mount point attached to the container (as declared in HostConfig.Mounts).

Constructors

ContainerMountPoint({String? type, String? source, String? target, bool? readOnly, String? consistency, ContainerBindOptions? bindOptions, ContainerVolumeOptions? volumeOptions, ContainerImageOptions? imageOptions, ContainerTmpfsOptions? tmpfsOptions})
Creates a ContainerMountPoint with the given fields.
const
ContainerMountPoint.fromJson(Map<String, dynamic> json)
Deserialises from Docker's JSON representation.
factory

Properties

bindOptions ContainerBindOptions?
Bind-mount-specific options. Present only when type is 'bind'.
final
consistency String?
Consistency requirement: 'default', 'consistent', 'cached', or 'delegated'.
final
hashCode int
The hash code for this object.
no setterinherited
imageOptions ContainerImageOptions?
Image-mount-specific options. Present only when type is 'image'.
final
readOnly bool?
Whether the mount is read-only.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String?
Source path on the host (for bind mounts) or volume name.
final
target String?
Target path inside the container.
final
tmpfsOptions ContainerTmpfsOptions?
Tmpfs-mount-specific options. Present only when type is 'tmpfs'.
final
type String?
Mount type: 'bind', 'volume', 'tmpfs', or 'image'.
final
volumeOptions ContainerVolumeOptions?
Volume-mount-specific options. Present only when type is 'volume'.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited