Documentation ¶
Index ¶
- type AccountService
- type ActionsService
- type CDNsService
- func (_m *CDNsService) Create(_a0 *godo.CDNCreateRequest) (*do.CDN, error)
- func (_m *CDNsService) Delete(_a0 string) error
- func (_m *CDNsService) FlushCache(_a0 string, _a1 *godo.CDNFlushCacheRequest) error
- func (_m *CDNsService) Get(_a0 string) (*do.CDN, error)
- func (_m *CDNsService) List() ([]do.CDN, error)
- func (_m *CDNsService) UpdateCustomDomain(_a0 string, _a1 *godo.CDNUpdateCustomDomainRequest) (*do.CDN, error)
- func (_m *CDNsService) UpdateTTL(_a0 string, _a1 *godo.CDNUpdateTTLRequest) (*do.CDN, error)
- type CertificatesService
- type DatabasesService
- func (_m *DatabasesService) Create(_a0 *godo.DatabaseCreateRequest) (*do.Database, error)
- func (_m *DatabasesService) CreateDB(_a0 string, _a1 *godo.DatabaseCreateDBRequest) (*do.DatabaseDB, error)
- func (_m *DatabasesService) CreatePool(_a0 string, _a1 *godo.DatabaseCreatePoolRequest) (*do.DatabasePool, error)
- func (_m *DatabasesService) CreateReplica(_a0 string, _a1 *godo.DatabaseCreateReplicaRequest) (*do.DatabaseReplica, error)
- func (_m *DatabasesService) CreateUser(_a0 string, _a1 *godo.DatabaseCreateUserRequest) (*do.DatabaseUser, error)
- func (_m *DatabasesService) Delete(_a0 string) error
- func (_m *DatabasesService) DeleteDB(_a0 string, _a1 string) error
- func (_m *DatabasesService) DeletePool(_a0 string, _a1 string) error
- func (_m *DatabasesService) DeleteReplica(_a0 string, _a1 string) error
- func (_m *DatabasesService) DeleteUser(_a0 string, _a1 string) error
- func (_m *DatabasesService) Get(_a0 string) (*do.Database, error)
- func (_m *DatabasesService) GetConnection(_a0 string) (*do.DatabaseConnection, error)
- func (_m *DatabasesService) GetDB(_a0 string, _a1 string) (*do.DatabaseDB, error)
- func (_m *DatabasesService) GetMaintenance(_a0 string) (*do.DatabaseMaintenanceWindow, error)
- func (_m *DatabasesService) GetPool(_a0 string, _a1 string) (*do.DatabasePool, error)
- func (_m *DatabasesService) GetReplica(_a0 string, _a1 string) (*do.DatabaseReplica, error)
- func (_m *DatabasesService) GetReplicaConnection(_a0 string, _a1 string) (*do.DatabaseConnection, error)
- func (_m *DatabasesService) GetUser(_a0 string, _a1 string) (*do.DatabaseUser, error)
- func (_m *DatabasesService) List() (do.Databases, error)
- func (_m *DatabasesService) ListBackups(_a0 string) (do.DatabaseBackups, error)
- func (_m *DatabasesService) ListDBs(_a0 string) (do.DatabaseDBs, error)
- func (_m *DatabasesService) ListPools(_a0 string) (do.DatabasePools, error)
- func (_m *DatabasesService) ListReplicas(_a0 string) (do.DatabaseReplicas, error)
- func (_m *DatabasesService) ListUsers(_a0 string) (do.DatabaseUsers, error)
- func (_m *DatabasesService) Migrate(_a0 string, _a1 *godo.DatabaseMigrateRequest) error
- func (_m *DatabasesService) Resize(_a0 string, _a1 *godo.DatabaseResizeRequest) error
- func (_m *DatabasesService) UpdateMaintenance(_a0 string, _a1 *godo.DatabaseUpdateMaintenanceRequest) error
- 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) DisableBackupsByTag(_a0 string) (do.Actions, error)
- func (_m *DropletActionsService) EnableBackups(_a0 int) (*do.Action, error)
- func (_m *DropletActionsService) EnableBackupsByTag(_a0 string) (do.Actions, error)
- func (_m *DropletActionsService) EnableIPv6(_a0 int) (*do.Action, error)
- func (_m *DropletActionsService) EnableIPv6ByTag(_a0 string) (do.Actions, error)
- func (_m *DropletActionsService) EnablePrivateNetworking(_a0 int) (*do.Action, error)
- func (_m *DropletActionsService) EnablePrivateNetworkingByTag(_a0 string) (do.Actions, 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) PowerCycleByTag(_a0 string) (do.Actions, error)
- func (_m *DropletActionsService) PowerOff(_a0 int) (*do.Action, error)
- func (_m *DropletActionsService) PowerOffByTag(_a0 string) (do.Actions, error)
- func (_m *DropletActionsService) PowerOn(_a0 int) (*do.Action, error)
- func (_m *DropletActionsService) PowerOnByTag(_a0 string) (do.Actions, 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) ShutdownByTag(_a0 string) (do.Actions, error)
- func (_m *DropletActionsService) Snapshot(_a0 int, _a1 string) (*do.Action, error)
- func (_m *DropletActionsService) SnapshotByTag(_a0 string, _a1 string) (do.Actions, 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 FirewallsService
- func (_m *FirewallsService) AddDroplets(fID string, dIDs ...int) error
- func (_m *FirewallsService) AddRules(fID string, rr *godo.FirewallRulesRequest) error
- func (_m *FirewallsService) AddTags(fID string, tags ...string) error
- func (_m *FirewallsService) Create(fr *godo.FirewallRequest) (*do.Firewall, error)
- func (_m *FirewallsService) Delete(fID string) error
- func (_m *FirewallsService) Get(fID string) (*do.Firewall, error)
- func (_m *FirewallsService) List() (do.Firewalls, error)
- func (_m *FirewallsService) ListByDroplet(dID int) (do.Firewalls, error)
- func (_m *FirewallsService) RemoveDroplets(fID string, dIDs ...int) error
- func (_m *FirewallsService) RemoveRules(fID string, rr *godo.FirewallRulesRequest) error
- func (_m *FirewallsService) RemoveTags(fID string, tags ...string) error
- func (_m *FirewallsService) Update(fID string, fr *godo.FirewallRequest) (*do.Firewall, 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 KubernetesService
- func (_m *KubernetesService) Create(create *godo.KubernetesClusterCreateRequest) (*do.KubernetesCluster, error)
- func (_m *KubernetesService) CreateNodePool(clusterID string, req *godo.KubernetesNodePoolCreateRequest) (*do.KubernetesNodePool, error)
- func (_m *KubernetesService) Delete(clusterID string) error
- func (_m *KubernetesService) DeleteNode(clusterID string, poolID string, nodeID string, ...) error
- func (_m *KubernetesService) DeleteNodePool(clusterID string, poolID string) error
- func (_m *KubernetesService) Get(clusterID string) (*do.KubernetesCluster, error)
- func (_m *KubernetesService) GetKubeConfig(clusterID string) ([]byte, error)
- func (_m *KubernetesService) GetNodePool(clusterID string, poolID string) (*do.KubernetesNodePool, error)
- func (_m *KubernetesService) GetNodeSizes() (do.KubernetesNodeSizes, error)
- func (_m *KubernetesService) GetRegions() (do.KubernetesRegions, error)
- func (_m *KubernetesService) GetUpgrades(clusterID string) (do.KubernetesVersions, error)
- func (_m *KubernetesService) GetVersions() (do.KubernetesVersions, error)
- func (_m *KubernetesService) List() (do.KubernetesClusters, error)
- func (_m *KubernetesService) ListNodePools(clusterID string) (do.KubernetesNodePools, error)
- func (_m *KubernetesService) RecycleNodePoolNodes(clusterID string, poolID string, ...) error
- func (_m *KubernetesService) Update(clusterID string, update *godo.KubernetesClusterUpdateRequest) (*do.KubernetesCluster, error)
- func (_m *KubernetesService) UpdateNodePool(clusterID string, poolID string, req *godo.KubernetesNodePoolUpdateRequest) (*do.KubernetesNodePool, error)
- func (_m *KubernetesService) Upgrade(clusterID string, versionSlug string) error
- type LoadBalancersService
- func (_m *LoadBalancersService) AddDroplets(lbID string, dIDs ...int) error
- func (_m *LoadBalancersService) AddForwardingRules(lbID string, rules ...godo.ForwardingRule) error
- func (_m *LoadBalancersService) Create(lbr *godo.LoadBalancerRequest) (*do.LoadBalancer, error)
- func (_m *LoadBalancersService) Delete(lbID string) error
- func (_m *LoadBalancersService) Get(lbID string) (*do.LoadBalancer, error)
- func (_m *LoadBalancersService) List() (do.LoadBalancers, error)
- func (_m *LoadBalancersService) RemoveDroplets(lbID string, dIDs ...int) error
- func (_m *LoadBalancersService) RemoveForwardingRules(lbID string, rules ...godo.ForwardingRule) error
- func (_m *LoadBalancersService) Update(lbID string, lbr *godo.LoadBalancerRequest) (*do.LoadBalancer, error)
- type ProjectsService
- func (_m *ProjectsService) AssignResources(projectUUID string, resources []string) (do.ProjectResources, error)
- func (_m *ProjectsService) Create(_a0 *godo.CreateProjectRequest) (*do.Project, error)
- func (_m *ProjectsService) Delete(projectUUID string) error
- func (_m *ProjectsService) Get(projectUUID string) (*do.Project, error)
- func (_m *ProjectsService) GetDefault() (*do.Project, error)
- func (_m *ProjectsService) List() (do.Projects, error)
- func (_m *ProjectsService) ListResources(projectUUID string) (do.ProjectResources, error)
- func (_m *ProjectsService) Update(projectUUID string, req *godo.UpdateProjectRequest) (*do.Project, error)
- type RegionsService
- type SizesService
- type SnapshotsService
- func (_m *SnapshotsService) Delete(_a0 string) error
- func (_m *SnapshotsService) Get(_a0 string) (*do.Snapshot, error)
- func (_m *SnapshotsService) List() (do.Snapshots, error)
- func (_m *SnapshotsService) ListDroplet() (do.Snapshots, error)
- func (_m *SnapshotsService) ListVolume() (do.Snapshots, error)
- 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
- type VolumeActionsService
- func (_m *VolumeActionsService) Attach(_a0 string, _a1 int) (*do.Action, error)
- func (_m *VolumeActionsService) Detach(_a0 string, _a1 int) (*do.Action, error)
- func (_m *VolumeActionsService) Get(_a0 string, _a1 int) (*do.Action, error)
- func (_m *VolumeActionsService) List(_a0 string, _a1 *godo.ListOptions) ([]do.Action, error)
- func (_m *VolumeActionsService) Resize(_a0 string, _a1 int, _a2 string) (*do.Action, error)
- type VolumesService
- func (_m *VolumesService) CreateSnapshot(_a0 *godo.SnapshotCreateRequest) (*do.Snapshot, error)
- func (_m *VolumesService) CreateVolume(_a0 *godo.VolumeCreateRequest) (*do.Volume, error)
- func (_m *VolumesService) DeleteSnapshot(_a0 string) error
- func (_m *VolumesService) DeleteVolume(_a0 string) error
- func (_m *VolumesService) Get(_a0 string) (*do.Volume, error)
- func (_m *VolumesService) GetSnapshot(_a0 string) (*do.Snapshot, error)
- func (_m *VolumesService) List() ([]do.Volume, error)
- func (_m *VolumesService) ListSnapshots(_a0 string, _a1 *godo.ListOptions) ([]do.Snapshot, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccountService ¶
AccountService is an autogenerated mock type for the AccountService type
type ActionsService ¶
ActionsService is an autogenerated mock type for the ActionsService type
type CDNsService ¶ added in v1.20.0
CDNsService is an autogenerated mock type for the CDNsService type
func (*CDNsService) Create ¶ added in v1.20.0
func (_m *CDNsService) Create(_a0 *godo.CDNCreateRequest) (*do.CDN, error)
Create provides a mock function with given fields: _a0
func (*CDNsService) Delete ¶ added in v1.20.0
func (_m *CDNsService) Delete(_a0 string) error
Delete provides a mock function with given fields: _a0
func (*CDNsService) FlushCache ¶ added in v1.20.0
func (_m *CDNsService) FlushCache(_a0 string, _a1 *godo.CDNFlushCacheRequest) error
FlushCache provides a mock function with given fields: _a0, _a1
func (*CDNsService) Get ¶ added in v1.20.0
func (_m *CDNsService) Get(_a0 string) (*do.CDN, error)
Get provides a mock function with given fields: _a0
func (*CDNsService) List ¶ added in v1.20.0
func (_m *CDNsService) List() ([]do.CDN, error)
List provides a mock function with given fields:
func (*CDNsService) UpdateCustomDomain ¶ added in v1.20.0
func (_m *CDNsService) UpdateCustomDomain(_a0 string, _a1 *godo.CDNUpdateCustomDomainRequest) (*do.CDN, error)
UpdateCustomDomain provides a mock function with given fields: _a0, _a1
func (*CDNsService) UpdateTTL ¶ added in v1.20.0
func (_m *CDNsService) UpdateTTL(_a0 string, _a1 *godo.CDNUpdateTTLRequest) (*do.CDN, error)
UpdateTTL provides a mock function with given fields: _a0, _a1
type CertificatesService ¶ added in v1.6.0
CertificatesService is an autogenerated mock type for the CertificatesService type
func (*CertificatesService) Create ¶ added in v1.6.0
func (_m *CertificatesService) Create(cr *godo.CertificateRequest) (*do.Certificate, error)
Create provides a mock function with given fields: cr
func (*CertificatesService) Delete ¶ added in v1.6.0
func (_m *CertificatesService) Delete(cID string) error
Delete provides a mock function with given fields: cID
func (*CertificatesService) Get ¶ added in v1.6.0
func (_m *CertificatesService) Get(cID string) (*do.Certificate, error)
Get provides a mock function with given fields: cID
func (*CertificatesService) List ¶ added in v1.6.0
func (_m *CertificatesService) List() (do.Certificates, error)
List provides a mock function with given fields:
type DatabasesService ¶ added in v1.20.0
DatabasesService is an autogenerated mock type for the DatabasesService type
func (*DatabasesService) Create ¶ added in v1.20.0
func (_m *DatabasesService) Create(_a0 *godo.DatabaseCreateRequest) (*do.Database, error)
Create provides a mock function with given fields: _a0
func (*DatabasesService) CreateDB ¶ added in v1.20.0
func (_m *DatabasesService) CreateDB(_a0 string, _a1 *godo.DatabaseCreateDBRequest) (*do.DatabaseDB, error)
CreateDB provides a mock function with given fields: _a0, _a1
func (*DatabasesService) CreatePool ¶ added in v1.20.0
func (_m *DatabasesService) CreatePool(_a0 string, _a1 *godo.DatabaseCreatePoolRequest) (*do.DatabasePool, error)
CreatePool provides a mock function with given fields: _a0, _a1
func (*DatabasesService) CreateReplica ¶ added in v1.20.0
func (_m *DatabasesService) CreateReplica(_a0 string, _a1 *godo.DatabaseCreateReplicaRequest) (*do.DatabaseReplica, error)
CreateReplica provides a mock function with given fields: _a0, _a1
func (*DatabasesService) CreateUser ¶ added in v1.20.0
func (_m *DatabasesService) CreateUser(_a0 string, _a1 *godo.DatabaseCreateUserRequest) (*do.DatabaseUser, error)
CreateUser provides a mock function with given fields: _a0, _a1
func (*DatabasesService) Delete ¶ added in v1.20.0
func (_m *DatabasesService) Delete(_a0 string) error
Delete provides a mock function with given fields: _a0
func (*DatabasesService) DeleteDB ¶ added in v1.20.0
func (_m *DatabasesService) DeleteDB(_a0 string, _a1 string) error
DeleteDB provides a mock function with given fields: _a0, _a1
func (*DatabasesService) DeletePool ¶ added in v1.20.0
func (_m *DatabasesService) DeletePool(_a0 string, _a1 string) error
DeletePool provides a mock function with given fields: _a0, _a1
func (*DatabasesService) DeleteReplica ¶ added in v1.20.0
func (_m *DatabasesService) DeleteReplica(_a0 string, _a1 string) error
DeleteReplica provides a mock function with given fields: _a0, _a1
func (*DatabasesService) DeleteUser ¶ added in v1.20.0
func (_m *DatabasesService) DeleteUser(_a0 string, _a1 string) error
DeleteUser provides a mock function with given fields: _a0, _a1
func (*DatabasesService) Get ¶ added in v1.20.0
func (_m *DatabasesService) Get(_a0 string) (*do.Database, error)
Get provides a mock function with given fields: _a0
func (*DatabasesService) GetConnection ¶ added in v1.20.0
func (_m *DatabasesService) GetConnection(_a0 string) (*do.DatabaseConnection, error)
GetConnection provides a mock function with given fields: _a0
func (*DatabasesService) GetDB ¶ added in v1.20.0
func (_m *DatabasesService) GetDB(_a0 string, _a1 string) (*do.DatabaseDB, error)
GetDB provides a mock function with given fields: _a0, _a1
func (*DatabasesService) GetMaintenance ¶ added in v1.20.0
func (_m *DatabasesService) GetMaintenance(_a0 string) (*do.DatabaseMaintenanceWindow, error)
GetMaintenance provides a mock function with given fields: _a0
func (*DatabasesService) GetPool ¶ added in v1.20.0
func (_m *DatabasesService) GetPool(_a0 string, _a1 string) (*do.DatabasePool, error)
GetPool provides a mock function with given fields: _a0, _a1
func (*DatabasesService) GetReplica ¶ added in v1.20.0
func (_m *DatabasesService) GetReplica(_a0 string, _a1 string) (*do.DatabaseReplica, error)
GetReplica provides a mock function with given fields: _a0, _a1
func (*DatabasesService) GetReplicaConnection ¶ added in v1.20.0
func (_m *DatabasesService) GetReplicaConnection(_a0 string, _a1 string) (*do.DatabaseConnection, error)
GetReplicaConnection provides a mock function with given fields: _a0, _a1
func (*DatabasesService) GetUser ¶ added in v1.20.0
func (_m *DatabasesService) GetUser(_a0 string, _a1 string) (*do.DatabaseUser, error)
GetUser provides a mock function with given fields: _a0, _a1
func (*DatabasesService) List ¶ added in v1.20.0
func (_m *DatabasesService) List() (do.Databases, error)
List provides a mock function with given fields:
func (*DatabasesService) ListBackups ¶ added in v1.20.0
func (_m *DatabasesService) ListBackups(_a0 string) (do.DatabaseBackups, error)
ListBackups provides a mock function with given fields: _a0
func (*DatabasesService) ListDBs ¶ added in v1.20.0
func (_m *DatabasesService) ListDBs(_a0 string) (do.DatabaseDBs, error)
ListDBs provides a mock function with given fields: _a0
func (*DatabasesService) ListPools ¶ added in v1.20.0
func (_m *DatabasesService) ListPools(_a0 string) (do.DatabasePools, error)
ListPools provides a mock function with given fields: _a0
func (*DatabasesService) ListReplicas ¶ added in v1.20.0
func (_m *DatabasesService) ListReplicas(_a0 string) (do.DatabaseReplicas, error)
ListReplicas provides a mock function with given fields: _a0
func (*DatabasesService) ListUsers ¶ added in v1.20.0
func (_m *DatabasesService) ListUsers(_a0 string) (do.DatabaseUsers, error)
ListUsers provides a mock function with given fields: _a0
func (*DatabasesService) Migrate ¶ added in v1.20.0
func (_m *DatabasesService) Migrate(_a0 string, _a1 *godo.DatabaseMigrateRequest) error
Migrate provides a mock function with given fields: _a0, _a1
func (*DatabasesService) Resize ¶ added in v1.20.0
func (_m *DatabasesService) Resize(_a0 string, _a1 *godo.DatabaseResizeRequest) error
Resize provides a mock function with given fields: _a0, _a1
func (*DatabasesService) UpdateMaintenance ¶ added in v1.20.0
func (_m *DatabasesService) UpdateMaintenance(_a0 string, _a1 *godo.DatabaseUpdateMaintenanceRequest) error
UpdateMaintenance provides a mock function with given fields: _a0, _a1
type DomainsService ¶
DomainsService is an autogenerated mock type for the DomainsService type
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 ¶
DropletActionsService is an autogenerated mock type for the DropletActionsService type
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) DisableBackupsByTag ¶ added in v1.6.1
func (_m *DropletActionsService) DisableBackupsByTag(_a0 string) (do.Actions, error)
DisableBackupsByTag 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) EnableBackupsByTag ¶ added in v1.6.1
func (_m *DropletActionsService) EnableBackupsByTag(_a0 string) (do.Actions, error)
EnableBackupsByTag 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) EnableIPv6ByTag ¶ added in v1.6.1
func (_m *DropletActionsService) EnableIPv6ByTag(_a0 string) (do.Actions, error)
EnableIPv6ByTag 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) EnablePrivateNetworkingByTag ¶ added in v1.6.1
func (_m *DropletActionsService) EnablePrivateNetworkingByTag(_a0 string) (do.Actions, error)
EnablePrivateNetworkingByTag 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) PowerCycleByTag ¶ added in v1.6.1
func (_m *DropletActionsService) PowerCycleByTag(_a0 string) (do.Actions, error)
PowerCycleByTag 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) PowerOffByTag ¶ added in v1.6.1
func (_m *DropletActionsService) PowerOffByTag(_a0 string) (do.Actions, error)
PowerOffByTag 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) PowerOnByTag ¶ added in v1.6.1
func (_m *DropletActionsService) PowerOnByTag(_a0 string) (do.Actions, error)
PowerOnByTag 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
func (*DropletActionsService) ShutdownByTag ¶ added in v1.6.1
func (_m *DropletActionsService) ShutdownByTag(_a0 string) (do.Actions, error)
ShutdownByTag provides a mock function with given fields: _a0
func (*DropletActionsService) Snapshot ¶
Snapshot provides a mock function with given fields: _a0, _a1
func (*DropletActionsService) SnapshotByTag ¶ added in v1.6.1
SnapshotByTag provides a mock function with given fields: _a0, _a1
type DropletsService ¶
DropletsService is an autogenerated mock type for the DropletsService type
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) DeleteByTag ¶ added in v1.1.0
func (_m *DropletsService) DeleteByTag(_a0 string) error
DeleteByTag 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:
func (*DropletsService) ListByTag ¶ added in v1.1.0
func (_m *DropletsService) ListByTag(_a0 string) (do.Droplets, error)
ListByTag provides a mock function with given fields: _a0
type FirewallsService ¶ added in v1.7.0
FirewallsService is an autogenerated mock type for the FirewallsService type
func (*FirewallsService) AddDroplets ¶ added in v1.7.0
func (_m *FirewallsService) AddDroplets(fID string, dIDs ...int) error
AddDroplets provides a mock function with given fields: fID, dIDs
func (*FirewallsService) AddRules ¶ added in v1.7.0
func (_m *FirewallsService) AddRules(fID string, rr *godo.FirewallRulesRequest) error
AddRules provides a mock function with given fields: fID, rr
func (*FirewallsService) AddTags ¶ added in v1.7.0
func (_m *FirewallsService) AddTags(fID string, tags ...string) error
AddTags provides a mock function with given fields: fID, tags
func (*FirewallsService) Create ¶ added in v1.7.0
func (_m *FirewallsService) Create(fr *godo.FirewallRequest) (*do.Firewall, error)
Create provides a mock function with given fields: fr
func (*FirewallsService) Delete ¶ added in v1.7.0
func (_m *FirewallsService) Delete(fID string) error
Delete provides a mock function with given fields: fID
func (*FirewallsService) Get ¶ added in v1.7.0
func (_m *FirewallsService) Get(fID string) (*do.Firewall, error)
Get provides a mock function with given fields: fID
func (*FirewallsService) List ¶ added in v1.7.0
func (_m *FirewallsService) List() (do.Firewalls, error)
List provides a mock function with given fields:
func (*FirewallsService) ListByDroplet ¶ added in v1.7.0
func (_m *FirewallsService) ListByDroplet(dID int) (do.Firewalls, error)
ListByDroplet provides a mock function with given fields: dID
func (*FirewallsService) RemoveDroplets ¶ added in v1.7.0
func (_m *FirewallsService) RemoveDroplets(fID string, dIDs ...int) error
RemoveDroplets provides a mock function with given fields: fID, dIDs
func (*FirewallsService) RemoveRules ¶ added in v1.7.0
func (_m *FirewallsService) RemoveRules(fID string, rr *godo.FirewallRulesRequest) error
RemoveRules provides a mock function with given fields: fID, rr
func (*FirewallsService) RemoveTags ¶ added in v1.7.0
func (_m *FirewallsService) RemoveTags(fID string, tags ...string) error
RemoveTags provides a mock function with given fields: fID, tags
func (*FirewallsService) Update ¶ added in v1.7.0
func (_m *FirewallsService) Update(fID string, fr *godo.FirewallRequest) (*do.Firewall, error)
Update provides a mock function with given fields: fID, fr
type FloatingIPActionsService ¶
FloatingIPActionsService is an autogenerated mock type for the FloatingIPActionsService type
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 ¶
FloatingIPsService is an autogenerated mock type for the FloatingIPsService type
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 ¶
ImageActionsService is an autogenerated mock type for the ImageActionsService type
func (*ImageActionsService) Convert ¶ added in v1.6.1
func (_m *ImageActionsService) Convert(_a0 int) (*do.Action, error)
Convert provides a mock function with given fields: _a0
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 ¶
ImagesService is an autogenerated mock type for the ImagesService type
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 ¶
KeysService is an autogenerated mock type for the KeysService type
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
type KubernetesService ¶ added in v1.20.0
KubernetesService is an autogenerated mock type for the KubernetesService type
func (*KubernetesService) Create ¶ added in v1.20.0
func (_m *KubernetesService) Create(create *godo.KubernetesClusterCreateRequest) (*do.KubernetesCluster, error)
Create provides a mock function with given fields: create
func (*KubernetesService) CreateNodePool ¶ added in v1.20.0
func (_m *KubernetesService) CreateNodePool(clusterID string, req *godo.KubernetesNodePoolCreateRequest) (*do.KubernetesNodePool, error)
CreateNodePool provides a mock function with given fields: clusterID, req
func (*KubernetesService) Delete ¶ added in v1.20.0
func (_m *KubernetesService) Delete(clusterID string) error
Delete provides a mock function with given fields: clusterID
func (*KubernetesService) DeleteNode ¶ added in v1.20.0
func (_m *KubernetesService) DeleteNode(clusterID string, poolID string, nodeID string, req *godo.KubernetesNodeDeleteRequest) error
DeleteNode provides a mock function with given fields: clusterID, poolID, nodeID, req
func (*KubernetesService) DeleteNodePool ¶ added in v1.20.0
func (_m *KubernetesService) DeleteNodePool(clusterID string, poolID string) error
DeleteNodePool provides a mock function with given fields: clusterID, poolID
func (*KubernetesService) Get ¶ added in v1.20.0
func (_m *KubernetesService) Get(clusterID string) (*do.KubernetesCluster, error)
Get provides a mock function with given fields: clusterID
func (*KubernetesService) GetKubeConfig ¶ added in v1.20.0
func (_m *KubernetesService) GetKubeConfig(clusterID string) ([]byte, error)
GetKubeConfig provides a mock function with given fields: clusterID
func (*KubernetesService) GetNodePool ¶ added in v1.20.0
func (_m *KubernetesService) GetNodePool(clusterID string, poolID string) (*do.KubernetesNodePool, error)
GetNodePool provides a mock function with given fields: clusterID, poolID
func (*KubernetesService) GetNodeSizes ¶ added in v1.20.0
func (_m *KubernetesService) GetNodeSizes() (do.KubernetesNodeSizes, error)
GetNodeSizes provides a mock function with given fields:
func (*KubernetesService) GetRegions ¶ added in v1.20.0
func (_m *KubernetesService) GetRegions() (do.KubernetesRegions, error)
GetRegions provides a mock function with given fields:
func (*KubernetesService) GetUpgrades ¶ added in v1.20.0
func (_m *KubernetesService) GetUpgrades(clusterID string) (do.KubernetesVersions, error)
GetUpgrades provides a mock function with given fields: clusterID
func (*KubernetesService) GetVersions ¶ added in v1.20.0
func (_m *KubernetesService) GetVersions() (do.KubernetesVersions, error)
GetVersions provides a mock function with given fields:
func (*KubernetesService) List ¶ added in v1.20.0
func (_m *KubernetesService) List() (do.KubernetesClusters, error)
List provides a mock function with given fields:
func (*KubernetesService) ListNodePools ¶ added in v1.20.0
func (_m *KubernetesService) ListNodePools(clusterID string) (do.KubernetesNodePools, error)
ListNodePools provides a mock function with given fields: clusterID
func (*KubernetesService) RecycleNodePoolNodes ¶ added in v1.20.0
func (_m *KubernetesService) RecycleNodePoolNodes(clusterID string, poolID string, req *godo.KubernetesNodePoolRecycleNodesRequest) error
RecycleNodePoolNodes provides a mock function with given fields: clusterID, poolID, req
func (*KubernetesService) Update ¶ added in v1.20.0
func (_m *KubernetesService) Update(clusterID string, update *godo.KubernetesClusterUpdateRequest) (*do.KubernetesCluster, error)
Update provides a mock function with given fields: clusterID, update
func (*KubernetesService) UpdateNodePool ¶ added in v1.20.0
func (_m *KubernetesService) UpdateNodePool(clusterID string, poolID string, req *godo.KubernetesNodePoolUpdateRequest) (*do.KubernetesNodePool, error)
UpdateNodePool provides a mock function with given fields: clusterID, poolID, req
type LoadBalancersService ¶ added in v1.6.0
LoadBalancersService is an autogenerated mock type for the LoadBalancersService type
func (*LoadBalancersService) AddDroplets ¶ added in v1.6.0
func (_m *LoadBalancersService) AddDroplets(lbID string, dIDs ...int) error
AddDroplets provides a mock function with given fields: lbID, dIDs
func (*LoadBalancersService) AddForwardingRules ¶ added in v1.6.0
func (_m *LoadBalancersService) AddForwardingRules(lbID string, rules ...godo.ForwardingRule) error
AddForwardingRules provides a mock function with given fields: lbID, rules
func (*LoadBalancersService) Create ¶ added in v1.6.0
func (_m *LoadBalancersService) Create(lbr *godo.LoadBalancerRequest) (*do.LoadBalancer, error)
Create provides a mock function with given fields: lbr
func (*LoadBalancersService) Delete ¶ added in v1.6.0
func (_m *LoadBalancersService) Delete(lbID string) error
Delete provides a mock function with given fields: lbID
func (*LoadBalancersService) Get ¶ added in v1.6.0
func (_m *LoadBalancersService) Get(lbID string) (*do.LoadBalancer, error)
Get provides a mock function with given fields: lbID
func (*LoadBalancersService) List ¶ added in v1.6.0
func (_m *LoadBalancersService) List() (do.LoadBalancers, error)
List provides a mock function with given fields:
func (*LoadBalancersService) RemoveDroplets ¶ added in v1.6.0
func (_m *LoadBalancersService) RemoveDroplets(lbID string, dIDs ...int) error
RemoveDroplets provides a mock function with given fields: lbID, dIDs
func (*LoadBalancersService) RemoveForwardingRules ¶ added in v1.6.0
func (_m *LoadBalancersService) RemoveForwardingRules(lbID string, rules ...godo.ForwardingRule) error
RemoveForwardingRules provides a mock function with given fields: lbID, rules
func (*LoadBalancersService) Update ¶ added in v1.6.0
func (_m *LoadBalancersService) Update(lbID string, lbr *godo.LoadBalancerRequest) (*do.LoadBalancer, error)
Update provides a mock function with given fields: lbID, lbr
type ProjectsService ¶ added in v1.20.0
ProjectsService is an autogenerated mock type for the ProjectsService type
func (*ProjectsService) AssignResources ¶ added in v1.20.0
func (_m *ProjectsService) AssignResources(projectUUID string, resources []string) (do.ProjectResources, error)
AssignResources provides a mock function with given fields: projectUUID, resources
func (*ProjectsService) Create ¶ added in v1.20.0
func (_m *ProjectsService) Create(_a0 *godo.CreateProjectRequest) (*do.Project, error)
Create provides a mock function with given fields: _a0
func (*ProjectsService) Delete ¶ added in v1.20.0
func (_m *ProjectsService) Delete(projectUUID string) error
Delete provides a mock function with given fields: projectUUID
func (*ProjectsService) Get ¶ added in v1.20.0
func (_m *ProjectsService) Get(projectUUID string) (*do.Project, error)
Get provides a mock function with given fields: projectUUID
func (*ProjectsService) GetDefault ¶ added in v1.20.0
func (_m *ProjectsService) GetDefault() (*do.Project, error)
GetDefault provides a mock function with given fields:
func (*ProjectsService) List ¶ added in v1.20.0
func (_m *ProjectsService) List() (do.Projects, error)
List provides a mock function with given fields:
func (*ProjectsService) ListResources ¶ added in v1.20.0
func (_m *ProjectsService) ListResources(projectUUID string) (do.ProjectResources, error)
ListResources provides a mock function with given fields: projectUUID
func (*ProjectsService) Update ¶ added in v1.20.0
func (_m *ProjectsService) Update(projectUUID string, req *godo.UpdateProjectRequest) (*do.Project, error)
Update provides a mock function with given fields: projectUUID, req
type RegionsService ¶
RegionsService is an autogenerated mock type for the RegionsService type
type SizesService ¶
SizesService is an autogenerated mock type for the SizesService type
type SnapshotsService ¶ added in v1.6.0
SnapshotsService is an autogenerated mock type for the SnapshotsService type
func (*SnapshotsService) Delete ¶ added in v1.6.0
func (_m *SnapshotsService) Delete(_a0 string) error
Delete provides a mock function with given fields: _a0
func (*SnapshotsService) Get ¶ added in v1.6.0
func (_m *SnapshotsService) Get(_a0 string) (*do.Snapshot, error)
Get provides a mock function with given fields: _a0
func (*SnapshotsService) List ¶ added in v1.6.0
func (_m *SnapshotsService) List() (do.Snapshots, error)
List provides a mock function with given fields:
func (*SnapshotsService) ListDroplet ¶ added in v1.6.0
func (_m *SnapshotsService) ListDroplet() (do.Snapshots, error)
ListDroplet provides a mock function with given fields:
func (*SnapshotsService) ListVolume ¶ added in v1.6.0
func (_m *SnapshotsService) ListVolume() (do.Snapshots, error)
ListVolume provides a mock function with given fields:
type TagsService ¶ added in v1.1.0
TagsService is an autogenerated mock type for the TagsService type
func (*TagsService) Create ¶ added in v1.1.0
func (_m *TagsService) Create(_a0 *godo.TagCreateRequest) (*do.Tag, error)
Create provides a mock function with given fields: _a0
func (*TagsService) Delete ¶ added in v1.1.0
func (_m *TagsService) Delete(_a0 string) error
Delete provides a mock function with given fields: _a0
func (*TagsService) Get ¶ added in v1.1.0
func (_m *TagsService) Get(_a0 string) (*do.Tag, error)
Get provides a mock function with given fields: _a0
func (*TagsService) List ¶ added in v1.1.0
func (_m *TagsService) List() (do.Tags, error)
List provides a mock function with given fields:
func (*TagsService) TagResources ¶ added in v1.1.0
func (_m *TagsService) TagResources(_a0 string, _a1 *godo.TagResourcesRequest) error
TagResources provides a mock function with given fields: _a0, _a1
func (*TagsService) UntagResources ¶ added in v1.1.0
func (_m *TagsService) UntagResources(_a0 string, _a1 *godo.UntagResourcesRequest) error
UntagResources provides a mock function with given fields: _a0, _a1
type VolumeActionsService ¶ added in v1.3.0
VolumeActionsService is an autogenerated mock type for the VolumeActionsService type
func (*VolumeActionsService) Attach ¶ added in v1.3.0
Attach provides a mock function with given fields: _a0, _a1
func (*VolumeActionsService) Detach ¶ added in v1.3.0
Detach provides a mock function with given fields: _a0, _a1
func (*VolumeActionsService) Get ¶ added in v1.6.1
Get provides a mock function with given fields: _a0, _a1
func (*VolumeActionsService) List ¶ added in v1.6.1
func (_m *VolumeActionsService) List(_a0 string, _a1 *godo.ListOptions) ([]do.Action, error)
List provides a mock function with given fields: _a0, _a1
type VolumesService ¶ added in v1.3.0
VolumesService is an autogenerated mock type for the VolumesService type
func (*VolumesService) CreateSnapshot ¶ added in v1.6.0
func (_m *VolumesService) CreateSnapshot(_a0 *godo.SnapshotCreateRequest) (*do.Snapshot, error)
CreateSnapshot provides a mock function with given fields: _a0
func (*VolumesService) CreateVolume ¶ added in v1.3.0
func (_m *VolumesService) CreateVolume(_a0 *godo.VolumeCreateRequest) (*do.Volume, error)
CreateVolume provides a mock function with given fields: _a0
func (*VolumesService) DeleteSnapshot ¶ added in v1.6.1
func (_m *VolumesService) DeleteSnapshot(_a0 string) error
DeleteSnapshot provides a mock function with given fields: _a0
func (*VolumesService) DeleteVolume ¶ added in v1.3.0
func (_m *VolumesService) DeleteVolume(_a0 string) error
DeleteVolume provides a mock function with given fields: _a0
func (*VolumesService) Get ¶ added in v1.3.0
func (_m *VolumesService) Get(_a0 string) (*do.Volume, error)
Get provides a mock function with given fields: _a0
func (*VolumesService) GetSnapshot ¶ added in v1.6.1
func (_m *VolumesService) GetSnapshot(_a0 string) (*do.Snapshot, error)
GetSnapshot provides a mock function with given fields: _a0
func (*VolumesService) List ¶ added in v1.3.0
func (_m *VolumesService) List() ([]do.Volume, error)
List provides a mock function with given fields:
func (*VolumesService) ListSnapshots ¶ added in v1.6.1
func (_m *VolumesService) ListSnapshots(_a0 string, _a1 *godo.ListOptions) ([]do.Snapshot, error)
ListSnapshots provides a mock function with given fields: _a0, _a1
Source Files ¶
- AccountService.go
- ActionsService.go
- CDNsService.go
- CertificatesService.go
- DatabasesService.go
- DomainsService.go
- DropletActionsService.go
- DropletsService.go
- FirewallsService.go
- FloatingIPActionsService.go
- FloatingIPsService.go
- ImageActionsService.go
- ImagesService.go
- KeysService.go
- KubernetesService.go
- LoadBalancersService.go
- ProjectsService.go
- RegionsService.go
- SizesService.go
- SnapshotsService.go
- TagsService.go
- VolumeActionsService.go
- VolumesService.go