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 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) 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) 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
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)
Create provides a mock function with given fields: _a0
func (*DomainsService) CreateRecord ¶
func (_m *DomainsService) CreateRecord(_a0 string, _a1 *godo.DomainRecordEditRequest) (*do.DomainRecord, error)
CreateRecord provides a mock function with given fields: _a0, _a1
func (*DomainsService) Delete ¶
func (_m *DomainsService) Delete(_a0 string) error
Delete provides a mock function with given fields: _a0
func (*DomainsService) DeleteRecord ¶
func (_m *DomainsService) DeleteRecord(_a0 string, _a1 int) error
DeleteRecord provides a mock function with given fields: _a0, _a1
func (*DomainsService) EditRecord ¶
func (_m *DomainsService) EditRecord(_a0 string, _a1 int, _a2 *godo.DomainRecordEditRequest) (*do.DomainRecord, error)
EditRecord provides a mock function with given fields: _a0, _a1, _a2
func (*DomainsService) Get ¶
func (_m *DomainsService) Get(_a0 string) (*do.Domain, error)
Get provides a mock function with given fields: _a0
func (*DomainsService) List ¶
func (_m *DomainsService) List() (do.Domains, error)
List provides a mock function with given fields:
func (*DomainsService) Record ¶
func (_m *DomainsService) Record(_a0 string, _a1 int) (*do.DomainRecord, error)
Record provides a mock function with given fields: _a0, _a1
func (*DomainsService) Records ¶
func (_m *DomainsService) Records(_a0 string) (do.DomainRecords, error)
Records provides a mock function with given fields: _a0
type DropletActionsService ¶
func (*DropletActionsService) ChangeKernel ¶
ChangeKernel provides a mock function with given fields: _a0, _a1
func (*DropletActionsService) DisableBackups ¶
func (_m *DropletActionsService) DisableBackups(_a0 int) (*do.Action, error)
DisableBackups provides a mock function with given fields: _a0
func (*DropletActionsService) EnableBackups ¶
func (_m *DropletActionsService) EnableBackups(_a0 int) (*do.Action, error)
EnableBackups provides a mock function with given fields: _a0
func (*DropletActionsService) EnableIPv6 ¶
func (_m *DropletActionsService) EnableIPv6(_a0 int) (*do.Action, error)
EnableIPv6 provides a mock function with given fields: _a0
func (*DropletActionsService) EnablePrivateNetworking ¶
func (_m *DropletActionsService) EnablePrivateNetworking(_a0 int) (*do.Action, error)
EnablePrivateNetworking provides a mock function with given fields: _a0
func (*DropletActionsService) GetByURI ¶
func (_m *DropletActionsService) GetByURI(_a0 string) (*do.Action, error)
GetByURI provides a mock function with given fields: _a0
func (*DropletActionsService) PasswordReset ¶
func (_m *DropletActionsService) PasswordReset(_a0 int) (*do.Action, error)
PasswordReset provides a mock function with given fields: _a0
func (*DropletActionsService) PowerCycle ¶
func (_m *DropletActionsService) PowerCycle(_a0 int) (*do.Action, error)
PowerCycle provides a mock function with given fields: _a0
func (*DropletActionsService) PowerOff ¶
func (_m *DropletActionsService) PowerOff(_a0 int) (*do.Action, error)
PowerOff provides a mock function with given fields: _a0
func (*DropletActionsService) PowerOn ¶
func (_m *DropletActionsService) PowerOn(_a0 int) (*do.Action, error)
PowerOn provides a mock function with given fields: _a0
func (*DropletActionsService) Reboot ¶
func (_m *DropletActionsService) Reboot(_a0 int) (*do.Action, error)
Reboot provides a mock function with given fields: _a0
func (*DropletActionsService) RebuildByImageID ¶
RebuildByImageID provides a mock function with given fields: _a0, _a1
func (*DropletActionsService) RebuildByImageSlug ¶
RebuildByImageSlug provides a mock function with given fields: _a0, _a1
func (*DropletActionsService) Resize ¶
Resize provides a mock function with given fields: _a0, _a1, _a2
func (*DropletActionsService) Restore ¶
Restore provides a mock function with given fields: _a0, _a1
func (*DropletActionsService) Shutdown ¶
func (_m *DropletActionsService) Shutdown(_a0 int) (*do.Action, error)
Shutdown provides a mock function with given fields: _a0
type DropletsService ¶
func (*DropletsService) Actions ¶
func (_m *DropletsService) Actions(_a0 int) (do.Actions, error)
Actions provides a mock function with given fields: _a0
func (*DropletsService) Backups ¶
func (_m *DropletsService) Backups(_a0 int) (do.Images, error)
Backups provides a mock function with given fields: _a0
func (*DropletsService) Create ¶
func (_m *DropletsService) Create(_a0 *godo.DropletCreateRequest, _a1 bool) (*do.Droplet, error)
Create provides a mock function with given fields: _a0, _a1
func (*DropletsService) CreateMultiple ¶
func (_m *DropletsService) CreateMultiple(_a0 *godo.DropletMultiCreateRequest) (do.Droplets, error)
CreateMultiple provides a mock function with given fields: _a0
func (*DropletsService) Delete ¶
func (_m *DropletsService) Delete(_a0 int) error
Delete provides a mock function with given fields: _a0
func (*DropletsService) Get ¶
func (_m *DropletsService) Get(_a0 int) (*do.Droplet, error)
Get provides a mock function with given fields: _a0
func (*DropletsService) Kernels ¶
func (_m *DropletsService) Kernels(_a0 int) (do.Kernels, error)
Kernels provides a mock function with given fields: _a0
func (*DropletsService) List ¶
func (_m *DropletsService) List() (do.Droplets, error)
List provides a mock function with given fields:
type FloatingIPActionsService ¶
func (*FloatingIPActionsService) Assign ¶
Assign provides a mock function with given fields: ip, dropletID
func (*FloatingIPActionsService) List ¶
func (_m *FloatingIPActionsService) List(ip string, opt *godo.ListOptions) ([]do.Action, error)
List provides a mock function with given fields: ip, opt
type FloatingIPsService ¶
func (*FloatingIPsService) Create ¶
func (_m *FloatingIPsService) Create(ficr *godo.FloatingIPCreateRequest) (*do.FloatingIP, error)
Create provides a mock function with given fields: ficr
func (*FloatingIPsService) Delete ¶
func (_m *FloatingIPsService) Delete(ip string) error
Delete provides a mock function with given fields: ip
func (*FloatingIPsService) Get ¶
func (_m *FloatingIPsService) Get(ip string) (*do.FloatingIP, error)
Get provides a mock function with given fields: ip
func (*FloatingIPsService) List ¶
func (_m *FloatingIPsService) List() (do.FloatingIPs, error)
List provides a mock function with given fields:
type ImageActionsService ¶
func (*ImageActionsService) Transfer ¶
func (_m *ImageActionsService) Transfer(_a0 int, _a1 *godo.ActionRequest) (*do.Action, error)
Transfer provides a mock function with given fields: _a0, _a1
type ImagesService ¶
func (*ImagesService) Delete ¶
func (_m *ImagesService) Delete(id int) error
Delete provides a mock function with given fields: id
func (*ImagesService) GetByID ¶
func (_m *ImagesService) GetByID(id int) (*do.Image, error)
GetByID provides a mock function with given fields: id
func (*ImagesService) GetBySlug ¶
func (_m *ImagesService) GetBySlug(slug string) (*do.Image, error)
GetBySlug provides a mock function with given fields: slug
func (*ImagesService) List ¶
func (_m *ImagesService) List(public bool) (do.Images, error)
List provides a mock function with given fields: public
func (*ImagesService) ListApplication ¶
func (_m *ImagesService) ListApplication(public bool) (do.Images, error)
ListApplication provides a mock function with given fields: public
func (*ImagesService) ListDistribution ¶
func (_m *ImagesService) ListDistribution(public bool) (do.Images, error)
ListDistribution provides a mock function with given fields: public
func (*ImagesService) ListUser ¶
func (_m *ImagesService) ListUser(public bool) (do.Images, error)
ListUser provides a mock function with given fields: public
func (*ImagesService) Update ¶
func (_m *ImagesService) Update(id int, iur *godo.ImageUpdateRequest) (*do.Image, error)
Update provides a mock function with given fields: id, iur
type KeysService ¶
func (*KeysService) Create ¶
func (_m *KeysService) Create(kcr *godo.KeyCreateRequest) (*do.SSHKey, error)
Create provides a mock function with given fields: kcr
func (*KeysService) Delete ¶
func (_m *KeysService) Delete(id string) error
Delete provides a mock function with given fields: id
func (*KeysService) Get ¶
func (_m *KeysService) Get(id string) (*do.SSHKey, error)
Get provides a mock function with given fields: id
func (*KeysService) List ¶
func (_m *KeysService) List() (do.SSHKeys, error)
List provides a mock function with given fields:
func (*KeysService) Update ¶
func (_m *KeysService) Update(id string, kur *godo.KeyUpdateRequest) (*do.SSHKey, error)
Update provides a mock function with given fields: id, kur