Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerOperator ¶
type ControllerOperator interface { CreateVolume(volumeName string, requestSize int64, parameters map[string]string) (volumeID string, err error) CreateVolumeFromSnapshot(volumeName, snapshotID string, parameters map[string]string) (volumeID string, err error) CreateVolumeByClone(volumeName, sourceVolumeID string, parameters map[string]string) (volumeID string, err error) FindVolumeByName(volumeName string, parameters map[string]string) (*csi.Volume, error) FindVolume(volumeID string) (*csi.Volume, error) DeleteVolume(volumeID string) error ResizeVolume(volumeID string, requestSize int64) error CreateSnapshot(volumeID, snapshotName string) error DeleteSnapshot(snapshotID string) error FindSnapshot(snapshotID string) (*csi.Snapshot, error) FindSnapshotByName(volumeID, snapshotName string) (*csi.Snapshot, error) }
type NodeOperator ¶
type Provider ¶
type Provider interface { ControllerOperator NodeOperator }
Click to show internal directories.
Click to hide internal directories.