Documentation ¶
Index ¶
- type Client
- func (c *Client) BackupVolume(volumeName string, force bool) (err error)
- func (c *Client) GetInformations() (informations map[string]string, err error)
- func (c *Client) GetVolumes() (volumes []volume.Volume, err error)
- func (c *Client) RestoreVolume(volumeName string, force bool, snapshotName string) (err error)
- func (c *Client) RunRawCommand(volumeID string, cmd []string) (output string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client contains informations needed to connect to a Volback API
func (*Client) BackupVolume ¶
BackupVolume requests a backup of a volume
func (*Client) GetInformations ¶
GetInformations returns informations about the Volback manager
func (*Client) GetVolumes ¶
GetVolumes returns the list of the volumes managed by Volback
func (*Client) RestoreVolume ¶
RestoreVolume requests a restore of a volume
Click to show internal directories.
Click to hide internal directories.