Documentation ¶
Index ¶
- func CreateVolumeBySnapshot(restClient *client.RestClient, snapshotId string, ...) (bool, error)
- func DeleteSnapshot(restClient *client.RestClient, snapshotId string, ...) (bool, error)
- func List(restClient *client.RestClient, requestOpts *client.RequestOpts) (*[]SnapshotInfo, error)
- func ToIRSMyImage(restClient *client.RestClient, associatedSnapshots *[]SnapshotInfo) (irs.MyImageInfo, error)
- type SnapshotInfo
- type SnapshotReqInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateVolumeBySnapshot ¶
func CreateVolumeBySnapshot(restClient *client.RestClient, snapshotId string, requestOpts *client.RequestOpts) (bool, error)
func DeleteSnapshot ¶
func DeleteSnapshot(restClient *client.RestClient, snapshotId string, requestOpts *client.RequestOpts) (bool, error)
func List ¶
func List(restClient *client.RestClient, requestOpts *client.RequestOpts) (*[]SnapshotInfo, error)
func ToIRSMyImage ¶
func ToIRSMyImage(restClient *client.RestClient, associatedSnapshots *[]SnapshotInfo) (irs.MyImageInfo, error)
Types ¶
type SnapshotInfo ¶
type SnapshotInfo struct { Name string Id string ServerName string State string CreatedAt string // miscellaneous properties Bootable string Creator string TemplateId string }
func CreateSnapshot ¶
func CreateSnapshot(restClient *client.RestClient, requestOpts *client.RequestOpts) (SnapshotInfo, error)
func Get ¶
func Get(restClient *client.RestClient, snapshotId string, requestOpts *client.RequestOpts) (SnapshotInfo, error)
type SnapshotReqInfo ¶
Click to show internal directories.
Click to hide internal directories.