Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin interface { VolumeCreate(v *requests.VolumeCreateRequest) (*requests.VolumeInfoResp, error) VolumeDelete(id string) error VolumeInfo(id string) (*requests.VolumeInfoResp, error) VolumeResize(id string) (*requests.VolumeInfoResp, error) VolumeList() (*requests.VolumeListResponse, error) NodeAdd(v *requests.NodeAddRequest) (*requests.NodeInfoResp, error) NodeRemove(id string) error NodeInfo(id string) (*requests.NodeInfoResp, error) NodeList() (*requests.NodeListResponse, error) NodeAddDevice(id string, req *requests.DeviceAddRequest) error Close() }
Volume interface for plugins
Click to show internal directories.
Click to hide internal directories.