Documentation
¶
Index ¶
- Constants
- Variables
- type Client
- func (r Client) CreateACL(name string, random bool) error
- func (r Client) CreateVolume(name string, size int, replica int, template string, maxIops int, maxBW int, ...) error
- func (r Client) DeleteVolume(name, mountpoint string) error
- func (r Client) DetachVolume(name string) error
- func (r Client) FindDeviceFsType(diskPath string) (string, error)
- func (r Client) GetIQNandPortal(name string) (string, string, string, error)
- func (r Client) LoginVolume(name string, destination string) (string, error)
- func (r Client) MountVolume(name, destination, fsType, diskPath string) error
- func (r Client) UnmountVolume(name string, destination string) error
- func (r Client) VolumeExist(name string) (bool, error)
Constants ¶
View Source
const ( StorageName = "storage-1" VolumeName = "volume-1" IGPrefix = "Docker-Driver-" )
Variables ¶
View Source
var IsAlreadyMounted = _isAlreadyMounted
Test overridable testvariable
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (Client) CreateVolume ¶
func (Client) DeleteVolume ¶
func (Client) DetachVolume ¶
func (Client) GetIQNandPortal ¶
func (Client) LoginVolume ¶
func (Client) MountVolume ¶
Click to show internal directories.
Click to hide internal directories.