Documentation
¶
Index ¶
- Constants
- type Driver
- func (d Driver) Capabilities() *volume.CapabilitiesResponse
- func (d Driver) Create(req *volume.CreateRequest) error
- func (d Driver) Get(req *volume.GetRequest) (*volume.GetResponse, error)
- func (d Driver) List() (*volume.ListResponse, error)
- func (d Driver) Mount(req *volume.MountRequest) (*volume.MountResponse, error)
- func (d Driver) Path(req *volume.PathRequest) (*volume.PathResponse, error)
- func (d Driver) Remove(req *volume.RemoveRequest) error
- func (d Driver) Unmount(req *volume.UnmountRequest) error
- type EntropyPlugin
Constants ¶
View Source
const (
// EntropyPath - path to workdir
EntropyPath = "/var/lib/ddsv"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Driver ¶
Driver - driver struct
func (Driver) Capabilities ¶
func (d Driver) Capabilities() *volume.CapabilitiesResponse
Capabilities - returns Driver Capabilities - global
func (Driver) Create ¶
func (d Driver) Create(req *volume.CreateRequest) error
Create - creates a new volume with the given name and options
func (Driver) Get ¶
func (d Driver) Get(req *volume.GetRequest) (*volume.GetResponse, error)
Get - return information about give volume
func (Driver) List ¶
func (d Driver) List() (*volume.ListResponse, error)
List - returns a list of all volumes
func (Driver) Mount ¶
func (d Driver) Mount(req *volume.MountRequest) (*volume.MountResponse, error)
Mount - mounts give volume and return the mountpoint
func (Driver) Path ¶
func (d Driver) Path(req *volume.PathRequest) (*volume.PathResponse, error)
Path - returns the mountpoint
type EntropyPlugin ¶
type EntropyPlugin struct {
// contains filtered or unexported fields
}
EntropyPlugin - plugin struct
Click to show internal directories.
Click to hide internal directories.