Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrickRequest ¶
type BrickRequest struct { VgId string Name string TpSize uint64 Size uint64 PoolMetadataSize uint64 }
Brick description
type DeviceInfo ¶
Returns the size of the device
type DurabilityType ¶
type DurabilityType int
Enumerate durability types
const ( DurabilityNone DurabilityType = iota DurabilityReplica DurabilityDispersion )
type Executor ¶
type Executor interface { PeerProbe(exec_host, newnode string) error PeerDetach(exec_host, detachnode string) error DeviceSetup(host, device, vgid string) (*DeviceInfo, error) DeviceTeardown(host, device, vgid string) error BrickCreate(host string, brick *BrickRequest) (*BrickInfo, error) BrickDestroy(host string, brick *BrickRequest) error BrickDestroyCheck(host string, brick *BrickRequest) error VolumeCreate(host string, volume *VolumeRequest) (*VolumeInfo, error) VolumeDestroy(host string, volume string) error VolumeDestroyCheck(host, volume string) error VolumeExpand(host string, volume *VolumeRequest) (*VolumeInfo, error) }
type VolumeInfo ¶
type VolumeInfo struct { }
type VolumeRequest ¶
Click to show internal directories.
Click to hide internal directories.