Documentation ¶
Index ¶
- type Amazonstorage
- func (amazonstorage *Amazonstorage) AttachDisk(request interface{}) (resp interface{}, err error)
- func (amazonstorage *Amazonstorage) CreateDisk(request interface{}) (resp interface{}, err error)
- func (amazonstorage *Amazonstorage) CreateSnapshot(request interface{}) (resp interface{}, err error)
- func (amazonstorage *Amazonstorage) DeleteDisk(request interface{}) (resp interface{}, err error)
- func (amazonstorage *Amazonstorage) DeleteSnapshot(request interface{}) (resp interface{}, err error)
- func (amazonstorage *Amazonstorage) DetachDisk(request interface{}) (resp interface{}, err error)
- func (amazonstorage *Amazonstorage) PrepareSignatureV2query(params map[string]string, Region string, response map[string]interface{}) error
- type CreateSnapshotResp
- type CreateVolume
- type CreateVolumeResp
- type SimpleResp
- type Snapshot
- type SnapshotsResp
- type Tag
- type Volume
- type VolumeAttachment
- type VolumeAttachmentResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Amazonstorage ¶
type Amazonstorage struct { }
func (*Amazonstorage) AttachDisk ¶
func (amazonstorage *Amazonstorage) AttachDisk(request interface{}) (resp interface{}, err error)
func (*Amazonstorage) CreateDisk ¶
func (amazonstorage *Amazonstorage) CreateDisk(request interface{}) (resp interface{}, err error)
func (*Amazonstorage) CreateSnapshot ¶
func (amazonstorage *Amazonstorage) CreateSnapshot(request interface{}) (resp interface{}, err error)
volumeId, description string
func (*Amazonstorage) DeleteDisk ¶
func (amazonstorage *Amazonstorage) DeleteDisk(request interface{}) (resp interface{}, err error)
func (*Amazonstorage) DeleteSnapshot ¶
func (amazonstorage *Amazonstorage) DeleteSnapshot(request interface{}) (resp interface{}, err error)
func (*Amazonstorage) DetachDisk ¶
func (amazonstorage *Amazonstorage) DetachDisk(request interface{}) (resp interface{}, err error)
func (*Amazonstorage) PrepareSignatureV2query ¶
type CreateSnapshotResp ¶
type CreateVolume ¶
type CreateVolumeResp ¶
type SimpleResp ¶
type Snapshot ¶
type Snapshot struct { Id string `xml:"snapshotId"` VolumeId string `xml:"volumeId"` VolumeSize string `xml:"volumeSize"` Status string `xml:"status"` StartTime string `xml:"startTime"` Description string `xml:"description"` Progress string `xml:"progress"` OwnerId string `xml:"ownerId"` OwnerAlias string `xml:"ownerAlias"` Tags []Tag `xml:"tagSet>item"` }
type SnapshotsResp ¶
type Volume ¶
type Volume struct { Id string `xml:"volumeId"` Size int `xml:"size"` SnapshotId string `xml:"snapshotId"` Status string `xml:"status"` IOPS int64 `xml:"iops"` AvailZone string `xml:"availabilityZone"` CreateTime string `xml:"createTime"` VolumeType string `xml:"volumeType"` Encrypted bool `xml:"encrypted"` Tags []Tag `xml:"tagSet>item"` Attachments []VolumeAttachment `xml:"attachmentSet>item"` }
type VolumeAttachment ¶
Click to show internal directories.
Click to hide internal directories.