package
0.0.0-20250130204033-e82d90384e5b
Repository: https://github.com/laurentgoderre/moby.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

And creates a `By` combining all the passed in bys using AND logic.
ByDriver is `By` that filters based on the driver names that are passed in.
FromList returns a By which sets the initial list of volumes to use.
IsInUse returns a boolean indicating whether the error indicates that a volume is in use.
IsNameConflict returns a boolean indicating whether the error indicates that a volume name is already taken.
IsNotExist returns a boolean indicating whether the error indicates that the volume does not exist.
NewStore creates a new volume store at the given path.
NewVolumeService creates a new volume service.
Or creates a `By` combining all the passed in bys using OR logic.
WithEventLogger configures the VolumeStore with the given VolumeEventLogger.

# Constants

AnonymousLabel is the label used to indicate that a volume is anonymous This is set automatically on a volume when a volume is created without a name specified, and as such an id is generated for it.

# Structs

OpErr is the error type returned by functions in the store package.
VolumesService manages access to volumes This is used as the main access point for volumes to higher level services and the API.
VolumeStore is responsible for storing and reference counting volumes.

# Interfaces

By is an interface which is used to implement filtering on volumes.
VolumeEventLogger interface provides methods to log volume-related events.

# Type aliases

ByReferenced is a `By` that filters based on if the volume has references.
CustomFilter is a `By` that is used by callers to provide custom filtering logic.
StoreOpt sets options for a VolumeStore.