Documentation ¶
Index ¶
- type Digioceanstorage
- func (digioceanstorage *Digioceanstorage) AttachDisk(request interface{}) (resp interface{}, err error)
- func (digioceanstorage *Digioceanstorage) CreateDisk(request interface{}) (resp interface{}, err error)
- func (digioceanstorage *Digioceanstorage) CreateSnapshot(request interface{}) (resp interface{}, err error)
- func (digioceanstorage *Digioceanstorage) DeleteDisk(request interface{}) (resp interface{}, err error)
- func (digioceanstorage *Digioceanstorage) DeleteSnapshot(request interface{}) (resp interface{}, err error)
- func (digioceanstorage *Digioceanstorage) DetachDisk(request interface{}) (resp interface{}, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Digioceanstorage ¶
type Digioceanstorage struct { Name string `json:"name"` Region string `json:"region,omitempty"` Description string `json:"description,omitempty"` SizeGigaBytes int64 `json:"size_gigabytes"` SnapshotID string `json:"snapshot_id,omitempty"` }
Digioceanstorage struct represents a DigitalOcean storage object.
func (*Digioceanstorage) AttachDisk ¶
func (digioceanstorage *Digioceanstorage) AttachDisk(request interface{}) (resp interface{}, err error)
AttachDisk function function attaches a disk to a droplet.
func (*Digioceanstorage) CreateDisk ¶
func (digioceanstorage *Digioceanstorage) CreateDisk(request interface{}) (resp interface{}, err error)
CreateDisk function creates a new disk.
func (*Digioceanstorage) CreateSnapshot ¶
func (digioceanstorage *Digioceanstorage) CreateSnapshot(request interface{}) (resp interface{}, err error)
CreateSnapshot function creates a new snapshot.
func (*Digioceanstorage) DeleteDisk ¶
func (digioceanstorage *Digioceanstorage) DeleteDisk(request interface{}) (resp interface{}, err error)
DeleteDisk function deletes a disk.
func (*Digioceanstorage) DeleteSnapshot ¶
func (digioceanstorage *Digioceanstorage) DeleteSnapshot(request interface{}) (resp interface{}, err error)
DeleteSnapshot function deletes a snapshot.
func (*Digioceanstorage) DetachDisk ¶
func (digioceanstorage *Digioceanstorage) DetachDisk(request interface{}) (resp interface{}, err error)
DetachDisk function function detaches a disk from a droplet.
Click to show internal directories.
Click to hide internal directories.