Documentation ¶
Index ¶
- type AccountService
- type ActionsService
- type DomainsService
- func (_m *DomainsService) Create(_a0 *godo.DomainCreateRequest) (*do.Domain, error)
- func (_m *DomainsService) CreateRecord(_a0 string, _a1 *godo.DomainRecordEditRequest) (*do.DomainRecord, error)
- func (_m *DomainsService) Delete(_a0 string) error
- func (_m *DomainsService) DeleteRecord(_a0 string, _a1 int) error
- func (_m *DomainsService) EditRecord(_a0 string, _a1 int, _a2 *godo.DomainRecordEditRequest) (*do.DomainRecord, error)
- func (_m *DomainsService) Get(_a0 string) (*do.Domain, error)
- func (_m *DomainsService) List() (do.Domains, error)
- func (_m *DomainsService) Record(_a0 string, _a1 int) (*do.DomainRecord, error)
- func (_m *DomainsService) Records(_a0 string) (do.DomainRecords, error)
- type DriveActionsService
- type DrivesService
- type DropletActionsService
- func (_m *DropletActionsService) ChangeKernel(_a0 int, _a1 int) (*do.Action, error)
- func (_m *DropletActionsService) DisableBackups(_a0 int) (*do.Action, error)
- func (_m *DropletActionsService) EnableBackups(_a0 int) (*do.Action, error)
- func (_m *DropletActionsService) EnableIPv6(_a0 int) (*do.Action, error)
- func (_m *DropletActionsService) EnablePrivateNetworking(_a0 int) (*do.Action, error)
- func (_m *DropletActionsService) Get(_a0 int, _a1 int) (*do.Action, error)
- func (_m *DropletActionsService) GetByURI(_a0 string) (*do.Action, error)
- func (_m *DropletActionsService) PasswordReset(_a0 int) (*do.Action, error)
- func (_m *DropletActionsService) PowerCycle(_a0 int) (*do.Action, error)
- func (_m *DropletActionsService) PowerOff(_a0 int) (*do.Action, error)
- func (_m *DropletActionsService) PowerOn(_a0 int) (*do.Action, error)
- func (_m *DropletActionsService) Reboot(_a0 int) (*do.Action, error)
- func (_m *DropletActionsService) RebuildByImageID(_a0 int, _a1 int) (*do.Action, error)
- func (_m *DropletActionsService) RebuildByImageSlug(_a0 int, _a1 string) (*do.Action, error)
- func (_m *DropletActionsService) Rename(_a0 int, _a1 string) (*do.Action, error)
- func (_m *DropletActionsService) Resize(_a0 int, _a1 string, _a2 bool) (*do.Action, error)
- func (_m *DropletActionsService) Restore(_a0 int, _a1 int) (*do.Action, error)
- func (_m *DropletActionsService) Shutdown(_a0 int) (*do.Action, error)
- func (_m *DropletActionsService) Snapshot(_a0 int, _a1 string) (*do.Action, error)
- func (_m *DropletActionsService) Upgrade(_a0 int) (*do.Action, error)
- type DropletsService
- func (_m *DropletsService) Actions(_a0 int) (do.Actions, error)
- func (_m *DropletsService) Backups(_a0 int) (do.Images, error)
- func (_m *DropletsService) Create(_a0 *godo.DropletCreateRequest, _a1 bool) (*do.Droplet, error)
- func (_m *DropletsService) CreateMultiple(_a0 *godo.DropletMultiCreateRequest) (do.Droplets, error)
- func (_m *DropletsService) Delete(_a0 int) error
- func (_m *DropletsService) DeleteByTag(_a0 string) error
- func (_m *DropletsService) Get(_a0 int) (*do.Droplet, error)
- func (_m *DropletsService) Kernels(_a0 int) (do.Kernels, error)
- func (_m *DropletsService) List() (do.Droplets, error)
- func (_m *DropletsService) ListByTag(_a0 string) (do.Droplets, error)
- func (_m *DropletsService) Neighbors(_a0 int) (do.Droplets, error)
- func (_m *DropletsService) Snapshots(_a0 int) (do.Images, error)
- type FloatingIPActionsService
- func (_m *FloatingIPActionsService) Assign(ip string, dropletID int) (*do.Action, error)
- func (_m *FloatingIPActionsService) Get(ip string, actionID int) (*do.Action, error)
- func (_m *FloatingIPActionsService) List(ip string, opt *godo.ListOptions) ([]do.Action, error)
- func (_m *FloatingIPActionsService) Unassign(ip string) (*do.Action, error)
- type FloatingIPsService
- type ImageActionsService
- type ImagesService
- func (_m *ImagesService) Delete(id int) error
- func (_m *ImagesService) GetByID(id int) (*do.Image, error)
- func (_m *ImagesService) GetBySlug(slug string) (*do.Image, error)
- func (_m *ImagesService) List(public bool) (do.Images, error)
- func (_m *ImagesService) ListApplication(public bool) (do.Images, error)
- func (_m *ImagesService) ListDistribution(public bool) (do.Images, error)
- func (_m *ImagesService) ListUser(public bool) (do.Images, error)
- func (_m *ImagesService) Update(id int, iur *godo.ImageUpdateRequest) (*do.Image, error)
- type KeysService
- func (_m *KeysService) Create(kcr *godo.KeyCreateRequest) (*do.SSHKey, error)
- func (_m *KeysService) Delete(id string) error
- func (_m *KeysService) Get(id string) (*do.SSHKey, error)
- func (_m *KeysService) List() (do.SSHKeys, error)
- func (_m *KeysService) Update(id string, kur *godo.KeyUpdateRequest) (*do.SSHKey, error)
- type RegionsService
- type SizesService
- type TagsService
- func (_m *TagsService) Create(_a0 *godo.TagCreateRequest) (*do.Tag, error)
- func (_m *TagsService) Delete(_a0 string) error
- func (_m *TagsService) Get(_a0 string) (*do.Tag, error)
- func (_m *TagsService) List() (do.Tags, error)
- func (_m *TagsService) TagResources(_a0 string, _a1 *godo.TagResourcesRequest) error
- func (_m *TagsService) UntagResources(_a0 string, _a1 *godo.UntagResourcesRequest) error
- func (_m *TagsService) Update(_a0 string, _a1 *godo.TagUpdateRequest) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountService ¶
type ActionsService ¶
type DomainsService ¶
func (*DomainsService) Create ¶
func (_m *DomainsService) Create(_a0 *godo.DomainCreateRequest) (*do.Domain, error)
func (*DomainsService) CreateRecord ¶
func (_m *DomainsService) CreateRecord(_a0 string, _a1 *godo.DomainRecordEditRequest) (*do.DomainRecord, error)
func (*DomainsService) Delete ¶
func (_m *DomainsService) Delete(_a0 string) error
func (*DomainsService) DeleteRecord ¶
func (_m *DomainsService) DeleteRecord(_a0 string, _a1 int) error
func (*DomainsService) EditRecord ¶
func (_m *DomainsService) EditRecord(_a0 string, _a1 int, _a2 *godo.DomainRecordEditRequest) (*do.DomainRecord, error)
func (*DomainsService) Record ¶
func (_m *DomainsService) Record(_a0 string, _a1 int) (*do.DomainRecord, error)
func (*DomainsService) Records ¶
func (_m *DomainsService) Records(_a0 string) (do.DomainRecords, error)
type DriveActionsService ¶ added in v1.1.0
type DrivesService ¶ added in v1.1.0
func (*DrivesService) CreateDrive ¶ added in v1.1.0
func (_m *DrivesService) CreateDrive(_a0 *godo.DriveCreateRequest) (*do.Drive, error)
func (*DrivesService) DeleteDrive ¶ added in v1.1.0
func (_m *DrivesService) DeleteDrive(_a0 string) error
type DropletActionsService ¶
func (*DropletActionsService) ChangeKernel ¶
func (*DropletActionsService) DisableBackups ¶
func (_m *DropletActionsService) DisableBackups(_a0 int) (*do.Action, error)
func (*DropletActionsService) EnableBackups ¶
func (_m *DropletActionsService) EnableBackups(_a0 int) (*do.Action, error)
func (*DropletActionsService) EnableIPv6 ¶
func (_m *DropletActionsService) EnableIPv6(_a0 int) (*do.Action, error)
func (*DropletActionsService) EnablePrivateNetworking ¶
func (_m *DropletActionsService) EnablePrivateNetworking(_a0 int) (*do.Action, error)
func (*DropletActionsService) GetByURI ¶
func (_m *DropletActionsService) GetByURI(_a0 string) (*do.Action, error)
func (*DropletActionsService) PasswordReset ¶
func (_m *DropletActionsService) PasswordReset(_a0 int) (*do.Action, error)
func (*DropletActionsService) PowerCycle ¶
func (_m *DropletActionsService) PowerCycle(_a0 int) (*do.Action, error)
func (*DropletActionsService) PowerOff ¶
func (_m *DropletActionsService) PowerOff(_a0 int) (*do.Action, error)
func (*DropletActionsService) PowerOn ¶
func (_m *DropletActionsService) PowerOn(_a0 int) (*do.Action, error)
func (*DropletActionsService) Reboot ¶
func (_m *DropletActionsService) Reboot(_a0 int) (*do.Action, error)
func (*DropletActionsService) RebuildByImageID ¶
func (*DropletActionsService) RebuildByImageSlug ¶
func (*DropletActionsService) Shutdown ¶
func (_m *DropletActionsService) Shutdown(_a0 int) (*do.Action, error)
type DropletsService ¶
func (*DropletsService) Create ¶
func (_m *DropletsService) Create(_a0 *godo.DropletCreateRequest, _a1 bool) (*do.Droplet, error)
func (*DropletsService) CreateMultiple ¶
func (_m *DropletsService) CreateMultiple(_a0 *godo.DropletMultiCreateRequest) (do.Droplets, error)
func (*DropletsService) Delete ¶
func (_m *DropletsService) Delete(_a0 int) error
func (*DropletsService) DeleteByTag ¶ added in v1.1.0
func (_m *DropletsService) DeleteByTag(_a0 string) error
func (*DropletsService) ListByTag ¶ added in v1.1.0
func (_m *DropletsService) ListByTag(_a0 string) (do.Droplets, error)
type FloatingIPActionsService ¶
func (*FloatingIPActionsService) List ¶
func (_m *FloatingIPActionsService) List(ip string, opt *godo.ListOptions) ([]do.Action, error)
type FloatingIPsService ¶
func (*FloatingIPsService) Create ¶
func (_m *FloatingIPsService) Create(ficr *godo.FloatingIPCreateRequest) (*do.FloatingIP, error)
func (*FloatingIPsService) Delete ¶
func (_m *FloatingIPsService) Delete(ip string) error
func (*FloatingIPsService) Get ¶
func (_m *FloatingIPsService) Get(ip string) (*do.FloatingIP, error)
func (*FloatingIPsService) List ¶
func (_m *FloatingIPsService) List() (do.FloatingIPs, error)
type ImageActionsService ¶
func (*ImageActionsService) Transfer ¶
func (_m *ImageActionsService) Transfer(_a0 int, _a1 *godo.ActionRequest) (*do.Action, error)
type ImagesService ¶
func (*ImagesService) Delete ¶
func (_m *ImagesService) Delete(id int) error
func (*ImagesService) GetBySlug ¶
func (_m *ImagesService) GetBySlug(slug string) (*do.Image, error)
func (*ImagesService) ListApplication ¶
func (_m *ImagesService) ListApplication(public bool) (do.Images, error)
func (*ImagesService) ListDistribution ¶
func (_m *ImagesService) ListDistribution(public bool) (do.Images, error)
func (*ImagesService) Update ¶
func (_m *ImagesService) Update(id int, iur *godo.ImageUpdateRequest) (*do.Image, error)
type KeysService ¶
func (*KeysService) Create ¶
func (_m *KeysService) Create(kcr *godo.KeyCreateRequest) (*do.SSHKey, error)
func (*KeysService) Delete ¶
func (_m *KeysService) Delete(id string) error
func (*KeysService) Update ¶
func (_m *KeysService) Update(id string, kur *godo.KeyUpdateRequest) (*do.SSHKey, error)
type RegionsService ¶
type SizesService ¶
type TagsService ¶ added in v1.1.0
func (*TagsService) Create ¶ added in v1.1.0
func (_m *TagsService) Create(_a0 *godo.TagCreateRequest) (*do.Tag, error)
func (*TagsService) Delete ¶ added in v1.1.0
func (_m *TagsService) Delete(_a0 string) error
func (*TagsService) TagResources ¶ added in v1.1.0
func (_m *TagsService) TagResources(_a0 string, _a1 *godo.TagResourcesRequest) error
func (*TagsService) UntagResources ¶ added in v1.1.0
func (_m *TagsService) UntagResources(_a0 string, _a1 *godo.UntagResourcesRequest) error
func (*TagsService) Update ¶ added in v1.1.0
func (_m *TagsService) Update(_a0 string, _a1 *godo.TagUpdateRequest) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.