controller

package
v0.0.0-...-5f4c9f6 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2018 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const MountsRootDir = "_mounts"
View Source
const VolumesRootDir = "_volumes"

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(osshim osshim.Os, filepath filepathshim.Filepath, mountPathRoot string) *Controller

func (*Controller) ControllerGetCapabilities

func (cs *Controller) ControllerGetCapabilities(ctx context.Context, in *ControllerGetCapabilitiesRequest) (*ControllerGetCapabilitiesResponse, error)

func (*Controller) ControllerPublishVolume

func (cs *Controller) ControllerPublishVolume(ctx context.Context, in *ControllerPublishVolumeRequest) (*ControllerPublishVolumeResponse, error)

func (*Controller) ControllerUnpublishVolume

func (cs *Controller) ControllerUnpublishVolume(ctx context.Context, in *ControllerUnpublishVolumeRequest) (*ControllerUnpublishVolumeResponse, error)

func (*Controller) CreateSnapshot

func (cs *Controller) CreateSnapshot(ctx context.Context, in *CreateSnapshotRequest) (*CreateSnapshotResponse, error)

func (*Controller) CreateVolume

func (cs *Controller) CreateVolume(ctx context.Context, in *CreateVolumeRequest) (*CreateVolumeResponse, error)

func (*Controller) DeleteSnapshot

func (cs *Controller) DeleteSnapshot(ctx context.Context, in *DeleteSnapshotRequest) (*DeleteSnapshotResponse, error)

func (*Controller) DeleteVolume

func (cs *Controller) DeleteVolume(context context.Context, request *DeleteVolumeRequest) (*DeleteVolumeResponse, error)

func (*Controller) GetCapacity

func (cs *Controller) GetCapacity(ctx context.Context, in *GetCapacityRequest) (*GetCapacityResponse, error)

func (*Controller) GetPluginCapabilities

func (cs *Controller) GetPluginCapabilities(ctx context.Context, in *GetPluginCapabilitiesRequest) (*GetPluginCapabilitiesResponse, error)

func (*Controller) GetPluginInfo

func (cs *Controller) GetPluginInfo(ctx context.Context, in *GetPluginInfoRequest) (*GetPluginInfoResponse, error)

func (*Controller) ListSnapshots

func (cs *Controller) ListSnapshots(ctx context.Context, in *ListSnapshotsRequest) (*ListSnapshotsResponse, error)

func (*Controller) ListVolumes

func (cs *Controller) ListVolumes(ctx context.Context, in *ListVolumesRequest) (*ListVolumesResponse, error)

func (*Controller) Probe

func (cs *Controller) Probe(ctx context.Context, in *ProbeRequest) (*ProbeResponse, error)

func (*Controller) ValidateVolumeCapabilities

func (cs *Controller) ValidateVolumeCapabilities(ctx context.Context, in *ValidateVolumeCapabilitiesRequest) (*ValidateVolumeCapabilitiesResponse, error)

type LocalVolume

type LocalVolume struct {
	Volume
}

Jump to

Keyboard shortcuts

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