digioceanstorage

package
v0.0.0-...-4f62784 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 13, 2020 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL