const graphPath …
const volumePath …
const snapPath …
type volumeClient …
func newVolumeClient(c *client.Client) volume.VolumeDriver { … }
func (v *volumeClient) Name() string { … }
func (v *volumeClient) Type() api.DriverType { … }
func (v *volumeClient) GraphDriverCreate(id string, parent string) error { … }
func (v *volumeClient) GraphDriverRemove(id string) error { … }
func (v *volumeClient) GraphDriverGet(id string, mountLabel string) (string, error) { … }
func (v *volumeClient) GraphDriverRelease(id string) error { … }
func (v *volumeClient) GraphDriverExists(id string) bool { … }
func (v *volumeClient) GraphDriverDiff(id string, parent string) io.Writer { … }
func (v *volumeClient) GraphDriverChanges(id string, parent string) ([]api.GraphDriverChanges, error) { … }
func (v *volumeClient) GraphDriverApplyDiff(id string, parent string, diff io.Reader) (int, error) { … }
func (v *volumeClient) GraphDriverDiffSize(id string, parent string) (int, error) { … }
func (v *volumeClient) Create(locator *api.VolumeLocator, source *api.Source,
spec *api.VolumeSpec) (string, error) { … }
func (v *volumeClient) Status() [][2]string { … }
func (v *volumeClient) Inspect(ids []string) ([]*api.Volume, error) { … }
func (v *volumeClient) Delete(volumeID string) error { … }
func (v *volumeClient) Snapshot(volumeID string, readonly bool,
locator *api.VolumeLocator) (string, error) { … }
func (v *volumeClient) Restore(volumeID string, snapID string) error { … }
func (v *volumeClient) Stats(
volumeID string,
cumulative bool,
) (*api.Stats, error) { … }
func (v *volumeClient) UsedSize(
volumeID string,
) (uint64, error) { … }
func (v *volumeClient) GetActiveRequests() (*api.ActiveRequests, error) { … }
func (v *volumeClient) Shutdown() { … }
func (v *volumeClient) Enumerate(locator *api.VolumeLocator,
labels map[string]string) ([]*api.Volume, error) { … }
func (v *volumeClient) SnapEnumerate(ids []string,
snapLabels map[string]string) ([]*api.Volume, error) { … }
func (v *volumeClient) Attach(volumeID string, attachOptions map[string]string) (string, error) { … }
func (v *volumeClient) Detach(volumeID string, unmountBeforeDetach bool) error { … }
func (v *volumeClient) MountedAt(mountPath string) string { … }
func (v *volumeClient) Mount(volumeID string, mountPath string) error { … }
func (v *volumeClient) Unmount(volumeID string, mountPath string) error { … }
func (v *volumeClient) Set(volumeID string, locator *api.VolumeLocator,
spec *api.VolumeSpec) error { … }
func (v *volumeClient) doVolumeSet(volumeID string,
request *api.VolumeSetRequest) error { … }
func (v *volumeClient) doVolumeSetGetResponse(volumeID string,
request *api.VolumeSetRequest) (*api.VolumeSetResponse, error) { … }