adapters

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2026 License: MIT Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VolumePlugin

type VolumePlugin struct {
	volume.Driver
	// contains filtered or unexported fields
}

VolumePlugin implements the Docker volume plugin interface and delegates operations to the underlying driver.

func NewVolumePlugin

func NewVolumePlugin(ctx context.Context, logger *log.Logger, driver string, propagatedMount string, driverOptions string) (*VolumePlugin, error)

NewVolumePlugin creates a new VolumePlugin instance with the specified driver and options.

func (*VolumePlugin) Capabilities

func (d *VolumePlugin) Capabilities() *volume.CapabilitiesResponse

func (*VolumePlugin) Create

func (d *VolumePlugin) Create(req *volume.CreateRequest) error

func (*VolumePlugin) Destroy

func (d *VolumePlugin) Destroy() error

func (*VolumePlugin) Get

func (*VolumePlugin) List

func (d *VolumePlugin) List() (*volume.ListResponse, error)

func (*VolumePlugin) Mount

func (*VolumePlugin) Path

func (*VolumePlugin) Remove

func (d *VolumePlugin) Remove(req *volume.RemoveRequest) error

func (*VolumePlugin) Unmount

func (d *VolumePlugin) Unmount(req *volume.UnmountRequest) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL