package
0.0.0-20240818021530-f5e744f7964a
Repository: https://github.com/kaisenlinux/docker.io.git
Documentation: pkg.go.dev
# Constants
AvailabilityActive indicates that the volume is active and fully schedulable on the cluster.
AvailabilityDrain indicates that all workloads using this volume should be rescheduled, and the volume unpublished from all nodes.
AvailabilityPause indicates that no new workloads should use the volume, but existing workloads can continue to use it.
ScopeMultiNode indicates the volume can be used on many nodes at the same time.
ScopeSingleNode indicates the volume can be used on one node at a time.
SharingAll means that the Volume may be shared by any number of Tasks, as readers or writers.
SharingNone indicates that only one Task may use the Volume at a time.
SharingOneWriter indicates that the Volume may be shared by any number of Tasks, but all after the first must be read-only.
SharingReadOnly indicates that the Volume may be shared by any number of Tasks, but they must be read-only.
StatePending indicates that the volume should be published on this node, but the call to ControllerPublishVolume has not been successfully completed yet and the result recorded by swarmkit.
StatePendingNodeUnpublish indicates that the Volume should be unpublished on the Node, and we're waiting for confirmation that it has done so.
StatePendingUnpublish means the volume is still published to the node by the controller, awaiting the operation to unpublish it.
StatePublished means the volume is published successfully to the node.
# Structs
AccessMode defines the access mode of a volume.
CapacityRange describes the minimum and maximum capacity a volume should be created with.
ClusterVolume contains options and information specific to, and only present on, Swarm CSI cluster volumes.
ClusterVolumeSpec contains the spec used to create this volume.
CreateOptions VolumeConfig
Volume configuration swagger:model CreateOptions.
Info contains information about the Volume as a whole as provided by the CSI storage plugin.
ListOptions holds parameters to list volumes.
ListResponse VolumeListResponse
Volume list response swagger:model ListResponse.
PublishStatus represents the status of the volume as published to an individual node.
Secret represents a Swarm Secret value that must be passed to the CSI storage plugin when operating on this Volume.
Topology is a map of topological domains to topological segments.
TopologyRequirement expresses the user's requirements for a volume's accessible topology.
TypeBlock defines options for using a volume as a block-type volume.
TypeMount contains options for using a volume as a Mount-type volume.
UpdateOptions is configuration to update a Volume with.
UsageData Usage details about the volume.
Volume volume swagger:model Volume.
# Type aliases
Availability specifies the availability of the volume.
PublishState represents the state of a Volume as it pertains to its use on a particular Node.
Scope defines the Scope of a Cluster Volume.
SharingMode defines the Sharing of a Cluster Volume.