Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAccountService
- type MockAccountServiceMockRecorder
- type MockActionsService
- type MockActionsServiceMockRecorder
- type MockBalanceService
- type MockBalanceServiceMockRecorder
- type MockCDNsService
- func (m *MockCDNsService) Create(arg0 *godo.CDNCreateRequest) (*do.CDN, error)
- func (m *MockCDNsService) Delete(arg0 string) error
- func (m *MockCDNsService) EXPECT() *MockCDNsServiceMockRecorder
- func (m *MockCDNsService) FlushCache(arg0 string, arg1 *godo.CDNFlushCacheRequest) error
- func (m *MockCDNsService) Get(arg0 string) (*do.CDN, error)
- func (m *MockCDNsService) List() ([]do.CDN, error)
- func (m *MockCDNsService) UpdateCustomDomain(arg0 string, arg1 *godo.CDNUpdateCustomDomainRequest) (*do.CDN, error)
- func (m *MockCDNsService) UpdateTTL(arg0 string, arg1 *godo.CDNUpdateTTLRequest) (*do.CDN, error)
- type MockCDNsServiceMockRecorder
- func (mr *MockCDNsServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockCDNsServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockCDNsServiceMockRecorder) FlushCache(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCDNsServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockCDNsServiceMockRecorder) List() *gomock.Call
- func (mr *MockCDNsServiceMockRecorder) UpdateCustomDomain(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockCDNsServiceMockRecorder) UpdateTTL(arg0, arg1 interface{}) *gomock.Call
- type MockCertificatesService
- func (m *MockCertificatesService) Create(cr *godo.CertificateRequest) (*do.Certificate, error)
- func (m *MockCertificatesService) Delete(cID string) error
- func (m *MockCertificatesService) EXPECT() *MockCertificatesServiceMockRecorder
- func (m *MockCertificatesService) Get(cID string) (*do.Certificate, error)
- func (m *MockCertificatesService) List() (do.Certificates, error)
- type MockCertificatesServiceMockRecorder
- func (mr *MockCertificatesServiceMockRecorder) Create(cr interface{}) *gomock.Call
- func (mr *MockCertificatesServiceMockRecorder) Delete(cID interface{}) *gomock.Call
- func (mr *MockCertificatesServiceMockRecorder) Get(cID interface{}) *gomock.Call
- func (mr *MockCertificatesServiceMockRecorder) List() *gomock.Call
- type MockDatabasesService
- func (m *MockDatabasesService) Create(arg0 *godo.DatabaseCreateRequest) (*do.Database, error)
- func (m *MockDatabasesService) CreateDB(arg0 string, arg1 *godo.DatabaseCreateDBRequest) (*do.DatabaseDB, error)
- func (m *MockDatabasesService) CreatePool(arg0 string, arg1 *godo.DatabaseCreatePoolRequest) (*do.DatabasePool, error)
- func (m *MockDatabasesService) CreateReplica(arg0 string, arg1 *godo.DatabaseCreateReplicaRequest) (*do.DatabaseReplica, error)
- func (m *MockDatabasesService) CreateUser(arg0 string, arg1 *godo.DatabaseCreateUserRequest) (*do.DatabaseUser, error)
- func (m *MockDatabasesService) Delete(arg0 string) error
- func (m *MockDatabasesService) DeleteDB(arg0, arg1 string) error
- func (m *MockDatabasesService) DeletePool(arg0, arg1 string) error
- func (m *MockDatabasesService) DeleteReplica(arg0, arg1 string) error
- func (m *MockDatabasesService) DeleteUser(arg0, arg1 string) error
- func (m *MockDatabasesService) EXPECT() *MockDatabasesServiceMockRecorder
- func (m *MockDatabasesService) Get(arg0 string) (*do.Database, error)
- func (m *MockDatabasesService) GetConnection(arg0 string) (*do.DatabaseConnection, error)
- func (m *MockDatabasesService) GetDB(arg0, arg1 string) (*do.DatabaseDB, error)
- func (m *MockDatabasesService) GetMaintenance(arg0 string) (*do.DatabaseMaintenanceWindow, error)
- func (m *MockDatabasesService) GetPool(arg0, arg1 string) (*do.DatabasePool, error)
- func (m *MockDatabasesService) GetReplica(arg0, arg1 string) (*do.DatabaseReplica, error)
- func (m *MockDatabasesService) GetReplicaConnection(arg0, arg1 string) (*do.DatabaseConnection, error)
- func (m *MockDatabasesService) GetSQLMode(arg0 string) ([]string, error)
- func (m *MockDatabasesService) GetUser(arg0, arg1 string) (*do.DatabaseUser, error)
- func (m *MockDatabasesService) List() (do.Databases, error)
- func (m *MockDatabasesService) ListBackups(arg0 string) (do.DatabaseBackups, error)
- func (m *MockDatabasesService) ListDBs(arg0 string) (do.DatabaseDBs, error)
- func (m *MockDatabasesService) ListPools(arg0 string) (do.DatabasePools, error)
- func (m *MockDatabasesService) ListReplicas(arg0 string) (do.DatabaseReplicas, error)
- func (m *MockDatabasesService) ListUsers(arg0 string) (do.DatabaseUsers, error)
- func (m *MockDatabasesService) Migrate(arg0 string, arg1 *godo.DatabaseMigrateRequest) error
- func (m *MockDatabasesService) Resize(arg0 string, arg1 *godo.DatabaseResizeRequest) error
- func (m *MockDatabasesService) SetSQLMode(arg0 string, arg1 ...string) error
- func (m *MockDatabasesService) UpdateMaintenance(arg0 string, arg1 *godo.DatabaseUpdateMaintenanceRequest) error
- type MockDatabasesServiceMockRecorder
- func (mr *MockDatabasesServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) CreateDB(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) CreatePool(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) CreateReplica(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) DeleteDB(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) DeletePool(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) DeleteReplica(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetConnection(arg0 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetDB(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetMaintenance(arg0 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetPool(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetReplica(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetReplicaConnection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetSQLMode(arg0 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) List() *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ListBackups(arg0 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ListDBs(arg0 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ListPools(arg0 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ListReplicas(arg0 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ListUsers(arg0 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) Migrate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) Resize(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) SetSQLMode(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) UpdateMaintenance(arg0, arg1 interface{}) *gomock.Call
- type MockDomainsService
- func (m *MockDomainsService) Create(arg0 *godo.DomainCreateRequest) (*do.Domain, error)
- func (m *MockDomainsService) CreateRecord(arg0 string, arg1 *do.DomainRecordEditRequest) (*do.DomainRecord, error)
- func (m *MockDomainsService) Delete(arg0 string) error
- func (m *MockDomainsService) DeleteRecord(arg0 string, arg1 int) error
- func (m *MockDomainsService) EXPECT() *MockDomainsServiceMockRecorder
- func (m *MockDomainsService) EditRecord(arg0 string, arg1 int, arg2 *do.DomainRecordEditRequest) (*do.DomainRecord, error)
- func (m *MockDomainsService) Get(arg0 string) (*do.Domain, error)
- func (m *MockDomainsService) List() (do.Domains, error)
- func (m *MockDomainsService) Record(arg0 string, arg1 int) (*do.DomainRecord, error)
- func (m *MockDomainsService) Records(arg0 string) (do.DomainRecords, error)
- type MockDomainsServiceMockRecorder
- func (mr *MockDomainsServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) CreateRecord(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) DeleteRecord(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) EditRecord(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) List() *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) Record(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) Records(arg0 interface{}) *gomock.Call
- type MockDropletActionsService
- func (m *MockDropletActionsService) ChangeKernel(arg0, arg1 int) (*do.Action, error)
- func (m *MockDropletActionsService) DisableBackups(arg0 int) (*do.Action, error)
- func (m *MockDropletActionsService) DisableBackupsByTag(arg0 string) (do.Actions, error)
- func (m *MockDropletActionsService) EXPECT() *MockDropletActionsServiceMockRecorder
- func (m *MockDropletActionsService) EnableBackups(arg0 int) (*do.Action, error)
- func (m *MockDropletActionsService) EnableBackupsByTag(arg0 string) (do.Actions, error)
- func (m *MockDropletActionsService) EnableIPv6(arg0 int) (*do.Action, error)
- func (m *MockDropletActionsService) EnableIPv6ByTag(arg0 string) (do.Actions, error)
- func (m *MockDropletActionsService) EnablePrivateNetworking(arg0 int) (*do.Action, error)
- func (m *MockDropletActionsService) EnablePrivateNetworkingByTag(arg0 string) (do.Actions, error)
- func (m *MockDropletActionsService) Get(arg0, arg1 int) (*do.Action, error)
- func (m *MockDropletActionsService) GetByURI(arg0 string) (*do.Action, error)
- func (m *MockDropletActionsService) PasswordReset(arg0 int) (*do.Action, error)
- func (m *MockDropletActionsService) PowerCycle(arg0 int) (*do.Action, error)
- func (m *MockDropletActionsService) PowerCycleByTag(arg0 string) (do.Actions, error)
- func (m *MockDropletActionsService) PowerOff(arg0 int) (*do.Action, error)
- func (m *MockDropletActionsService) PowerOffByTag(arg0 string) (do.Actions, error)
- func (m *MockDropletActionsService) PowerOn(arg0 int) (*do.Action, error)
- func (m *MockDropletActionsService) PowerOnByTag(arg0 string) (do.Actions, error)
- func (m *MockDropletActionsService) Reboot(arg0 int) (*do.Action, error)
- func (m *MockDropletActionsService) RebuildByImageID(arg0, arg1 int) (*do.Action, error)
- func (m *MockDropletActionsService) RebuildByImageSlug(arg0 int, arg1 string) (*do.Action, error)
- func (m *MockDropletActionsService) Rename(arg0 int, arg1 string) (*do.Action, error)
- func (m *MockDropletActionsService) Resize(arg0 int, arg1 string, arg2 bool) (*do.Action, error)
- func (m *MockDropletActionsService) Restore(arg0, arg1 int) (*do.Action, error)
- func (m *MockDropletActionsService) Shutdown(arg0 int) (*do.Action, error)
- func (m *MockDropletActionsService) ShutdownByTag(arg0 string) (do.Actions, error)
- func (m *MockDropletActionsService) Snapshot(arg0 int, arg1 string) (*do.Action, error)
- func (m *MockDropletActionsService) SnapshotByTag(arg0, arg1 string) (do.Actions, error)
- type MockDropletActionsServiceMockRecorder
- func (mr *MockDropletActionsServiceMockRecorder) ChangeKernel(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) DisableBackups(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) DisableBackupsByTag(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) EnableBackups(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) EnableBackupsByTag(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) EnableIPv6(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) EnableIPv6ByTag(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) EnablePrivateNetworking(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) EnablePrivateNetworkingByTag(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) GetByURI(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) PasswordReset(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) PowerCycle(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) PowerCycleByTag(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) PowerOff(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) PowerOffByTag(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) PowerOn(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) PowerOnByTag(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) Reboot(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) RebuildByImageID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) RebuildByImageSlug(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) Resize(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) Restore(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) Shutdown(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) ShutdownByTag(arg0 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) Snapshot(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) SnapshotByTag(arg0, arg1 interface{}) *gomock.Call
- type MockDropletsService
- func (m *MockDropletsService) Actions(arg0 int) (do.Actions, error)
- func (m *MockDropletsService) Backups(arg0 int) (do.Images, error)
- func (m *MockDropletsService) Create(arg0 *godo.DropletCreateRequest, arg1 bool) (*do.Droplet, error)
- func (m *MockDropletsService) CreateMultiple(arg0 *godo.DropletMultiCreateRequest) (do.Droplets, error)
- func (m *MockDropletsService) Delete(arg0 int) error
- func (m *MockDropletsService) DeleteByTag(arg0 string) error
- func (m *MockDropletsService) EXPECT() *MockDropletsServiceMockRecorder
- func (m *MockDropletsService) Get(arg0 int) (*do.Droplet, error)
- func (m *MockDropletsService) Kernels(arg0 int) (do.Kernels, error)
- func (m *MockDropletsService) List() (do.Droplets, error)
- func (m *MockDropletsService) ListByTag(arg0 string) (do.Droplets, error)
- func (m *MockDropletsService) Neighbors(arg0 int) (do.Droplets, error)
- func (m *MockDropletsService) Snapshots(arg0 int) (do.Images, error)
- type MockDropletsServiceMockRecorder
- func (mr *MockDropletsServiceMockRecorder) Actions(arg0 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Backups(arg0 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) CreateMultiple(arg0 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) DeleteByTag(arg0 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Kernels(arg0 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) List() *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) ListByTag(arg0 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Neighbors(arg0 interface{}) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Snapshots(arg0 interface{}) *gomock.Call
- type MockFirewallsService
- func (m *MockFirewallsService) AddDroplets(fID string, dIDs ...int) error
- func (m *MockFirewallsService) AddRules(fID string, rr *godo.FirewallRulesRequest) error
- func (m *MockFirewallsService) AddTags(fID string, tags ...string) error
- func (m *MockFirewallsService) Create(fr *godo.FirewallRequest) (*do.Firewall, error)
- func (m *MockFirewallsService) Delete(fID string) error
- func (m *MockFirewallsService) EXPECT() *MockFirewallsServiceMockRecorder
- func (m *MockFirewallsService) Get(fID string) (*do.Firewall, error)
- func (m *MockFirewallsService) List() (do.Firewalls, error)
- func (m *MockFirewallsService) ListByDroplet(dID int) (do.Firewalls, error)
- func (m *MockFirewallsService) RemoveDroplets(fID string, dIDs ...int) error
- func (m *MockFirewallsService) RemoveRules(fID string, rr *godo.FirewallRulesRequest) error
- func (m *MockFirewallsService) RemoveTags(fID string, tags ...string) error
- func (m *MockFirewallsService) Update(fID string, fr *godo.FirewallRequest) (*do.Firewall, error)
- type MockFirewallsServiceMockRecorder
- func (mr *MockFirewallsServiceMockRecorder) AddDroplets(fID interface{}, dIDs ...interface{}) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) AddRules(fID, rr interface{}) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) AddTags(fID interface{}, tags ...interface{}) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) Create(fr interface{}) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) Delete(fID interface{}) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) Get(fID interface{}) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) List() *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) ListByDroplet(dID interface{}) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) RemoveDroplets(fID interface{}, dIDs ...interface{}) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) RemoveRules(fID, rr interface{}) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) RemoveTags(fID interface{}, tags ...interface{}) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) Update(fID, fr interface{}) *gomock.Call
- type MockFloatingIPActionsService
- func (m *MockFloatingIPActionsService) Assign(ip string, dropletID int) (*do.Action, error)
- func (m *MockFloatingIPActionsService) EXPECT() *MockFloatingIPActionsServiceMockRecorder
- func (m *MockFloatingIPActionsService) Get(ip string, actionID int) (*do.Action, error)
- func (m *MockFloatingIPActionsService) List(ip string, opt *godo.ListOptions) ([]do.Action, error)
- func (m *MockFloatingIPActionsService) Unassign(ip string) (*do.Action, error)
- type MockFloatingIPActionsServiceMockRecorder
- func (mr *MockFloatingIPActionsServiceMockRecorder) Assign(ip, dropletID interface{}) *gomock.Call
- func (mr *MockFloatingIPActionsServiceMockRecorder) Get(ip, actionID interface{}) *gomock.Call
- func (mr *MockFloatingIPActionsServiceMockRecorder) List(ip, opt interface{}) *gomock.Call
- func (mr *MockFloatingIPActionsServiceMockRecorder) Unassign(ip interface{}) *gomock.Call
- type MockFloatingIPsService
- func (m *MockFloatingIPsService) Create(ficr *godo.FloatingIPCreateRequest) (*do.FloatingIP, error)
- func (m *MockFloatingIPsService) Delete(ip string) error
- func (m *MockFloatingIPsService) EXPECT() *MockFloatingIPsServiceMockRecorder
- func (m *MockFloatingIPsService) Get(ip string) (*do.FloatingIP, error)
- func (m *MockFloatingIPsService) List() (do.FloatingIPs, error)
- type MockFloatingIPsServiceMockRecorder
- func (mr *MockFloatingIPsServiceMockRecorder) Create(ficr interface{}) *gomock.Call
- func (mr *MockFloatingIPsServiceMockRecorder) Delete(ip interface{}) *gomock.Call
- func (mr *MockFloatingIPsServiceMockRecorder) Get(ip interface{}) *gomock.Call
- func (mr *MockFloatingIPsServiceMockRecorder) List() *gomock.Call
- type MockImageActionsService
- func (m *MockImageActionsService) Convert(arg0 int) (*do.Action, error)
- func (m *MockImageActionsService) EXPECT() *MockImageActionsServiceMockRecorder
- func (m *MockImageActionsService) Get(arg0, arg1 int) (*do.Action, error)
- func (m *MockImageActionsService) Transfer(arg0 int, arg1 *godo.ActionRequest) (*do.Action, error)
- type MockImageActionsServiceMockRecorder
- type MockImagesService
- func (m *MockImagesService) Create(icr *godo.CustomImageCreateRequest) (*do.Image, error)
- func (m *MockImagesService) Delete(id int) error
- func (m *MockImagesService) EXPECT() *MockImagesServiceMockRecorder
- func (m *MockImagesService) GetByID(id int) (*do.Image, error)
- func (m *MockImagesService) GetBySlug(slug string) (*do.Image, error)
- func (m *MockImagesService) List(public bool) (do.Images, error)
- func (m *MockImagesService) ListApplication(public bool) (do.Images, error)
- func (m *MockImagesService) ListDistribution(public bool) (do.Images, error)
- func (m *MockImagesService) ListUser(public bool) (do.Images, error)
- func (m *MockImagesService) Update(id int, iur *godo.ImageUpdateRequest) (*do.Image, error)
- type MockImagesServiceMockRecorder
- func (mr *MockImagesServiceMockRecorder) Create(icr interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) Delete(id interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) GetByID(id interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) GetBySlug(slug interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) List(public interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) ListApplication(public interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) ListDistribution(public interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) ListUser(public interface{}) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) Update(id, iur interface{}) *gomock.Call
- type MockKeysService
- func (m *MockKeysService) Create(kcr *godo.KeyCreateRequest) (*do.SSHKey, error)
- func (m *MockKeysService) Delete(id string) error
- func (m *MockKeysService) EXPECT() *MockKeysServiceMockRecorder
- func (m *MockKeysService) Get(id string) (*do.SSHKey, error)
- func (m *MockKeysService) List() (do.SSHKeys, error)
- func (m *MockKeysService) Update(id string, kur *godo.KeyUpdateRequest) (*do.SSHKey, error)
- type MockKeysServiceMockRecorder
- func (mr *MockKeysServiceMockRecorder) Create(kcr interface{}) *gomock.Call
- func (mr *MockKeysServiceMockRecorder) Delete(id interface{}) *gomock.Call
- func (mr *MockKeysServiceMockRecorder) Get(id interface{}) *gomock.Call
- func (mr *MockKeysServiceMockRecorder) List() *gomock.Call
- func (mr *MockKeysServiceMockRecorder) Update(id, kur interface{}) *gomock.Call
- type MockKubernetesService
- func (m *MockKubernetesService) Create(create *godo.KubernetesClusterCreateRequest) (*do.KubernetesCluster, error)
- func (m *MockKubernetesService) CreateNodePool(clusterID string, req *godo.KubernetesNodePoolCreateRequest) (*do.KubernetesNodePool, error)
- func (m *MockKubernetesService) Delete(clusterID string) error
- func (m *MockKubernetesService) DeleteNode(clusterID, poolID, nodeID string, req *godo.KubernetesNodeDeleteRequest) error
- func (m *MockKubernetesService) DeleteNodePool(clusterID, poolID string) error
- func (m *MockKubernetesService) EXPECT() *MockKubernetesServiceMockRecorder
- func (m *MockKubernetesService) Get(clusterID string) (*do.KubernetesCluster, error)
- func (m *MockKubernetesService) GetCredentials(clusterID string) (*do.KubernetesClusterCredentials, error)
- func (m *MockKubernetesService) GetKubeConfig(clusterID string) ([]byte, error)
- func (m *MockKubernetesService) GetNodePool(clusterID, poolID string) (*do.KubernetesNodePool, error)
- func (m *MockKubernetesService) GetNodeSizes() (do.KubernetesNodeSizes, error)
- func (m *MockKubernetesService) GetRegions() (do.KubernetesRegions, error)
- func (m *MockKubernetesService) GetUpgrades(clusterID string) (do.KubernetesVersions, error)
- func (m *MockKubernetesService) GetVersions() (do.KubernetesVersions, error)
- func (m *MockKubernetesService) List() (do.KubernetesClusters, error)
- func (m *MockKubernetesService) ListNodePools(clusterID string) (do.KubernetesNodePools, error)
- func (m *MockKubernetesService) RecycleNodePoolNodes(clusterID, poolID string, req *godo.KubernetesNodePoolRecycleNodesRequest) error
- func (m *MockKubernetesService) Update(clusterID string, update *godo.KubernetesClusterUpdateRequest) (*do.KubernetesCluster, error)
- func (m *MockKubernetesService) UpdateNodePool(clusterID, poolID string, req *godo.KubernetesNodePoolUpdateRequest) (*do.KubernetesNodePool, error)
- func (m *MockKubernetesService) Upgrade(clusterID, versionSlug string) error
- type MockKubernetesServiceMockRecorder
- func (mr *MockKubernetesServiceMockRecorder) Create(create interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) CreateNodePool(clusterID, req interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) Delete(clusterID interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) DeleteNode(clusterID, poolID, nodeID, req interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) DeleteNodePool(clusterID, poolID interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) Get(clusterID interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) GetCredentials(clusterID interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) GetKubeConfig(clusterID interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) GetNodePool(clusterID, poolID interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) GetNodeSizes() *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) GetRegions() *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) GetUpgrades(clusterID interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) GetVersions() *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) List() *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) ListNodePools(clusterID interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) RecycleNodePoolNodes(clusterID, poolID, req interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) Update(clusterID, update interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) UpdateNodePool(clusterID, poolID, req interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) Upgrade(clusterID, versionSlug interface{}) *gomock.Call
- type MockLoadBalancersService
- func (m *MockLoadBalancersService) AddDroplets(lbID string, dIDs ...int) error
- func (m *MockLoadBalancersService) AddForwardingRules(lbID string, rules ...godo.ForwardingRule) error
- func (m *MockLoadBalancersService) Create(lbr *godo.LoadBalancerRequest) (*do.LoadBalancer, error)
- func (m *MockLoadBalancersService) Delete(lbID string) error
- func (m *MockLoadBalancersService) EXPECT() *MockLoadBalancersServiceMockRecorder
- func (m *MockLoadBalancersService) Get(lbID string) (*do.LoadBalancer, error)
- func (m *MockLoadBalancersService) List() (do.LoadBalancers, error)
- func (m *MockLoadBalancersService) RemoveDroplets(lbID string, dIDs ...int) error
- func (m *MockLoadBalancersService) RemoveForwardingRules(lbID string, rules ...godo.ForwardingRule) error
- func (m *MockLoadBalancersService) Update(lbID string, lbr *godo.LoadBalancerRequest) (*do.LoadBalancer, error)
- type MockLoadBalancersServiceMockRecorder
- func (mr *MockLoadBalancersServiceMockRecorder) AddDroplets(lbID interface{}, dIDs ...interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) AddForwardingRules(lbID interface{}, rules ...interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) Create(lbr interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) Delete(lbID interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) Get(lbID interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) List() *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) RemoveDroplets(lbID interface{}, dIDs ...interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) RemoveForwardingRules(lbID interface{}, rules ...interface{}) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) Update(lbID, lbr interface{}) *gomock.Call
- type MockProjectsService
- func (m *MockProjectsService) AssignResources(projectUUID string, resources []string) (do.ProjectResources, error)
- func (m *MockProjectsService) Create(arg0 *godo.CreateProjectRequest) (*do.Project, error)
- func (m *MockProjectsService) Delete(projectUUID string) error
- func (m *MockProjectsService) EXPECT() *MockProjectsServiceMockRecorder
- func (m *MockProjectsService) Get(projectUUID string) (*do.Project, error)
- func (m *MockProjectsService) GetDefault() (*do.Project, error)
- func (m *MockProjectsService) List() (do.Projects, error)
- func (m *MockProjectsService) ListResources(projectUUID string) (do.ProjectResources, error)
- func (m *MockProjectsService) Update(projectUUID string, req *godo.UpdateProjectRequest) (*do.Project, error)
- type MockProjectsServiceMockRecorder
- func (mr *MockProjectsServiceMockRecorder) AssignResources(projectUUID, resources interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) Delete(projectUUID interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) Get(projectUUID interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) GetDefault() *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) List() *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) ListResources(projectUUID interface{}) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) Update(projectUUID, req interface{}) *gomock.Call
- type MockRegionsService
- type MockRegionsServiceMockRecorder
- type MockRegistryService
- func (m *MockRegistryService) Create(arg0 *godo.RegistryCreateRequest) (*do.Registry, error)
- func (m *MockRegistryService) Delete() error
- func (m *MockRegistryService) DockerCredentials(arg0 *godo.RegistryDockerCredentialsRequest) (*godo.DockerCredentials, error)
- func (m *MockRegistryService) EXPECT() *MockRegistryServiceMockRecorder
- func (m *MockRegistryService) Endpoint() string
- func (m *MockRegistryService) Get() (*do.Registry, error)
- type MockRegistryServiceMockRecorder
- func (mr *MockRegistryServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) Delete() *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) DockerCredentials(arg0 interface{}) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) Endpoint() *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) Get() *gomock.Call
- type MockSizesService
- type MockSizesServiceMockRecorder
- type MockSnapshotsService
- func (m *MockSnapshotsService) Delete(arg0 string) error
- func (m *MockSnapshotsService) EXPECT() *MockSnapshotsServiceMockRecorder
- func (m *MockSnapshotsService) Get(arg0 string) (*do.Snapshot, error)
- func (m *MockSnapshotsService) List() (do.Snapshots, error)
- func (m *MockSnapshotsService) ListDroplet() (do.Snapshots, error)
- func (m *MockSnapshotsService) ListVolume() (do.Snapshots, error)
- type MockSnapshotsServiceMockRecorder
- func (mr *MockSnapshotsServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockSnapshotsServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockSnapshotsServiceMockRecorder) List() *gomock.Call
- func (mr *MockSnapshotsServiceMockRecorder) ListDroplet() *gomock.Call
- func (mr *MockSnapshotsServiceMockRecorder) ListVolume() *gomock.Call
- type MockTagsService
- func (m *MockTagsService) Create(arg0 *godo.TagCreateRequest) (*do.Tag, error)
- func (m *MockTagsService) Delete(arg0 string) error
- func (m *MockTagsService) EXPECT() *MockTagsServiceMockRecorder
- func (m *MockTagsService) Get(arg0 string) (*do.Tag, error)
- func (m *MockTagsService) List() (do.Tags, error)
- func (m *MockTagsService) TagResources(arg0 string, arg1 *godo.TagResourcesRequest) error
- func (m *MockTagsService) UntagResources(arg0 string, arg1 *godo.UntagResourcesRequest) error
- type MockTagsServiceMockRecorder
- func (mr *MockTagsServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockTagsServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockTagsServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockTagsServiceMockRecorder) List() *gomock.Call
- func (mr *MockTagsServiceMockRecorder) TagResources(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTagsServiceMockRecorder) UntagResources(arg0, arg1 interface{}) *gomock.Call
- type MockVolumeActionsService
- func (m *MockVolumeActionsService) Attach(arg0 string, arg1 int) (*do.Action, error)
- func (m *MockVolumeActionsService) Detach(arg0 string, arg1 int) (*do.Action, error)
- func (m *MockVolumeActionsService) EXPECT() *MockVolumeActionsServiceMockRecorder
- func (m *MockVolumeActionsService) Get(arg0 string, arg1 int) (*do.Action, error)
- func (m *MockVolumeActionsService) List(arg0 string, arg1 *godo.ListOptions) ([]do.Action, error)
- func (m *MockVolumeActionsService) Resize(arg0 string, arg1 int, arg2 string) (*do.Action, error)
- type MockVolumeActionsServiceMockRecorder
- func (mr *MockVolumeActionsServiceMockRecorder) Attach(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeActionsServiceMockRecorder) Detach(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeActionsServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeActionsServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockVolumeActionsServiceMockRecorder) Resize(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockVolumesService
- func (m *MockVolumesService) CreateSnapshot(arg0 *godo.SnapshotCreateRequest) (*do.Snapshot, error)
- func (m *MockVolumesService) CreateVolume(arg0 *godo.VolumeCreateRequest) (*do.Volume, error)
- func (m *MockVolumesService) DeleteSnapshot(arg0 string) error
- func (m *MockVolumesService) DeleteVolume(arg0 string) error
- func (m *MockVolumesService) EXPECT() *MockVolumesServiceMockRecorder
- func (m *MockVolumesService) Get(arg0 string) (*do.Volume, error)
- func (m *MockVolumesService) GetSnapshot(arg0 string) (*do.Snapshot, error)
- func (m *MockVolumesService) List() ([]do.Volume, error)
- func (m *MockVolumesService) ListSnapshots(arg0 string, arg1 *godo.ListOptions) ([]do.Snapshot, error)
- type MockVolumesServiceMockRecorder
- func (mr *MockVolumesServiceMockRecorder) CreateSnapshot(arg0 interface{}) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) CreateVolume(arg0 interface{}) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) DeleteSnapshot(arg0 interface{}) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) DeleteVolume(arg0 interface{}) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) GetSnapshot(arg0 interface{}) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) List() *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) ListSnapshots(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAccountService ¶ added in v1.24.0
type MockAccountService struct {
// contains filtered or unexported fields
}
MockAccountService is a mock of AccountService interface
func NewMockAccountService ¶ added in v1.24.0
func NewMockAccountService(ctrl *gomock.Controller) *MockAccountService
NewMockAccountService creates a new mock instance
func (*MockAccountService) EXPECT ¶ added in v1.24.0
func (m *MockAccountService) EXPECT() *MockAccountServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockAccountServiceMockRecorder ¶ added in v1.24.0
type MockAccountServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAccountServiceMockRecorder is the mock recorder for MockAccountService
func (*MockAccountServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockAccountServiceMockRecorder) Get() *gomock.Call
Get indicates an expected call of Get
func (*MockAccountServiceMockRecorder) RateLimit ¶ added in v1.24.0
func (mr *MockAccountServiceMockRecorder) RateLimit() *gomock.Call
RateLimit indicates an expected call of RateLimit
type MockActionsService ¶ added in v1.24.0
type MockActionsService struct {
// contains filtered or unexported fields
}
MockActionsService is a mock of ActionsService interface
func NewMockActionsService ¶ added in v1.24.0
func NewMockActionsService(ctrl *gomock.Controller) *MockActionsService
NewMockActionsService creates a new mock instance
func (*MockActionsService) EXPECT ¶ added in v1.24.0
func (m *MockActionsService) EXPECT() *MockActionsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockActionsServiceMockRecorder ¶ added in v1.24.0
type MockActionsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockActionsServiceMockRecorder is the mock recorder for MockActionsService
func (*MockActionsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockActionsServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockActionsServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockActionsServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
type MockBalanceService ¶ added in v1.37.0
type MockBalanceService struct {
// contains filtered or unexported fields
}
MockBalanceService is a mock of BalanceService interface
func NewMockBalanceService ¶ added in v1.37.0
func NewMockBalanceService(ctrl *gomock.Controller) *MockBalanceService
NewMockBalanceService creates a new mock instance
func (*MockBalanceService) EXPECT ¶ added in v1.37.0
func (m *MockBalanceService) EXPECT() *MockBalanceServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockBalanceServiceMockRecorder ¶ added in v1.37.0
type MockBalanceServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockBalanceServiceMockRecorder is the mock recorder for MockBalanceService
func (*MockBalanceServiceMockRecorder) Get ¶ added in v1.37.0
func (mr *MockBalanceServiceMockRecorder) Get() *gomock.Call
Get indicates an expected call of Get
type MockCDNsService ¶ added in v1.24.0
type MockCDNsService struct {
// contains filtered or unexported fields
}
MockCDNsService is a mock of CDNsService interface
func NewMockCDNsService ¶ added in v1.24.0
func NewMockCDNsService(ctrl *gomock.Controller) *MockCDNsService
NewMockCDNsService creates a new mock instance
func (*MockCDNsService) Create ¶ added in v1.24.0
func (m *MockCDNsService) Create(arg0 *godo.CDNCreateRequest) (*do.CDN, error)
Create mocks base method
func (*MockCDNsService) Delete ¶ added in v1.24.0
func (m *MockCDNsService) Delete(arg0 string) error
Delete mocks base method
func (*MockCDNsService) EXPECT ¶ added in v1.24.0
func (m *MockCDNsService) EXPECT() *MockCDNsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCDNsService) FlushCache ¶ added in v1.24.0
func (m *MockCDNsService) FlushCache(arg0 string, arg1 *godo.CDNFlushCacheRequest) error
FlushCache mocks base method
func (*MockCDNsService) Get ¶ added in v1.24.0
func (m *MockCDNsService) Get(arg0 string) (*do.CDN, error)
Get mocks base method
func (*MockCDNsService) List ¶ added in v1.24.0
func (m *MockCDNsService) List() ([]do.CDN, error)
List mocks base method
func (*MockCDNsService) UpdateCustomDomain ¶ added in v1.24.0
func (m *MockCDNsService) UpdateCustomDomain(arg0 string, arg1 *godo.CDNUpdateCustomDomainRequest) (*do.CDN, error)
UpdateCustomDomain mocks base method
func (*MockCDNsService) UpdateTTL ¶ added in v1.24.0
func (m *MockCDNsService) UpdateTTL(arg0 string, arg1 *godo.CDNUpdateTTLRequest) (*do.CDN, error)
UpdateTTL mocks base method
type MockCDNsServiceMockRecorder ¶ added in v1.24.0
type MockCDNsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCDNsServiceMockRecorder is the mock recorder for MockCDNsService
func (*MockCDNsServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockCDNsServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockCDNsServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockCDNsServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockCDNsServiceMockRecorder) FlushCache ¶ added in v1.24.0
func (mr *MockCDNsServiceMockRecorder) FlushCache(arg0, arg1 interface{}) *gomock.Call
FlushCache indicates an expected call of FlushCache
func (*MockCDNsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockCDNsServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockCDNsServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockCDNsServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockCDNsServiceMockRecorder) UpdateCustomDomain ¶ added in v1.24.0
func (mr *MockCDNsServiceMockRecorder) UpdateCustomDomain(arg0, arg1 interface{}) *gomock.Call
UpdateCustomDomain indicates an expected call of UpdateCustomDomain
func (*MockCDNsServiceMockRecorder) UpdateTTL ¶ added in v1.24.0
func (mr *MockCDNsServiceMockRecorder) UpdateTTL(arg0, arg1 interface{}) *gomock.Call
UpdateTTL indicates an expected call of UpdateTTL
type MockCertificatesService ¶ added in v1.24.0
type MockCertificatesService struct {
// contains filtered or unexported fields
}
MockCertificatesService is a mock of CertificatesService interface
func NewMockCertificatesService ¶ added in v1.24.0
func NewMockCertificatesService(ctrl *gomock.Controller) *MockCertificatesService
NewMockCertificatesService creates a new mock instance
func (*MockCertificatesService) Create ¶ added in v1.24.0
func (m *MockCertificatesService) Create(cr *godo.CertificateRequest) (*do.Certificate, error)
Create mocks base method
func (*MockCertificatesService) Delete ¶ added in v1.24.0
func (m *MockCertificatesService) Delete(cID string) error
Delete mocks base method
func (*MockCertificatesService) EXPECT ¶ added in v1.24.0
func (m *MockCertificatesService) EXPECT() *MockCertificatesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCertificatesService) Get ¶ added in v1.24.0
func (m *MockCertificatesService) Get(cID string) (*do.Certificate, error)
Get mocks base method
func (*MockCertificatesService) List ¶ added in v1.24.0
func (m *MockCertificatesService) List() (do.Certificates, error)
List mocks base method
type MockCertificatesServiceMockRecorder ¶ added in v1.24.0
type MockCertificatesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockCertificatesServiceMockRecorder is the mock recorder for MockCertificatesService
func (*MockCertificatesServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockCertificatesServiceMockRecorder) Create(cr interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockCertificatesServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockCertificatesServiceMockRecorder) Delete(cID interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockCertificatesServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockCertificatesServiceMockRecorder) Get(cID interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockCertificatesServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockCertificatesServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
type MockDatabasesService ¶ added in v1.24.0
type MockDatabasesService struct {
// contains filtered or unexported fields
}
MockDatabasesService is a mock of DatabasesService interface
func NewMockDatabasesService ¶ added in v1.24.0
func NewMockDatabasesService(ctrl *gomock.Controller) *MockDatabasesService
NewMockDatabasesService creates a new mock instance
func (*MockDatabasesService) Create ¶ added in v1.24.0
func (m *MockDatabasesService) Create(arg0 *godo.DatabaseCreateRequest) (*do.Database, error)
Create mocks base method
func (*MockDatabasesService) CreateDB ¶ added in v1.24.0
func (m *MockDatabasesService) CreateDB(arg0 string, arg1 *godo.DatabaseCreateDBRequest) (*do.DatabaseDB, error)
CreateDB mocks base method
func (*MockDatabasesService) CreatePool ¶ added in v1.24.0
func (m *MockDatabasesService) CreatePool(arg0 string, arg1 *godo.DatabaseCreatePoolRequest) (*do.DatabasePool, error)
CreatePool mocks base method
func (*MockDatabasesService) CreateReplica ¶ added in v1.24.0
func (m *MockDatabasesService) CreateReplica(arg0 string, arg1 *godo.DatabaseCreateReplicaRequest) (*do.DatabaseReplica, error)
CreateReplica mocks base method
func (*MockDatabasesService) CreateUser ¶ added in v1.24.0
func (m *MockDatabasesService) CreateUser(arg0 string, arg1 *godo.DatabaseCreateUserRequest) (*do.DatabaseUser, error)
CreateUser mocks base method
func (*MockDatabasesService) Delete ¶ added in v1.24.0
func (m *MockDatabasesService) Delete(arg0 string) error
Delete mocks base method
func (*MockDatabasesService) DeleteDB ¶ added in v1.24.0
func (m *MockDatabasesService) DeleteDB(arg0, arg1 string) error
DeleteDB mocks base method
func (*MockDatabasesService) DeletePool ¶ added in v1.24.0
func (m *MockDatabasesService) DeletePool(arg0, arg1 string) error
DeletePool mocks base method
func (*MockDatabasesService) DeleteReplica ¶ added in v1.24.0
func (m *MockDatabasesService) DeleteReplica(arg0, arg1 string) error
DeleteReplica mocks base method
func (*MockDatabasesService) DeleteUser ¶ added in v1.24.0
func (m *MockDatabasesService) DeleteUser(arg0, arg1 string) error
DeleteUser mocks base method
func (*MockDatabasesService) EXPECT ¶ added in v1.24.0
func (m *MockDatabasesService) EXPECT() *MockDatabasesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDatabasesService) Get ¶ added in v1.24.0
func (m *MockDatabasesService) Get(arg0 string) (*do.Database, error)
Get mocks base method
func (*MockDatabasesService) GetConnection ¶ added in v1.24.0
func (m *MockDatabasesService) GetConnection(arg0 string) (*do.DatabaseConnection, error)
GetConnection mocks base method
func (*MockDatabasesService) GetDB ¶ added in v1.24.0
func (m *MockDatabasesService) GetDB(arg0, arg1 string) (*do.DatabaseDB, error)
GetDB mocks base method
func (*MockDatabasesService) GetMaintenance ¶ added in v1.24.0
func (m *MockDatabasesService) GetMaintenance(arg0 string) (*do.DatabaseMaintenanceWindow, error)
GetMaintenance mocks base method
func (*MockDatabasesService) GetPool ¶ added in v1.24.0
func (m *MockDatabasesService) GetPool(arg0, arg1 string) (*do.DatabasePool, error)
GetPool mocks base method
func (*MockDatabasesService) GetReplica ¶ added in v1.24.0
func (m *MockDatabasesService) GetReplica(arg0, arg1 string) (*do.DatabaseReplica, error)
GetReplica mocks base method
func (*MockDatabasesService) GetReplicaConnection ¶ added in v1.24.0
func (m *MockDatabasesService) GetReplicaConnection(arg0, arg1 string) (*do.DatabaseConnection, error)
GetReplicaConnection mocks base method
func (*MockDatabasesService) GetSQLMode ¶ added in v1.35.0
func (m *MockDatabasesService) GetSQLMode(arg0 string) ([]string, error)
GetSQLMode mocks base method
func (*MockDatabasesService) GetUser ¶ added in v1.24.0
func (m *MockDatabasesService) GetUser(arg0, arg1 string) (*do.DatabaseUser, error)
GetUser mocks base method
func (*MockDatabasesService) List ¶ added in v1.24.0
func (m *MockDatabasesService) List() (do.Databases, error)
List mocks base method
func (*MockDatabasesService) ListBackups ¶ added in v1.24.0
func (m *MockDatabasesService) ListBackups(arg0 string) (do.DatabaseBackups, error)
ListBackups mocks base method
func (*MockDatabasesService) ListDBs ¶ added in v1.24.0
func (m *MockDatabasesService) ListDBs(arg0 string) (do.DatabaseDBs, error)
ListDBs mocks base method
func (*MockDatabasesService) ListPools ¶ added in v1.24.0
func (m *MockDatabasesService) ListPools(arg0 string) (do.DatabasePools, error)
ListPools mocks base method
func (*MockDatabasesService) ListReplicas ¶ added in v1.24.0
func (m *MockDatabasesService) ListReplicas(arg0 string) (do.DatabaseReplicas, error)
ListReplicas mocks base method
func (*MockDatabasesService) ListUsers ¶ added in v1.24.0
func (m *MockDatabasesService) ListUsers(arg0 string) (do.DatabaseUsers, error)
ListUsers mocks base method
func (*MockDatabasesService) Migrate ¶ added in v1.24.0
func (m *MockDatabasesService) Migrate(arg0 string, arg1 *godo.DatabaseMigrateRequest) error
Migrate mocks base method
func (*MockDatabasesService) Resize ¶ added in v1.24.0
func (m *MockDatabasesService) Resize(arg0 string, arg1 *godo.DatabaseResizeRequest) error
Resize mocks base method
func (*MockDatabasesService) SetSQLMode ¶ added in v1.35.0
func (m *MockDatabasesService) SetSQLMode(arg0 string, arg1 ...string) error
SetSQLMode mocks base method
func (*MockDatabasesService) UpdateMaintenance ¶ added in v1.24.0
func (m *MockDatabasesService) UpdateMaintenance(arg0 string, arg1 *godo.DatabaseUpdateMaintenanceRequest) error
UpdateMaintenance mocks base method
type MockDatabasesServiceMockRecorder ¶ added in v1.24.0
type MockDatabasesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDatabasesServiceMockRecorder is the mock recorder for MockDatabasesService
func (*MockDatabasesServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockDatabasesServiceMockRecorder) CreateDB ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) CreateDB(arg0, arg1 interface{}) *gomock.Call
CreateDB indicates an expected call of CreateDB
func (*MockDatabasesServiceMockRecorder) CreatePool ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) CreatePool(arg0, arg1 interface{}) *gomock.Call
CreatePool indicates an expected call of CreatePool
func (*MockDatabasesServiceMockRecorder) CreateReplica ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) CreateReplica(arg0, arg1 interface{}) *gomock.Call
CreateReplica indicates an expected call of CreateReplica
func (*MockDatabasesServiceMockRecorder) CreateUser ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) CreateUser(arg0, arg1 interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser
func (*MockDatabasesServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockDatabasesServiceMockRecorder) DeleteDB ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) DeleteDB(arg0, arg1 interface{}) *gomock.Call
DeleteDB indicates an expected call of DeleteDB
func (*MockDatabasesServiceMockRecorder) DeletePool ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) DeletePool(arg0, arg1 interface{}) *gomock.Call
DeletePool indicates an expected call of DeletePool
func (*MockDatabasesServiceMockRecorder) DeleteReplica ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) DeleteReplica(arg0, arg1 interface{}) *gomock.Call
DeleteReplica indicates an expected call of DeleteReplica
func (*MockDatabasesServiceMockRecorder) DeleteUser ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) DeleteUser(arg0, arg1 interface{}) *gomock.Call
DeleteUser indicates an expected call of DeleteUser
func (*MockDatabasesServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockDatabasesServiceMockRecorder) GetConnection ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) GetConnection(arg0 interface{}) *gomock.Call
GetConnection indicates an expected call of GetConnection
func (*MockDatabasesServiceMockRecorder) GetDB ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) GetDB(arg0, arg1 interface{}) *gomock.Call
GetDB indicates an expected call of GetDB
func (*MockDatabasesServiceMockRecorder) GetMaintenance ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) GetMaintenance(arg0 interface{}) *gomock.Call
GetMaintenance indicates an expected call of GetMaintenance
func (*MockDatabasesServiceMockRecorder) GetPool ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) GetPool(arg0, arg1 interface{}) *gomock.Call
GetPool indicates an expected call of GetPool
func (*MockDatabasesServiceMockRecorder) GetReplica ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) GetReplica(arg0, arg1 interface{}) *gomock.Call
GetReplica indicates an expected call of GetReplica
func (*MockDatabasesServiceMockRecorder) GetReplicaConnection ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) GetReplicaConnection(arg0, arg1 interface{}) *gomock.Call
GetReplicaConnection indicates an expected call of GetReplicaConnection
func (*MockDatabasesServiceMockRecorder) GetSQLMode ¶ added in v1.35.0
func (mr *MockDatabasesServiceMockRecorder) GetSQLMode(arg0 interface{}) *gomock.Call
GetSQLMode indicates an expected call of GetSQLMode
func (*MockDatabasesServiceMockRecorder) GetUser ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) GetUser(arg0, arg1 interface{}) *gomock.Call
GetUser indicates an expected call of GetUser
func (*MockDatabasesServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockDatabasesServiceMockRecorder) ListBackups ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) ListBackups(arg0 interface{}) *gomock.Call
ListBackups indicates an expected call of ListBackups
func (*MockDatabasesServiceMockRecorder) ListDBs ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) ListDBs(arg0 interface{}) *gomock.Call
ListDBs indicates an expected call of ListDBs
func (*MockDatabasesServiceMockRecorder) ListPools ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) ListPools(arg0 interface{}) *gomock.Call
ListPools indicates an expected call of ListPools
func (*MockDatabasesServiceMockRecorder) ListReplicas ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) ListReplicas(arg0 interface{}) *gomock.Call
ListReplicas indicates an expected call of ListReplicas
func (*MockDatabasesServiceMockRecorder) ListUsers ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) ListUsers(arg0 interface{}) *gomock.Call
ListUsers indicates an expected call of ListUsers
func (*MockDatabasesServiceMockRecorder) Migrate ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) Migrate(arg0, arg1 interface{}) *gomock.Call
Migrate indicates an expected call of Migrate
func (*MockDatabasesServiceMockRecorder) Resize ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) Resize(arg0, arg1 interface{}) *gomock.Call
Resize indicates an expected call of Resize
func (*MockDatabasesServiceMockRecorder) SetSQLMode ¶ added in v1.35.0
func (mr *MockDatabasesServiceMockRecorder) SetSQLMode(arg0 interface{}, arg1 ...interface{}) *gomock.Call
SetSQLMode indicates an expected call of SetSQLMode
func (*MockDatabasesServiceMockRecorder) UpdateMaintenance ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) UpdateMaintenance(arg0, arg1 interface{}) *gomock.Call
UpdateMaintenance indicates an expected call of UpdateMaintenance
type MockDomainsService ¶ added in v1.24.0
type MockDomainsService struct {
// contains filtered or unexported fields
}
MockDomainsService is a mock of DomainsService interface
func NewMockDomainsService ¶ added in v1.24.0
func NewMockDomainsService(ctrl *gomock.Controller) *MockDomainsService
NewMockDomainsService creates a new mock instance
func (*MockDomainsService) Create ¶ added in v1.24.0
func (m *MockDomainsService) Create(arg0 *godo.DomainCreateRequest) (*do.Domain, error)
Create mocks base method
func (*MockDomainsService) CreateRecord ¶ added in v1.24.0
func (m *MockDomainsService) CreateRecord(arg0 string, arg1 *do.DomainRecordEditRequest) (*do.DomainRecord, error)
CreateRecord mocks base method
func (*MockDomainsService) Delete ¶ added in v1.24.0
func (m *MockDomainsService) Delete(arg0 string) error
Delete mocks base method
func (*MockDomainsService) DeleteRecord ¶ added in v1.24.0
func (m *MockDomainsService) DeleteRecord(arg0 string, arg1 int) error
DeleteRecord mocks base method
func (*MockDomainsService) EXPECT ¶ added in v1.24.0
func (m *MockDomainsService) EXPECT() *MockDomainsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDomainsService) EditRecord ¶ added in v1.24.0
func (m *MockDomainsService) EditRecord(arg0 string, arg1 int, arg2 *do.DomainRecordEditRequest) (*do.DomainRecord, error)
EditRecord mocks base method
func (*MockDomainsService) Get ¶ added in v1.24.0
func (m *MockDomainsService) Get(arg0 string) (*do.Domain, error)
Get mocks base method
func (*MockDomainsService) List ¶ added in v1.24.0
func (m *MockDomainsService) List() (do.Domains, error)
List mocks base method
func (*MockDomainsService) Record ¶ added in v1.24.0
func (m *MockDomainsService) Record(arg0 string, arg1 int) (*do.DomainRecord, error)
Record mocks base method
func (*MockDomainsService) Records ¶ added in v1.24.0
func (m *MockDomainsService) Records(arg0 string) (do.DomainRecords, error)
Records mocks base method
type MockDomainsServiceMockRecorder ¶ added in v1.24.0
type MockDomainsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDomainsServiceMockRecorder is the mock recorder for MockDomainsService
func (*MockDomainsServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockDomainsServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockDomainsServiceMockRecorder) CreateRecord ¶ added in v1.24.0
func (mr *MockDomainsServiceMockRecorder) CreateRecord(arg0, arg1 interface{}) *gomock.Call
CreateRecord indicates an expected call of CreateRecord
func (*MockDomainsServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockDomainsServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockDomainsServiceMockRecorder) DeleteRecord ¶ added in v1.24.0
func (mr *MockDomainsServiceMockRecorder) DeleteRecord(arg0, arg1 interface{}) *gomock.Call
DeleteRecord indicates an expected call of DeleteRecord
func (*MockDomainsServiceMockRecorder) EditRecord ¶ added in v1.24.0
func (mr *MockDomainsServiceMockRecorder) EditRecord(arg0, arg1, arg2 interface{}) *gomock.Call
EditRecord indicates an expected call of EditRecord
func (*MockDomainsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockDomainsServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockDomainsServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockDomainsServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockDomainsServiceMockRecorder) Record ¶ added in v1.24.0
func (mr *MockDomainsServiceMockRecorder) Record(arg0, arg1 interface{}) *gomock.Call
Record indicates an expected call of Record
func (*MockDomainsServiceMockRecorder) Records ¶ added in v1.24.0
func (mr *MockDomainsServiceMockRecorder) Records(arg0 interface{}) *gomock.Call
Records indicates an expected call of Records
type MockDropletActionsService ¶ added in v1.24.0
type MockDropletActionsService struct {
// contains filtered or unexported fields
}
MockDropletActionsService is a mock of DropletActionsService interface
func NewMockDropletActionsService ¶ added in v1.24.0
func NewMockDropletActionsService(ctrl *gomock.Controller) *MockDropletActionsService
NewMockDropletActionsService creates a new mock instance
func (*MockDropletActionsService) ChangeKernel ¶ added in v1.24.0
func (m *MockDropletActionsService) ChangeKernel(arg0, arg1 int) (*do.Action, error)
ChangeKernel mocks base method
func (*MockDropletActionsService) DisableBackups ¶ added in v1.24.0
func (m *MockDropletActionsService) DisableBackups(arg0 int) (*do.Action, error)
DisableBackups mocks base method
func (*MockDropletActionsService) DisableBackupsByTag ¶ added in v1.24.0
func (m *MockDropletActionsService) DisableBackupsByTag(arg0 string) (do.Actions, error)
DisableBackupsByTag mocks base method
func (*MockDropletActionsService) EXPECT ¶ added in v1.24.0
func (m *MockDropletActionsService) EXPECT() *MockDropletActionsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDropletActionsService) EnableBackups ¶ added in v1.24.0
func (m *MockDropletActionsService) EnableBackups(arg0 int) (*do.Action, error)
EnableBackups mocks base method
func (*MockDropletActionsService) EnableBackupsByTag ¶ added in v1.24.0
func (m *MockDropletActionsService) EnableBackupsByTag(arg0 string) (do.Actions, error)
EnableBackupsByTag mocks base method
func (*MockDropletActionsService) EnableIPv6 ¶ added in v1.24.0
func (m *MockDropletActionsService) EnableIPv6(arg0 int) (*do.Action, error)
EnableIPv6 mocks base method
func (*MockDropletActionsService) EnableIPv6ByTag ¶ added in v1.24.0
func (m *MockDropletActionsService) EnableIPv6ByTag(arg0 string) (do.Actions, error)
EnableIPv6ByTag mocks base method
func (*MockDropletActionsService) EnablePrivateNetworking ¶ added in v1.24.0
func (m *MockDropletActionsService) EnablePrivateNetworking(arg0 int) (*do.Action, error)
EnablePrivateNetworking mocks base method
func (*MockDropletActionsService) EnablePrivateNetworkingByTag ¶ added in v1.24.0
func (m *MockDropletActionsService) EnablePrivateNetworkingByTag(arg0 string) (do.Actions, error)
EnablePrivateNetworkingByTag mocks base method
func (*MockDropletActionsService) Get ¶ added in v1.24.0
func (m *MockDropletActionsService) Get(arg0, arg1 int) (*do.Action, error)
Get mocks base method
func (*MockDropletActionsService) GetByURI ¶ added in v1.24.0
func (m *MockDropletActionsService) GetByURI(arg0 string) (*do.Action, error)
GetByURI mocks base method
func (*MockDropletActionsService) PasswordReset ¶ added in v1.24.0
func (m *MockDropletActionsService) PasswordReset(arg0 int) (*do.Action, error)
PasswordReset mocks base method
func (*MockDropletActionsService) PowerCycle ¶ added in v1.24.0
func (m *MockDropletActionsService) PowerCycle(arg0 int) (*do.Action, error)
PowerCycle mocks base method
func (*MockDropletActionsService) PowerCycleByTag ¶ added in v1.24.0
func (m *MockDropletActionsService) PowerCycleByTag(arg0 string) (do.Actions, error)
PowerCycleByTag mocks base method
func (*MockDropletActionsService) PowerOff ¶ added in v1.24.0
func (m *MockDropletActionsService) PowerOff(arg0 int) (*do.Action, error)
PowerOff mocks base method
func (*MockDropletActionsService) PowerOffByTag ¶ added in v1.24.0
func (m *MockDropletActionsService) PowerOffByTag(arg0 string) (do.Actions, error)
PowerOffByTag mocks base method
func (*MockDropletActionsService) PowerOn ¶ added in v1.24.0
func (m *MockDropletActionsService) PowerOn(arg0 int) (*do.Action, error)
PowerOn mocks base method
func (*MockDropletActionsService) PowerOnByTag ¶ added in v1.24.0
func (m *MockDropletActionsService) PowerOnByTag(arg0 string) (do.Actions, error)
PowerOnByTag mocks base method
func (*MockDropletActionsService) Reboot ¶ added in v1.24.0
func (m *MockDropletActionsService) Reboot(arg0 int) (*do.Action, error)
Reboot mocks base method
func (*MockDropletActionsService) RebuildByImageID ¶ added in v1.24.0
func (m *MockDropletActionsService) RebuildByImageID(arg0, arg1 int) (*do.Action, error)
RebuildByImageID mocks base method
func (*MockDropletActionsService) RebuildByImageSlug ¶ added in v1.24.0
RebuildByImageSlug mocks base method
func (*MockDropletActionsService) Restore ¶ added in v1.24.0
func (m *MockDropletActionsService) Restore(arg0, arg1 int) (*do.Action, error)
Restore mocks base method
func (*MockDropletActionsService) Shutdown ¶ added in v1.24.0
func (m *MockDropletActionsService) Shutdown(arg0 int) (*do.Action, error)
Shutdown mocks base method
func (*MockDropletActionsService) ShutdownByTag ¶ added in v1.24.0
func (m *MockDropletActionsService) ShutdownByTag(arg0 string) (do.Actions, error)
ShutdownByTag mocks base method
func (*MockDropletActionsService) SnapshotByTag ¶ added in v1.24.0
func (m *MockDropletActionsService) SnapshotByTag(arg0, arg1 string) (do.Actions, error)
SnapshotByTag mocks base method
type MockDropletActionsServiceMockRecorder ¶ added in v1.24.0
type MockDropletActionsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDropletActionsServiceMockRecorder is the mock recorder for MockDropletActionsService
func (*MockDropletActionsServiceMockRecorder) ChangeKernel ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) ChangeKernel(arg0, arg1 interface{}) *gomock.Call
ChangeKernel indicates an expected call of ChangeKernel
func (*MockDropletActionsServiceMockRecorder) DisableBackups ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) DisableBackups(arg0 interface{}) *gomock.Call
DisableBackups indicates an expected call of DisableBackups
func (*MockDropletActionsServiceMockRecorder) DisableBackupsByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) DisableBackupsByTag(arg0 interface{}) *gomock.Call
DisableBackupsByTag indicates an expected call of DisableBackupsByTag
func (*MockDropletActionsServiceMockRecorder) EnableBackups ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) EnableBackups(arg0 interface{}) *gomock.Call
EnableBackups indicates an expected call of EnableBackups
func (*MockDropletActionsServiceMockRecorder) EnableBackupsByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) EnableBackupsByTag(arg0 interface{}) *gomock.Call
EnableBackupsByTag indicates an expected call of EnableBackupsByTag
func (*MockDropletActionsServiceMockRecorder) EnableIPv6 ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) EnableIPv6(arg0 interface{}) *gomock.Call
EnableIPv6 indicates an expected call of EnableIPv6
func (*MockDropletActionsServiceMockRecorder) EnableIPv6ByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) EnableIPv6ByTag(arg0 interface{}) *gomock.Call
EnableIPv6ByTag indicates an expected call of EnableIPv6ByTag
func (*MockDropletActionsServiceMockRecorder) EnablePrivateNetworking ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) EnablePrivateNetworking(arg0 interface{}) *gomock.Call
EnablePrivateNetworking indicates an expected call of EnablePrivateNetworking
func (*MockDropletActionsServiceMockRecorder) EnablePrivateNetworkingByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) EnablePrivateNetworkingByTag(arg0 interface{}) *gomock.Call
EnablePrivateNetworkingByTag indicates an expected call of EnablePrivateNetworkingByTag
func (*MockDropletActionsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockDropletActionsServiceMockRecorder) GetByURI ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) GetByURI(arg0 interface{}) *gomock.Call
GetByURI indicates an expected call of GetByURI
func (*MockDropletActionsServiceMockRecorder) PasswordReset ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) PasswordReset(arg0 interface{}) *gomock.Call
PasswordReset indicates an expected call of PasswordReset
func (*MockDropletActionsServiceMockRecorder) PowerCycle ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) PowerCycle(arg0 interface{}) *gomock.Call
PowerCycle indicates an expected call of PowerCycle
func (*MockDropletActionsServiceMockRecorder) PowerCycleByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) PowerCycleByTag(arg0 interface{}) *gomock.Call
PowerCycleByTag indicates an expected call of PowerCycleByTag
func (*MockDropletActionsServiceMockRecorder) PowerOff ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) PowerOff(arg0 interface{}) *gomock.Call
PowerOff indicates an expected call of PowerOff
func (*MockDropletActionsServiceMockRecorder) PowerOffByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) PowerOffByTag(arg0 interface{}) *gomock.Call
PowerOffByTag indicates an expected call of PowerOffByTag
func (*MockDropletActionsServiceMockRecorder) PowerOn ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) PowerOn(arg0 interface{}) *gomock.Call
PowerOn indicates an expected call of PowerOn
func (*MockDropletActionsServiceMockRecorder) PowerOnByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) PowerOnByTag(arg0 interface{}) *gomock.Call
PowerOnByTag indicates an expected call of PowerOnByTag
func (*MockDropletActionsServiceMockRecorder) Reboot ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) Reboot(arg0 interface{}) *gomock.Call
Reboot indicates an expected call of Reboot
func (*MockDropletActionsServiceMockRecorder) RebuildByImageID ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) RebuildByImageID(arg0, arg1 interface{}) *gomock.Call
RebuildByImageID indicates an expected call of RebuildByImageID
func (*MockDropletActionsServiceMockRecorder) RebuildByImageSlug ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) RebuildByImageSlug(arg0, arg1 interface{}) *gomock.Call
RebuildByImageSlug indicates an expected call of RebuildByImageSlug
func (*MockDropletActionsServiceMockRecorder) Rename ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) Rename(arg0, arg1 interface{}) *gomock.Call
Rename indicates an expected call of Rename
func (*MockDropletActionsServiceMockRecorder) Resize ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) Resize(arg0, arg1, arg2 interface{}) *gomock.Call
Resize indicates an expected call of Resize
func (*MockDropletActionsServiceMockRecorder) Restore ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) Restore(arg0, arg1 interface{}) *gomock.Call
Restore indicates an expected call of Restore
func (*MockDropletActionsServiceMockRecorder) Shutdown ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) Shutdown(arg0 interface{}) *gomock.Call
Shutdown indicates an expected call of Shutdown
func (*MockDropletActionsServiceMockRecorder) ShutdownByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) ShutdownByTag(arg0 interface{}) *gomock.Call
ShutdownByTag indicates an expected call of ShutdownByTag
func (*MockDropletActionsServiceMockRecorder) Snapshot ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) Snapshot(arg0, arg1 interface{}) *gomock.Call
Snapshot indicates an expected call of Snapshot
func (*MockDropletActionsServiceMockRecorder) SnapshotByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) SnapshotByTag(arg0, arg1 interface{}) *gomock.Call
SnapshotByTag indicates an expected call of SnapshotByTag
type MockDropletsService ¶ added in v1.24.0
type MockDropletsService struct {
// contains filtered or unexported fields
}
MockDropletsService is a mock of DropletsService interface
func NewMockDropletsService ¶ added in v1.24.0
func NewMockDropletsService(ctrl *gomock.Controller) *MockDropletsService
NewMockDropletsService creates a new mock instance
func (*MockDropletsService) Actions ¶ added in v1.24.0
func (m *MockDropletsService) Actions(arg0 int) (do.Actions, error)
Actions mocks base method
func (*MockDropletsService) Backups ¶ added in v1.24.0
func (m *MockDropletsService) Backups(arg0 int) (do.Images, error)
Backups mocks base method
func (*MockDropletsService) Create ¶ added in v1.24.0
func (m *MockDropletsService) Create(arg0 *godo.DropletCreateRequest, arg1 bool) (*do.Droplet, error)
Create mocks base method
func (*MockDropletsService) CreateMultiple ¶ added in v1.24.0
func (m *MockDropletsService) CreateMultiple(arg0 *godo.DropletMultiCreateRequest) (do.Droplets, error)
CreateMultiple mocks base method
func (*MockDropletsService) Delete ¶ added in v1.24.0
func (m *MockDropletsService) Delete(arg0 int) error
Delete mocks base method
func (*MockDropletsService) DeleteByTag ¶ added in v1.24.0
func (m *MockDropletsService) DeleteByTag(arg0 string) error
DeleteByTag mocks base method
func (*MockDropletsService) EXPECT ¶ added in v1.24.0
func (m *MockDropletsService) EXPECT() *MockDropletsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDropletsService) Get ¶ added in v1.24.0
func (m *MockDropletsService) Get(arg0 int) (*do.Droplet, error)
Get mocks base method
func (*MockDropletsService) Kernels ¶ added in v1.24.0
func (m *MockDropletsService) Kernels(arg0 int) (do.Kernels, error)
Kernels mocks base method
func (*MockDropletsService) List ¶ added in v1.24.0
func (m *MockDropletsService) List() (do.Droplets, error)
List mocks base method
func (*MockDropletsService) ListByTag ¶ added in v1.24.0
func (m *MockDropletsService) ListByTag(arg0 string) (do.Droplets, error)
ListByTag mocks base method
type MockDropletsServiceMockRecorder ¶ added in v1.24.0
type MockDropletsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDropletsServiceMockRecorder is the mock recorder for MockDropletsService
func (*MockDropletsServiceMockRecorder) Actions ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) Actions(arg0 interface{}) *gomock.Call
Actions indicates an expected call of Actions
func (*MockDropletsServiceMockRecorder) Backups ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) Backups(arg0 interface{}) *gomock.Call
Backups indicates an expected call of Backups
func (*MockDropletsServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockDropletsServiceMockRecorder) CreateMultiple ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) CreateMultiple(arg0 interface{}) *gomock.Call
CreateMultiple indicates an expected call of CreateMultiple
func (*MockDropletsServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockDropletsServiceMockRecorder) DeleteByTag ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) DeleteByTag(arg0 interface{}) *gomock.Call
DeleteByTag indicates an expected call of DeleteByTag
func (*MockDropletsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockDropletsServiceMockRecorder) Kernels ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) Kernels(arg0 interface{}) *gomock.Call
Kernels indicates an expected call of Kernels
func (*MockDropletsServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockDropletsServiceMockRecorder) ListByTag ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) ListByTag(arg0 interface{}) *gomock.Call
ListByTag indicates an expected call of ListByTag
func (*MockDropletsServiceMockRecorder) Neighbors ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) Neighbors(arg0 interface{}) *gomock.Call
Neighbors indicates an expected call of Neighbors
func (*MockDropletsServiceMockRecorder) Snapshots ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) Snapshots(arg0 interface{}) *gomock.Call
Snapshots indicates an expected call of Snapshots
type MockFirewallsService ¶ added in v1.24.0
type MockFirewallsService struct {
// contains filtered or unexported fields
}
MockFirewallsService is a mock of FirewallsService interface
func NewMockFirewallsService ¶ added in v1.24.0
func NewMockFirewallsService(ctrl *gomock.Controller) *MockFirewallsService
NewMockFirewallsService creates a new mock instance
func (*MockFirewallsService) AddDroplets ¶ added in v1.24.0
func (m *MockFirewallsService) AddDroplets(fID string, dIDs ...int) error
AddDroplets mocks base method
func (*MockFirewallsService) AddRules ¶ added in v1.24.0
func (m *MockFirewallsService) AddRules(fID string, rr *godo.FirewallRulesRequest) error
AddRules mocks base method
func (*MockFirewallsService) AddTags ¶ added in v1.24.0
func (m *MockFirewallsService) AddTags(fID string, tags ...string) error
AddTags mocks base method
func (*MockFirewallsService) Create ¶ added in v1.24.0
func (m *MockFirewallsService) Create(fr *godo.FirewallRequest) (*do.Firewall, error)
Create mocks base method
func (*MockFirewallsService) Delete ¶ added in v1.24.0
func (m *MockFirewallsService) Delete(fID string) error
Delete mocks base method
func (*MockFirewallsService) EXPECT ¶ added in v1.24.0
func (m *MockFirewallsService) EXPECT() *MockFirewallsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFirewallsService) Get ¶ added in v1.24.0
func (m *MockFirewallsService) Get(fID string) (*do.Firewall, error)
Get mocks base method
func (*MockFirewallsService) List ¶ added in v1.24.0
func (m *MockFirewallsService) List() (do.Firewalls, error)
List mocks base method
func (*MockFirewallsService) ListByDroplet ¶ added in v1.24.0
func (m *MockFirewallsService) ListByDroplet(dID int) (do.Firewalls, error)
ListByDroplet mocks base method
func (*MockFirewallsService) RemoveDroplets ¶ added in v1.24.0
func (m *MockFirewallsService) RemoveDroplets(fID string, dIDs ...int) error
RemoveDroplets mocks base method
func (*MockFirewallsService) RemoveRules ¶ added in v1.24.0
func (m *MockFirewallsService) RemoveRules(fID string, rr *godo.FirewallRulesRequest) error
RemoveRules mocks base method
func (*MockFirewallsService) RemoveTags ¶ added in v1.24.0
func (m *MockFirewallsService) RemoveTags(fID string, tags ...string) error
RemoveTags mocks base method
func (*MockFirewallsService) Update ¶ added in v1.24.0
func (m *MockFirewallsService) Update(fID string, fr *godo.FirewallRequest) (*do.Firewall, error)
Update mocks base method
type MockFirewallsServiceMockRecorder ¶ added in v1.24.0
type MockFirewallsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockFirewallsServiceMockRecorder is the mock recorder for MockFirewallsService
func (*MockFirewallsServiceMockRecorder) AddDroplets ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) AddDroplets(fID interface{}, dIDs ...interface{}) *gomock.Call
AddDroplets indicates an expected call of AddDroplets
func (*MockFirewallsServiceMockRecorder) AddRules ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) AddRules(fID, rr interface{}) *gomock.Call
AddRules indicates an expected call of AddRules
func (*MockFirewallsServiceMockRecorder) AddTags ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) AddTags(fID interface{}, tags ...interface{}) *gomock.Call
AddTags indicates an expected call of AddTags
func (*MockFirewallsServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) Create(fr interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockFirewallsServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) Delete(fID interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockFirewallsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) Get(fID interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockFirewallsServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockFirewallsServiceMockRecorder) ListByDroplet ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) ListByDroplet(dID interface{}) *gomock.Call
ListByDroplet indicates an expected call of ListByDroplet
func (*MockFirewallsServiceMockRecorder) RemoveDroplets ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) RemoveDroplets(fID interface{}, dIDs ...interface{}) *gomock.Call
RemoveDroplets indicates an expected call of RemoveDroplets
func (*MockFirewallsServiceMockRecorder) RemoveRules ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) RemoveRules(fID, rr interface{}) *gomock.Call
RemoveRules indicates an expected call of RemoveRules
func (*MockFirewallsServiceMockRecorder) RemoveTags ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) RemoveTags(fID interface{}, tags ...interface{}) *gomock.Call
RemoveTags indicates an expected call of RemoveTags
func (*MockFirewallsServiceMockRecorder) Update ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) Update(fID, fr interface{}) *gomock.Call
Update indicates an expected call of Update
type MockFloatingIPActionsService ¶ added in v1.24.0
type MockFloatingIPActionsService struct {
// contains filtered or unexported fields
}
MockFloatingIPActionsService is a mock of FloatingIPActionsService interface
func NewMockFloatingIPActionsService ¶ added in v1.24.0
func NewMockFloatingIPActionsService(ctrl *gomock.Controller) *MockFloatingIPActionsService
NewMockFloatingIPActionsService creates a new mock instance
func (*MockFloatingIPActionsService) EXPECT ¶ added in v1.24.0
func (m *MockFloatingIPActionsService) EXPECT() *MockFloatingIPActionsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFloatingIPActionsService) List ¶ added in v1.24.0
func (m *MockFloatingIPActionsService) List(ip string, opt *godo.ListOptions) ([]do.Action, error)
List mocks base method
type MockFloatingIPActionsServiceMockRecorder ¶ added in v1.24.0
type MockFloatingIPActionsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockFloatingIPActionsServiceMockRecorder is the mock recorder for MockFloatingIPActionsService
func (*MockFloatingIPActionsServiceMockRecorder) Assign ¶ added in v1.24.0
func (mr *MockFloatingIPActionsServiceMockRecorder) Assign(ip, dropletID interface{}) *gomock.Call
Assign indicates an expected call of Assign
func (*MockFloatingIPActionsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockFloatingIPActionsServiceMockRecorder) Get(ip, actionID interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockFloatingIPActionsServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockFloatingIPActionsServiceMockRecorder) List(ip, opt interface{}) *gomock.Call
List indicates an expected call of List
func (*MockFloatingIPActionsServiceMockRecorder) Unassign ¶ added in v1.24.0
func (mr *MockFloatingIPActionsServiceMockRecorder) Unassign(ip interface{}) *gomock.Call
Unassign indicates an expected call of Unassign
type MockFloatingIPsService ¶ added in v1.24.0
type MockFloatingIPsService struct {
// contains filtered or unexported fields
}
MockFloatingIPsService is a mock of FloatingIPsService interface
func NewMockFloatingIPsService ¶ added in v1.24.0
func NewMockFloatingIPsService(ctrl *gomock.Controller) *MockFloatingIPsService
NewMockFloatingIPsService creates a new mock instance
func (*MockFloatingIPsService) Create ¶ added in v1.24.0
func (m *MockFloatingIPsService) Create(ficr *godo.FloatingIPCreateRequest) (*do.FloatingIP, error)
Create mocks base method
func (*MockFloatingIPsService) Delete ¶ added in v1.24.0
func (m *MockFloatingIPsService) Delete(ip string) error
Delete mocks base method
func (*MockFloatingIPsService) EXPECT ¶ added in v1.24.0
func (m *MockFloatingIPsService) EXPECT() *MockFloatingIPsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFloatingIPsService) Get ¶ added in v1.24.0
func (m *MockFloatingIPsService) Get(ip string) (*do.FloatingIP, error)
Get mocks base method
func (*MockFloatingIPsService) List ¶ added in v1.24.0
func (m *MockFloatingIPsService) List() (do.FloatingIPs, error)
List mocks base method
type MockFloatingIPsServiceMockRecorder ¶ added in v1.24.0
type MockFloatingIPsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockFloatingIPsServiceMockRecorder is the mock recorder for MockFloatingIPsService
func (*MockFloatingIPsServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockFloatingIPsServiceMockRecorder) Create(ficr interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockFloatingIPsServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockFloatingIPsServiceMockRecorder) Delete(ip interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockFloatingIPsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockFloatingIPsServiceMockRecorder) Get(ip interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockFloatingIPsServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockFloatingIPsServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
type MockImageActionsService ¶ added in v1.24.0
type MockImageActionsService struct {
// contains filtered or unexported fields
}
MockImageActionsService is a mock of ImageActionsService interface
func NewMockImageActionsService ¶ added in v1.24.0
func NewMockImageActionsService(ctrl *gomock.Controller) *MockImageActionsService
NewMockImageActionsService creates a new mock instance
func (*MockImageActionsService) Convert ¶ added in v1.24.0
func (m *MockImageActionsService) Convert(arg0 int) (*do.Action, error)
Convert mocks base method
func (*MockImageActionsService) EXPECT ¶ added in v1.24.0
func (m *MockImageActionsService) EXPECT() *MockImageActionsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockImageActionsService) Get ¶ added in v1.24.0
func (m *MockImageActionsService) Get(arg0, arg1 int) (*do.Action, error)
Get mocks base method
func (*MockImageActionsService) Transfer ¶ added in v1.24.0
func (m *MockImageActionsService) Transfer(arg0 int, arg1 *godo.ActionRequest) (*do.Action, error)
Transfer mocks base method
type MockImageActionsServiceMockRecorder ¶ added in v1.24.0
type MockImageActionsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockImageActionsServiceMockRecorder is the mock recorder for MockImageActionsService
func (*MockImageActionsServiceMockRecorder) Convert ¶ added in v1.24.0
func (mr *MockImageActionsServiceMockRecorder) Convert(arg0 interface{}) *gomock.Call
Convert indicates an expected call of Convert
func (*MockImageActionsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockImageActionsServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockImageActionsServiceMockRecorder) Transfer ¶ added in v1.24.0
func (mr *MockImageActionsServiceMockRecorder) Transfer(arg0, arg1 interface{}) *gomock.Call
Transfer indicates an expected call of Transfer
type MockImagesService ¶ added in v1.24.0
type MockImagesService struct {
// contains filtered or unexported fields
}
MockImagesService is a mock of ImagesService interface
func NewMockImagesService ¶ added in v1.24.0
func NewMockImagesService(ctrl *gomock.Controller) *MockImagesService
NewMockImagesService creates a new mock instance
func (*MockImagesService) Create ¶ added in v1.33.0
func (m *MockImagesService) Create(icr *godo.CustomImageCreateRequest) (*do.Image, error)
Create mocks base method
func (*MockImagesService) Delete ¶ added in v1.24.0
func (m *MockImagesService) Delete(id int) error
Delete mocks base method
func (*MockImagesService) EXPECT ¶ added in v1.24.0
func (m *MockImagesService) EXPECT() *MockImagesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockImagesService) GetByID ¶ added in v1.24.0
func (m *MockImagesService) GetByID(id int) (*do.Image, error)
GetByID mocks base method
func (*MockImagesService) GetBySlug ¶ added in v1.24.0
func (m *MockImagesService) GetBySlug(slug string) (*do.Image, error)
GetBySlug mocks base method
func (*MockImagesService) List ¶ added in v1.24.0
func (m *MockImagesService) List(public bool) (do.Images, error)
List mocks base method
func (*MockImagesService) ListApplication ¶ added in v1.24.0
func (m *MockImagesService) ListApplication(public bool) (do.Images, error)
ListApplication mocks base method
func (*MockImagesService) ListDistribution ¶ added in v1.24.0
func (m *MockImagesService) ListDistribution(public bool) (do.Images, error)
ListDistribution mocks base method
func (*MockImagesService) ListUser ¶ added in v1.24.0
func (m *MockImagesService) ListUser(public bool) (do.Images, error)
ListUser mocks base method
func (*MockImagesService) Update ¶ added in v1.24.0
func (m *MockImagesService) Update(id int, iur *godo.ImageUpdateRequest) (*do.Image, error)
Update mocks base method
type MockImagesServiceMockRecorder ¶ added in v1.24.0
type MockImagesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockImagesServiceMockRecorder is the mock recorder for MockImagesService
func (*MockImagesServiceMockRecorder) Create ¶ added in v1.33.0
func (mr *MockImagesServiceMockRecorder) Create(icr interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockImagesServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockImagesServiceMockRecorder) Delete(id interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockImagesServiceMockRecorder) GetByID ¶ added in v1.24.0
func (mr *MockImagesServiceMockRecorder) GetByID(id interface{}) *gomock.Call
GetByID indicates an expected call of GetByID
func (*MockImagesServiceMockRecorder) GetBySlug ¶ added in v1.24.0
func (mr *MockImagesServiceMockRecorder) GetBySlug(slug interface{}) *gomock.Call
GetBySlug indicates an expected call of GetBySlug
func (*MockImagesServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockImagesServiceMockRecorder) List(public interface{}) *gomock.Call
List indicates an expected call of List
func (*MockImagesServiceMockRecorder) ListApplication ¶ added in v1.24.0
func (mr *MockImagesServiceMockRecorder) ListApplication(public interface{}) *gomock.Call
ListApplication indicates an expected call of ListApplication
func (*MockImagesServiceMockRecorder) ListDistribution ¶ added in v1.24.0
func (mr *MockImagesServiceMockRecorder) ListDistribution(public interface{}) *gomock.Call
ListDistribution indicates an expected call of ListDistribution
func (*MockImagesServiceMockRecorder) ListUser ¶ added in v1.24.0
func (mr *MockImagesServiceMockRecorder) ListUser(public interface{}) *gomock.Call
ListUser indicates an expected call of ListUser
func (*MockImagesServiceMockRecorder) Update ¶ added in v1.24.0
func (mr *MockImagesServiceMockRecorder) Update(id, iur interface{}) *gomock.Call
Update indicates an expected call of Update
type MockKeysService ¶ added in v1.24.0
type MockKeysService struct {
// contains filtered or unexported fields
}
MockKeysService is a mock of KeysService interface
func NewMockKeysService ¶ added in v1.24.0
func NewMockKeysService(ctrl *gomock.Controller) *MockKeysService
NewMockKeysService creates a new mock instance
func (*MockKeysService) Create ¶ added in v1.24.0
func (m *MockKeysService) Create(kcr *godo.KeyCreateRequest) (*do.SSHKey, error)
Create mocks base method
func (*MockKeysService) Delete ¶ added in v1.24.0
func (m *MockKeysService) Delete(id string) error
Delete mocks base method
func (*MockKeysService) EXPECT ¶ added in v1.24.0
func (m *MockKeysService) EXPECT() *MockKeysServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKeysService) Get ¶ added in v1.24.0
func (m *MockKeysService) Get(id string) (*do.SSHKey, error)
Get mocks base method
func (*MockKeysService) List ¶ added in v1.24.0
func (m *MockKeysService) List() (do.SSHKeys, error)
List mocks base method
func (*MockKeysService) Update ¶ added in v1.24.0
func (m *MockKeysService) Update(id string, kur *godo.KeyUpdateRequest) (*do.SSHKey, error)
Update mocks base method
type MockKeysServiceMockRecorder ¶ added in v1.24.0
type MockKeysServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockKeysServiceMockRecorder is the mock recorder for MockKeysService
func (*MockKeysServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockKeysServiceMockRecorder) Create(kcr interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockKeysServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockKeysServiceMockRecorder) Delete(id interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockKeysServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockKeysServiceMockRecorder) Get(id interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockKeysServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockKeysServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockKeysServiceMockRecorder) Update ¶ added in v1.24.0
func (mr *MockKeysServiceMockRecorder) Update(id, kur interface{}) *gomock.Call
Update indicates an expected call of Update
type MockKubernetesService ¶ added in v1.24.0
type MockKubernetesService struct {
// contains filtered or unexported fields
}
MockKubernetesService is a mock of KubernetesService interface
func NewMockKubernetesService ¶ added in v1.24.0
func NewMockKubernetesService(ctrl *gomock.Controller) *MockKubernetesService
NewMockKubernetesService creates a new mock instance
func (*MockKubernetesService) Create ¶ added in v1.24.0
func (m *MockKubernetesService) Create(create *godo.KubernetesClusterCreateRequest) (*do.KubernetesCluster, error)
Create mocks base method
func (*MockKubernetesService) CreateNodePool ¶ added in v1.24.0
func (m *MockKubernetesService) CreateNodePool(clusterID string, req *godo.KubernetesNodePoolCreateRequest) (*do.KubernetesNodePool, error)
CreateNodePool mocks base method
func (*MockKubernetesService) Delete ¶ added in v1.24.0
func (m *MockKubernetesService) Delete(clusterID string) error
Delete mocks base method
func (*MockKubernetesService) DeleteNode ¶ added in v1.24.0
func (m *MockKubernetesService) DeleteNode(clusterID, poolID, nodeID string, req *godo.KubernetesNodeDeleteRequest) error
DeleteNode mocks base method
func (*MockKubernetesService) DeleteNodePool ¶ added in v1.24.0
func (m *MockKubernetesService) DeleteNodePool(clusterID, poolID string) error
DeleteNodePool mocks base method
func (*MockKubernetesService) EXPECT ¶ added in v1.24.0
func (m *MockKubernetesService) EXPECT() *MockKubernetesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockKubernetesService) Get ¶ added in v1.24.0
func (m *MockKubernetesService) Get(clusterID string) (*do.KubernetesCluster, error)
Get mocks base method
func (*MockKubernetesService) GetCredentials ¶ added in v1.32.2
func (m *MockKubernetesService) GetCredentials(clusterID string) (*do.KubernetesClusterCredentials, error)
GetCredentials mocks base method
func (*MockKubernetesService) GetKubeConfig ¶ added in v1.24.0
func (m *MockKubernetesService) GetKubeConfig(clusterID string) ([]byte, error)
GetKubeConfig mocks base method
func (*MockKubernetesService) GetNodePool ¶ added in v1.24.0
func (m *MockKubernetesService) GetNodePool(clusterID, poolID string) (*do.KubernetesNodePool, error)
GetNodePool mocks base method
func (*MockKubernetesService) GetNodeSizes ¶ added in v1.24.0
func (m *MockKubernetesService) GetNodeSizes() (do.KubernetesNodeSizes, error)
GetNodeSizes mocks base method
func (*MockKubernetesService) GetRegions ¶ added in v1.24.0
func (m *MockKubernetesService) GetRegions() (do.KubernetesRegions, error)
GetRegions mocks base method
func (*MockKubernetesService) GetUpgrades ¶ added in v1.24.0
func (m *MockKubernetesService) GetUpgrades(clusterID string) (do.KubernetesVersions, error)
GetUpgrades mocks base method
func (*MockKubernetesService) GetVersions ¶ added in v1.24.0
func (m *MockKubernetesService) GetVersions() (do.KubernetesVersions, error)
GetVersions mocks base method
func (*MockKubernetesService) List ¶ added in v1.24.0
func (m *MockKubernetesService) List() (do.KubernetesClusters, error)
List mocks base method
func (*MockKubernetesService) ListNodePools ¶ added in v1.24.0
func (m *MockKubernetesService) ListNodePools(clusterID string) (do.KubernetesNodePools, error)
ListNodePools mocks base method
func (*MockKubernetesService) RecycleNodePoolNodes ¶ added in v1.24.0
func (m *MockKubernetesService) RecycleNodePoolNodes(clusterID, poolID string, req *godo.KubernetesNodePoolRecycleNodesRequest) error
RecycleNodePoolNodes mocks base method
func (*MockKubernetesService) Update ¶ added in v1.24.0
func (m *MockKubernetesService) Update(clusterID string, update *godo.KubernetesClusterUpdateRequest) (*do.KubernetesCluster, error)
Update mocks base method
func (*MockKubernetesService) UpdateNodePool ¶ added in v1.24.0
func (m *MockKubernetesService) UpdateNodePool(clusterID, poolID string, req *godo.KubernetesNodePoolUpdateRequest) (*do.KubernetesNodePool, error)
UpdateNodePool mocks base method
func (*MockKubernetesService) Upgrade ¶ added in v1.24.0
func (m *MockKubernetesService) Upgrade(clusterID, versionSlug string) error
Upgrade mocks base method
type MockKubernetesServiceMockRecorder ¶ added in v1.24.0
type MockKubernetesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockKubernetesServiceMockRecorder is the mock recorder for MockKubernetesService
func (*MockKubernetesServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) Create(create interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockKubernetesServiceMockRecorder) CreateNodePool ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) CreateNodePool(clusterID, req interface{}) *gomock.Call
CreateNodePool indicates an expected call of CreateNodePool
func (*MockKubernetesServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) Delete(clusterID interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockKubernetesServiceMockRecorder) DeleteNode ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) DeleteNode(clusterID, poolID, nodeID, req interface{}) *gomock.Call
DeleteNode indicates an expected call of DeleteNode
func (*MockKubernetesServiceMockRecorder) DeleteNodePool ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) DeleteNodePool(clusterID, poolID interface{}) *gomock.Call
DeleteNodePool indicates an expected call of DeleteNodePool
func (*MockKubernetesServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) Get(clusterID interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockKubernetesServiceMockRecorder) GetCredentials ¶ added in v1.32.2
func (mr *MockKubernetesServiceMockRecorder) GetCredentials(clusterID interface{}) *gomock.Call
GetCredentials indicates an expected call of GetCredentials
func (*MockKubernetesServiceMockRecorder) GetKubeConfig ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) GetKubeConfig(clusterID interface{}) *gomock.Call
GetKubeConfig indicates an expected call of GetKubeConfig
func (*MockKubernetesServiceMockRecorder) GetNodePool ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) GetNodePool(clusterID, poolID interface{}) *gomock.Call
GetNodePool indicates an expected call of GetNodePool
func (*MockKubernetesServiceMockRecorder) GetNodeSizes ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) GetNodeSizes() *gomock.Call
GetNodeSizes indicates an expected call of GetNodeSizes
func (*MockKubernetesServiceMockRecorder) GetRegions ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) GetRegions() *gomock.Call
GetRegions indicates an expected call of GetRegions
func (*MockKubernetesServiceMockRecorder) GetUpgrades ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) GetUpgrades(clusterID interface{}) *gomock.Call
GetUpgrades indicates an expected call of GetUpgrades
func (*MockKubernetesServiceMockRecorder) GetVersions ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) GetVersions() *gomock.Call
GetVersions indicates an expected call of GetVersions
func (*MockKubernetesServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockKubernetesServiceMockRecorder) ListNodePools ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) ListNodePools(clusterID interface{}) *gomock.Call
ListNodePools indicates an expected call of ListNodePools
func (*MockKubernetesServiceMockRecorder) RecycleNodePoolNodes ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) RecycleNodePoolNodes(clusterID, poolID, req interface{}) *gomock.Call
RecycleNodePoolNodes indicates an expected call of RecycleNodePoolNodes
func (*MockKubernetesServiceMockRecorder) Update ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) Update(clusterID, update interface{}) *gomock.Call
Update indicates an expected call of Update
func (*MockKubernetesServiceMockRecorder) UpdateNodePool ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) UpdateNodePool(clusterID, poolID, req interface{}) *gomock.Call
UpdateNodePool indicates an expected call of UpdateNodePool
func (*MockKubernetesServiceMockRecorder) Upgrade ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) Upgrade(clusterID, versionSlug interface{}) *gomock.Call
Upgrade indicates an expected call of Upgrade
type MockLoadBalancersService ¶ added in v1.24.0
type MockLoadBalancersService struct {
// contains filtered or unexported fields
}
MockLoadBalancersService is a mock of LoadBalancersService interface
func NewMockLoadBalancersService ¶ added in v1.24.0
func NewMockLoadBalancersService(ctrl *gomock.Controller) *MockLoadBalancersService
NewMockLoadBalancersService creates a new mock instance
func (*MockLoadBalancersService) AddDroplets ¶ added in v1.24.0
func (m *MockLoadBalancersService) AddDroplets(lbID string, dIDs ...int) error
AddDroplets mocks base method
func (*MockLoadBalancersService) AddForwardingRules ¶ added in v1.24.0
func (m *MockLoadBalancersService) AddForwardingRules(lbID string, rules ...godo.ForwardingRule) error
AddForwardingRules mocks base method
func (*MockLoadBalancersService) Create ¶ added in v1.24.0
func (m *MockLoadBalancersService) Create(lbr *godo.LoadBalancerRequest) (*do.LoadBalancer, error)
Create mocks base method
func (*MockLoadBalancersService) Delete ¶ added in v1.24.0
func (m *MockLoadBalancersService) Delete(lbID string) error
Delete mocks base method
func (*MockLoadBalancersService) EXPECT ¶ added in v1.24.0
func (m *MockLoadBalancersService) EXPECT() *MockLoadBalancersServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockLoadBalancersService) Get ¶ added in v1.24.0
func (m *MockLoadBalancersService) Get(lbID string) (*do.LoadBalancer, error)
Get mocks base method
func (*MockLoadBalancersService) List ¶ added in v1.24.0
func (m *MockLoadBalancersService) List() (do.LoadBalancers, error)
List mocks base method
func (*MockLoadBalancersService) RemoveDroplets ¶ added in v1.24.0
func (m *MockLoadBalancersService) RemoveDroplets(lbID string, dIDs ...int) error
RemoveDroplets mocks base method
func (*MockLoadBalancersService) RemoveForwardingRules ¶ added in v1.24.0
func (m *MockLoadBalancersService) RemoveForwardingRules(lbID string, rules ...godo.ForwardingRule) error
RemoveForwardingRules mocks base method
func (*MockLoadBalancersService) Update ¶ added in v1.24.0
func (m *MockLoadBalancersService) Update(lbID string, lbr *godo.LoadBalancerRequest) (*do.LoadBalancer, error)
Update mocks base method
type MockLoadBalancersServiceMockRecorder ¶ added in v1.24.0
type MockLoadBalancersServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockLoadBalancersServiceMockRecorder is the mock recorder for MockLoadBalancersService
func (*MockLoadBalancersServiceMockRecorder) AddDroplets ¶ added in v1.24.0
func (mr *MockLoadBalancersServiceMockRecorder) AddDroplets(lbID interface{}, dIDs ...interface{}) *gomock.Call
AddDroplets indicates an expected call of AddDroplets
func (*MockLoadBalancersServiceMockRecorder) AddForwardingRules ¶ added in v1.24.0
func (mr *MockLoadBalancersServiceMockRecorder) AddForwardingRules(lbID interface{}, rules ...interface{}) *gomock.Call
AddForwardingRules indicates an expected call of AddForwardingRules
func (*MockLoadBalancersServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockLoadBalancersServiceMockRecorder) Create(lbr interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockLoadBalancersServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockLoadBalancersServiceMockRecorder) Delete(lbID interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockLoadBalancersServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockLoadBalancersServiceMockRecorder) Get(lbID interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockLoadBalancersServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockLoadBalancersServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockLoadBalancersServiceMockRecorder) RemoveDroplets ¶ added in v1.24.0
func (mr *MockLoadBalancersServiceMockRecorder) RemoveDroplets(lbID interface{}, dIDs ...interface{}) *gomock.Call
RemoveDroplets indicates an expected call of RemoveDroplets
func (*MockLoadBalancersServiceMockRecorder) RemoveForwardingRules ¶ added in v1.24.0
func (mr *MockLoadBalancersServiceMockRecorder) RemoveForwardingRules(lbID interface{}, rules ...interface{}) *gomock.Call
RemoveForwardingRules indicates an expected call of RemoveForwardingRules
func (*MockLoadBalancersServiceMockRecorder) Update ¶ added in v1.24.0
func (mr *MockLoadBalancersServiceMockRecorder) Update(lbID, lbr interface{}) *gomock.Call
Update indicates an expected call of Update
type MockProjectsService ¶ added in v1.24.0
type MockProjectsService struct {
// contains filtered or unexported fields
}
MockProjectsService is a mock of ProjectsService interface
func NewMockProjectsService ¶ added in v1.24.0
func NewMockProjectsService(ctrl *gomock.Controller) *MockProjectsService
NewMockProjectsService creates a new mock instance
func (*MockProjectsService) AssignResources ¶ added in v1.24.0
func (m *MockProjectsService) AssignResources(projectUUID string, resources []string) (do.ProjectResources, error)
AssignResources mocks base method
func (*MockProjectsService) Create ¶ added in v1.24.0
func (m *MockProjectsService) Create(arg0 *godo.CreateProjectRequest) (*do.Project, error)
Create mocks base method
func (*MockProjectsService) Delete ¶ added in v1.24.0
func (m *MockProjectsService) Delete(projectUUID string) error
Delete mocks base method
func (*MockProjectsService) EXPECT ¶ added in v1.24.0
func (m *MockProjectsService) EXPECT() *MockProjectsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockProjectsService) Get ¶ added in v1.24.0
func (m *MockProjectsService) Get(projectUUID string) (*do.Project, error)
Get mocks base method
func (*MockProjectsService) GetDefault ¶ added in v1.24.0
func (m *MockProjectsService) GetDefault() (*do.Project, error)
GetDefault mocks base method
func (*MockProjectsService) List ¶ added in v1.24.0
func (m *MockProjectsService) List() (do.Projects, error)
List mocks base method
func (*MockProjectsService) ListResources ¶ added in v1.24.0
func (m *MockProjectsService) ListResources(projectUUID string) (do.ProjectResources, error)
ListResources mocks base method
func (*MockProjectsService) Update ¶ added in v1.24.0
func (m *MockProjectsService) Update(projectUUID string, req *godo.UpdateProjectRequest) (*do.Project, error)
Update mocks base method
type MockProjectsServiceMockRecorder ¶ added in v1.24.0
type MockProjectsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockProjectsServiceMockRecorder is the mock recorder for MockProjectsService
func (*MockProjectsServiceMockRecorder) AssignResources ¶ added in v1.24.0
func (mr *MockProjectsServiceMockRecorder) AssignResources(projectUUID, resources interface{}) *gomock.Call
AssignResources indicates an expected call of AssignResources
func (*MockProjectsServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockProjectsServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockProjectsServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockProjectsServiceMockRecorder) Delete(projectUUID interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockProjectsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockProjectsServiceMockRecorder) Get(projectUUID interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockProjectsServiceMockRecorder) GetDefault ¶ added in v1.24.0
func (mr *MockProjectsServiceMockRecorder) GetDefault() *gomock.Call
GetDefault indicates an expected call of GetDefault
func (*MockProjectsServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockProjectsServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockProjectsServiceMockRecorder) ListResources ¶ added in v1.24.0
func (mr *MockProjectsServiceMockRecorder) ListResources(projectUUID interface{}) *gomock.Call
ListResources indicates an expected call of ListResources
func (*MockProjectsServiceMockRecorder) Update ¶ added in v1.24.0
func (mr *MockProjectsServiceMockRecorder) Update(projectUUID, req interface{}) *gomock.Call
Update indicates an expected call of Update
type MockRegionsService ¶ added in v1.24.0
type MockRegionsService struct {
// contains filtered or unexported fields
}
MockRegionsService is a mock of RegionsService interface
func NewMockRegionsService ¶ added in v1.24.0
func NewMockRegionsService(ctrl *gomock.Controller) *MockRegionsService
NewMockRegionsService creates a new mock instance
func (*MockRegionsService) EXPECT ¶ added in v1.24.0
func (m *MockRegionsService) EXPECT() *MockRegionsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockRegionsServiceMockRecorder ¶ added in v1.24.0
type MockRegionsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRegionsServiceMockRecorder is the mock recorder for MockRegionsService
func (*MockRegionsServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockRegionsServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
type MockRegistryService ¶ added in v1.34.0
type MockRegistryService struct {
// contains filtered or unexported fields
}
MockRegistryService is a mock of RegistryService interface
func NewMockRegistryService ¶ added in v1.34.0
func NewMockRegistryService(ctrl *gomock.Controller) *MockRegistryService
NewMockRegistryService creates a new mock instance
func (*MockRegistryService) Create ¶ added in v1.34.0
func (m *MockRegistryService) Create(arg0 *godo.RegistryCreateRequest) (*do.Registry, error)
Create mocks base method
func (*MockRegistryService) Delete ¶ added in v1.34.0
func (m *MockRegistryService) Delete() error
Delete mocks base method
func (*MockRegistryService) DockerCredentials ¶ added in v1.34.0
func (m *MockRegistryService) DockerCredentials(arg0 *godo.RegistryDockerCredentialsRequest) (*godo.DockerCredentials, error)
DockerCredentials mocks base method
func (*MockRegistryService) EXPECT ¶ added in v1.34.0
func (m *MockRegistryService) EXPECT() *MockRegistryServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRegistryService) Endpoint ¶ added in v1.34.0
func (m *MockRegistryService) Endpoint() string
Endpoint mocks base method
type MockRegistryServiceMockRecorder ¶ added in v1.34.0
type MockRegistryServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRegistryServiceMockRecorder is the mock recorder for MockRegistryService
func (*MockRegistryServiceMockRecorder) Create ¶ added in v1.34.0
func (mr *MockRegistryServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockRegistryServiceMockRecorder) Delete ¶ added in v1.34.0
func (mr *MockRegistryServiceMockRecorder) Delete() *gomock.Call
Delete indicates an expected call of Delete
func (*MockRegistryServiceMockRecorder) DockerCredentials ¶ added in v1.34.0
func (mr *MockRegistryServiceMockRecorder) DockerCredentials(arg0 interface{}) *gomock.Call
DockerCredentials indicates an expected call of DockerCredentials
func (*MockRegistryServiceMockRecorder) Endpoint ¶ added in v1.34.0
func (mr *MockRegistryServiceMockRecorder) Endpoint() *gomock.Call
Endpoint indicates an expected call of Endpoint
func (*MockRegistryServiceMockRecorder) Get ¶ added in v1.34.0
func (mr *MockRegistryServiceMockRecorder) Get() *gomock.Call
Get indicates an expected call of Get
type MockSizesService ¶ added in v1.24.0
type MockSizesService struct {
// contains filtered or unexported fields
}
MockSizesService is a mock of SizesService interface
func NewMockSizesService ¶ added in v1.24.0
func NewMockSizesService(ctrl *gomock.Controller) *MockSizesService
NewMockSizesService creates a new mock instance
func (*MockSizesService) EXPECT ¶ added in v1.24.0
func (m *MockSizesService) EXPECT() *MockSizesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockSizesServiceMockRecorder ¶ added in v1.24.0
type MockSizesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockSizesServiceMockRecorder is the mock recorder for MockSizesService
func (*MockSizesServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockSizesServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
type MockSnapshotsService ¶ added in v1.24.0
type MockSnapshotsService struct {
// contains filtered or unexported fields
}
MockSnapshotsService is a mock of SnapshotsService interface
func NewMockSnapshotsService ¶ added in v1.24.0
func NewMockSnapshotsService(ctrl *gomock.Controller) *MockSnapshotsService
NewMockSnapshotsService creates a new mock instance
func (*MockSnapshotsService) Delete ¶ added in v1.24.0
func (m *MockSnapshotsService) Delete(arg0 string) error
Delete mocks base method
func (*MockSnapshotsService) EXPECT ¶ added in v1.24.0
func (m *MockSnapshotsService) EXPECT() *MockSnapshotsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSnapshotsService) Get ¶ added in v1.24.0
func (m *MockSnapshotsService) Get(arg0 string) (*do.Snapshot, error)
Get mocks base method
func (*MockSnapshotsService) List ¶ added in v1.24.0
func (m *MockSnapshotsService) List() (do.Snapshots, error)
List mocks base method
func (*MockSnapshotsService) ListDroplet ¶ added in v1.24.0
func (m *MockSnapshotsService) ListDroplet() (do.Snapshots, error)
ListDroplet mocks base method
func (*MockSnapshotsService) ListVolume ¶ added in v1.24.0
func (m *MockSnapshotsService) ListVolume() (do.Snapshots, error)
ListVolume mocks base method
type MockSnapshotsServiceMockRecorder ¶ added in v1.24.0
type MockSnapshotsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockSnapshotsServiceMockRecorder is the mock recorder for MockSnapshotsService
func (*MockSnapshotsServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockSnapshotsServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockSnapshotsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockSnapshotsServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockSnapshotsServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockSnapshotsServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockSnapshotsServiceMockRecorder) ListDroplet ¶ added in v1.24.0
func (mr *MockSnapshotsServiceMockRecorder) ListDroplet() *gomock.Call
ListDroplet indicates an expected call of ListDroplet
func (*MockSnapshotsServiceMockRecorder) ListVolume ¶ added in v1.24.0
func (mr *MockSnapshotsServiceMockRecorder) ListVolume() *gomock.Call
ListVolume indicates an expected call of ListVolume
type MockTagsService ¶ added in v1.24.0
type MockTagsService struct {
// contains filtered or unexported fields
}
MockTagsService is a mock of TagsService interface
func NewMockTagsService ¶ added in v1.24.0
func NewMockTagsService(ctrl *gomock.Controller) *MockTagsService
NewMockTagsService creates a new mock instance
func (*MockTagsService) Create ¶ added in v1.24.0
func (m *MockTagsService) Create(arg0 *godo.TagCreateRequest) (*do.Tag, error)
Create mocks base method
func (*MockTagsService) Delete ¶ added in v1.24.0
func (m *MockTagsService) Delete(arg0 string) error
Delete mocks base method
func (*MockTagsService) EXPECT ¶ added in v1.24.0
func (m *MockTagsService) EXPECT() *MockTagsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockTagsService) Get ¶ added in v1.24.0
func (m *MockTagsService) Get(arg0 string) (*do.Tag, error)
Get mocks base method
func (*MockTagsService) List ¶ added in v1.24.0
func (m *MockTagsService) List() (do.Tags, error)
List mocks base method
func (*MockTagsService) TagResources ¶ added in v1.24.0
func (m *MockTagsService) TagResources(arg0 string, arg1 *godo.TagResourcesRequest) error
TagResources mocks base method
func (*MockTagsService) UntagResources ¶ added in v1.24.0
func (m *MockTagsService) UntagResources(arg0 string, arg1 *godo.UntagResourcesRequest) error
UntagResources mocks base method
type MockTagsServiceMockRecorder ¶ added in v1.24.0
type MockTagsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTagsServiceMockRecorder is the mock recorder for MockTagsService
func (*MockTagsServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockTagsServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockTagsServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockTagsServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockTagsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockTagsServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockTagsServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockTagsServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockTagsServiceMockRecorder) TagResources ¶ added in v1.24.0
func (mr *MockTagsServiceMockRecorder) TagResources(arg0, arg1 interface{}) *gomock.Call
TagResources indicates an expected call of TagResources
func (*MockTagsServiceMockRecorder) UntagResources ¶ added in v1.24.0
func (mr *MockTagsServiceMockRecorder) UntagResources(arg0, arg1 interface{}) *gomock.Call
UntagResources indicates an expected call of UntagResources
type MockVolumeActionsService ¶ added in v1.24.0
type MockVolumeActionsService struct {
// contains filtered or unexported fields
}
MockVolumeActionsService is a mock of VolumeActionsService interface
func NewMockVolumeActionsService ¶ added in v1.24.0
func NewMockVolumeActionsService(ctrl *gomock.Controller) *MockVolumeActionsService
NewMockVolumeActionsService creates a new mock instance
func (*MockVolumeActionsService) EXPECT ¶ added in v1.24.0
func (m *MockVolumeActionsService) EXPECT() *MockVolumeActionsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockVolumeActionsService) List ¶ added in v1.24.0
func (m *MockVolumeActionsService) List(arg0 string, arg1 *godo.ListOptions) ([]do.Action, error)
List mocks base method
type MockVolumeActionsServiceMockRecorder ¶ added in v1.24.0
type MockVolumeActionsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockVolumeActionsServiceMockRecorder is the mock recorder for MockVolumeActionsService
func (*MockVolumeActionsServiceMockRecorder) Attach ¶ added in v1.24.0
func (mr *MockVolumeActionsServiceMockRecorder) Attach(arg0, arg1 interface{}) *gomock.Call
Attach indicates an expected call of Attach
func (*MockVolumeActionsServiceMockRecorder) Detach ¶ added in v1.24.0
func (mr *MockVolumeActionsServiceMockRecorder) Detach(arg0, arg1 interface{}) *gomock.Call
Detach indicates an expected call of Detach
func (*MockVolumeActionsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockVolumeActionsServiceMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockVolumeActionsServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockVolumeActionsServiceMockRecorder) List(arg0, arg1 interface{}) *gomock.Call
List indicates an expected call of List
func (*MockVolumeActionsServiceMockRecorder) Resize ¶ added in v1.24.0
func (mr *MockVolumeActionsServiceMockRecorder) Resize(arg0, arg1, arg2 interface{}) *gomock.Call
Resize indicates an expected call of Resize
type MockVolumesService ¶ added in v1.24.0
type MockVolumesService struct {
// contains filtered or unexported fields
}
MockVolumesService is a mock of VolumesService interface
func NewMockVolumesService ¶ added in v1.24.0
func NewMockVolumesService(ctrl *gomock.Controller) *MockVolumesService
NewMockVolumesService creates a new mock instance
func (*MockVolumesService) CreateSnapshot ¶ added in v1.24.0
func (m *MockVolumesService) CreateSnapshot(arg0 *godo.SnapshotCreateRequest) (*do.Snapshot, error)
CreateSnapshot mocks base method
func (*MockVolumesService) CreateVolume ¶ added in v1.24.0
func (m *MockVolumesService) CreateVolume(arg0 *godo.VolumeCreateRequest) (*do.Volume, error)
CreateVolume mocks base method
func (*MockVolumesService) DeleteSnapshot ¶ added in v1.24.0
func (m *MockVolumesService) DeleteSnapshot(arg0 string) error
DeleteSnapshot mocks base method
func (*MockVolumesService) DeleteVolume ¶ added in v1.24.0
func (m *MockVolumesService) DeleteVolume(arg0 string) error
DeleteVolume mocks base method
func (*MockVolumesService) EXPECT ¶ added in v1.24.0
func (m *MockVolumesService) EXPECT() *MockVolumesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockVolumesService) Get ¶ added in v1.24.0
func (m *MockVolumesService) Get(arg0 string) (*do.Volume, error)
Get mocks base method
func (*MockVolumesService) GetSnapshot ¶ added in v1.24.0
func (m *MockVolumesService) GetSnapshot(arg0 string) (*do.Snapshot, error)
GetSnapshot mocks base method
func (*MockVolumesService) List ¶ added in v1.24.0
func (m *MockVolumesService) List() ([]do.Volume, error)
List mocks base method
func (*MockVolumesService) ListSnapshots ¶ added in v1.24.0
func (m *MockVolumesService) ListSnapshots(arg0 string, arg1 *godo.ListOptions) ([]do.Snapshot, error)
ListSnapshots mocks base method
type MockVolumesServiceMockRecorder ¶ added in v1.24.0
type MockVolumesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockVolumesServiceMockRecorder is the mock recorder for MockVolumesService
func (*MockVolumesServiceMockRecorder) CreateSnapshot ¶ added in v1.24.0
func (mr *MockVolumesServiceMockRecorder) CreateSnapshot(arg0 interface{}) *gomock.Call
CreateSnapshot indicates an expected call of CreateSnapshot
func (*MockVolumesServiceMockRecorder) CreateVolume ¶ added in v1.24.0
func (mr *MockVolumesServiceMockRecorder) CreateVolume(arg0 interface{}) *gomock.Call
CreateVolume indicates an expected call of CreateVolume
func (*MockVolumesServiceMockRecorder) DeleteSnapshot ¶ added in v1.24.0
func (mr *MockVolumesServiceMockRecorder) DeleteSnapshot(arg0 interface{}) *gomock.Call
DeleteSnapshot indicates an expected call of DeleteSnapshot
func (*MockVolumesServiceMockRecorder) DeleteVolume ¶ added in v1.24.0
func (mr *MockVolumesServiceMockRecorder) DeleteVolume(arg0 interface{}) *gomock.Call
DeleteVolume indicates an expected call of DeleteVolume
func (*MockVolumesServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockVolumesServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockVolumesServiceMockRecorder) GetSnapshot ¶ added in v1.24.0
func (mr *MockVolumesServiceMockRecorder) GetSnapshot(arg0 interface{}) *gomock.Call
GetSnapshot indicates an expected call of GetSnapshot
func (*MockVolumesServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockVolumesServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List
func (*MockVolumesServiceMockRecorder) ListSnapshots ¶ added in v1.24.0
func (mr *MockVolumesServiceMockRecorder) ListSnapshots(arg0, arg1 interface{}) *gomock.Call
ListSnapshots indicates an expected call of ListSnapshots
Source Files ¶
- AccountService.go
- ActionService.go
- BalanceService.go
- CDNsService.go
- CertificatesService.go
- DatabasesService.go
- DomainService.go
- DropletActionService.go
- DropletsService.go
- FirewallsService.go
- FloatingIPActionsService.go
- FloatingIPsService.go
- ImageActionsService.go
- ImageService.go
- KeysService.go
- KubernetesService.go
- LoadBalancersService.go
- ProjectsService.go
- RegionsService.go
- RegistryService.go
- SizesService.go
- SnapshotsService.go
- TagsService.go
- VolumeActionsService.go
- VolumesService.go