Documentation ¶
Index ¶
- type ZfsDriver
- func (zd *ZfsDriver) Capabilities() *volume.CapabilitiesResponse
- func (zd *ZfsDriver) Create(req *volume.CreateRequest) error
- func (zd *ZfsDriver) Get(req *volume.GetRequest) (*volume.GetResponse, error)
- func (zd *ZfsDriver) List() (*volume.ListResponse, error)
- func (zd *ZfsDriver) Mount(req *volume.MountRequest) (*volume.MountResponse, error)
- func (zd *ZfsDriver) Path(req *volume.PathRequest) (*volume.PathResponse, error)
- func (zd *ZfsDriver) Remove(req *volume.RemoveRequest) error
- func (zd *ZfsDriver) Unmount(req *volume.UnmountRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ZfsDriver ¶
ZfsDriver implements the plugin helpers volume.Driver interface for zfs
func NewZfsDriver ¶
NewZfsDriver returns the plugin driver object
func (*ZfsDriver) Capabilities ¶
func (zd *ZfsDriver) Capabilities() *volume.CapabilitiesResponse
Capabilities sets the scope to local as this is a local only driver
func (*ZfsDriver) Create ¶
func (zd *ZfsDriver) Create(req *volume.CreateRequest) error
Create creates a new zfs dataset for a volume
func (*ZfsDriver) Get ¶
func (zd *ZfsDriver) Get(req *volume.GetRequest) (*volume.GetResponse, error)
Get returns the volume.Volume{} object for the requested volume nolint: dupl
func (*ZfsDriver) List ¶
func (zd *ZfsDriver) List() (*volume.ListResponse, error)
List returns a list of zfs volumes on this host
func (*ZfsDriver) Mount ¶
func (zd *ZfsDriver) Mount(req *volume.MountRequest) (*volume.MountResponse, error)
Mount returns the mountpoint of the zfs volume nolint: dupl
func (*ZfsDriver) Path ¶
func (zd *ZfsDriver) Path(req *volume.PathRequest) (*volume.PathResponse, error)
Path returns the mountpoint of a volume nolint: dupl
Click to show internal directories.
Click to hide internal directories.