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.
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 MockAppsService
- func (m *MockAppsService) Create(req *godo.AppCreateRequest) (*godo.App, error)
- func (m *MockAppsService) CreateDeployment(appID string, forceRebuild bool) (*godo.Deployment, error)
- func (m *MockAppsService) Delete(appID string) error
- func (m *MockAppsService) EXPECT() *MockAppsServiceMockRecorder
- func (m *MockAppsService) Get(appID string) (*godo.App, error)
- func (m *MockAppsService) GetDeployment(appID, deploymentID string) (*godo.Deployment, error)
- func (m *MockAppsService) GetInstanceSize(slug string) (*godo.AppInstanceSize, error)
- func (m *MockAppsService) GetLogs(appID, deploymentID, component string, logType godo.AppLogType, follow bool, ...) (*godo.AppLogs, error)
- func (m *MockAppsService) GetTier(slug string) (*godo.AppTier, error)
- func (m *MockAppsService) List(withProjects bool) ([]*godo.App, error)
- func (m *MockAppsService) ListAlerts(appID string) ([]*godo.AppAlert, error)
- func (m *MockAppsService) ListBuildpacks() ([]*godo.Buildpack, error)
- func (m *MockAppsService) ListDeployments(appID string) ([]*godo.Deployment, error)
- func (m *MockAppsService) ListInstanceSizes() ([]*godo.AppInstanceSize, error)
- func (m *MockAppsService) ListRegions() ([]*godo.AppRegion, error)
- func (m *MockAppsService) ListTiers() ([]*godo.AppTier, error)
- func (m *MockAppsService) Propose(req *godo.AppProposeRequest) (*godo.AppProposeResponse, error)
- func (m *MockAppsService) Update(appID string, req *godo.AppUpdateRequest) (*godo.App, error)
- func (m *MockAppsService) UpdateAlertDestinations(appID, alertID string, update *godo.AlertDestinationUpdateRequest) (*godo.AppAlert, error)
- func (m *MockAppsService) UpgradeBuildpack(appID string, options godo.UpgradeBuildpackOptions) ([]string, *godo.Deployment, error)
- type MockAppsServiceMockRecorder
- func (mr *MockAppsServiceMockRecorder) Create(req interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) CreateDeployment(appID, forceRebuild interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) Delete(appID interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) Get(appID interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) GetDeployment(appID, deploymentID interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) GetInstanceSize(slug interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) GetLogs(appID, deploymentID, component, logType, follow, tail interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) GetTier(slug interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) List(withProjects interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) ListAlerts(appID interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) ListBuildpacks() *gomock.Call
- func (mr *MockAppsServiceMockRecorder) ListDeployments(appID interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) ListInstanceSizes() *gomock.Call
- func (mr *MockAppsServiceMockRecorder) ListRegions() *gomock.Call
- func (mr *MockAppsServiceMockRecorder) ListTiers() *gomock.Call
- func (mr *MockAppsServiceMockRecorder) Propose(req interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) Update(appID, req interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) UpdateAlertDestinations(appID, alertID, update interface{}) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) UpgradeBuildpack(appID, options interface{}) *gomock.Call
- type MockBalanceService
- type MockBalanceServiceMockRecorder
- type MockBillingHistoryService
- type MockBillingHistoryServiceMockRecorder
- 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) GetFirewallRules(arg0 string) (do.DatabaseFirewallRules, 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) ListOptions() (*do.DatabaseOptions, 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) PromoteReplica(arg0, arg1 string) error
- func (m *MockDatabasesService) ResetUserAuth(arg0, arg1 string, arg2 *godo.DatabaseResetUserAuthRequest) (*do.DatabaseUser, error)
- func (m *MockDatabasesService) Resize(arg0 string, arg1 *godo.DatabaseResizeRequest) error
- func (m *MockDatabasesService) SetSQLMode(arg0 string, arg1 ...string) error
- func (m *MockDatabasesService) UpdateFirewallRules(databaseID string, req *godo.DatabaseUpdateFirewallRulesRequest) 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) GetFirewallRules(arg0 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) ListOptions() *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) PromoteReplica(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ResetUserAuth(arg0, arg1, arg2 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) UpdateFirewallRules(databaseID, req 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 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 MockInvoicesService
- func (m *MockInvoicesService) EXPECT() *MockInvoicesServiceMockRecorder
- func (m *MockInvoicesService) Get(arg0 string) (*do.Invoice, error)
- func (m *MockInvoicesService) GetCSV(arg0 string) ([]byte, error)
- func (m *MockInvoicesService) GetPDF(arg0 string) ([]byte, error)
- func (m *MockInvoicesService) GetSummary(arg0 string) (*do.InvoiceSummary, error)
- func (m *MockInvoicesService) List() (*do.InvoiceList, error)
- type MockInvoicesServiceMockRecorder
- func (mr *MockInvoicesServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockInvoicesServiceMockRecorder) GetCSV(arg0 interface{}) *gomock.Call
- func (mr *MockInvoicesServiceMockRecorder) GetPDF(arg0 interface{}) *gomock.Call
- func (mr *MockInvoicesServiceMockRecorder) GetSummary(arg0 interface{}) *gomock.Call
- func (mr *MockInvoicesServiceMockRecorder) List() *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) AddRegistry(req *godo.KubernetesClusterRegistryRequest) error
- 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) DeleteDangerous(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) DeleteSelective(clusterID string, deleteReq *godo.KubernetesClusterDeleteSelectiveRequest) 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) GetKubeConfigWithExpiry(clusterID string, expirySeconds int64) ([]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) ListAssociatedResourcesForDeletion(clusterID string) (*do.KubernetesAssociatedResources, error)
- func (m *MockKubernetesService) ListNodePools(clusterID string) (do.KubernetesNodePools, error)
- func (m *MockKubernetesService) RecycleNodePoolNodes(clusterID, poolID string, req *godo.KubernetesNodePoolRecycleNodesRequest) error
- func (m *MockKubernetesService) RemoveRegistry(req *godo.KubernetesClusterRegistryRequest) 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) AddRegistry(req interface{}) *gomock.Call
- 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) DeleteDangerous(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) DeleteSelective(clusterID, deleteReq 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) GetKubeConfigWithExpiry(clusterID, expirySeconds 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) ListAssociatedResourcesForDeletion(clusterID interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) ListNodePools(clusterID interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) RecycleNodePoolNodes(clusterID, poolID, req interface{}) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) RemoveRegistry(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 MockListenerSerive
- type MockListenerSeriveMockRecorder
- type MockListenerService
- type MockListenerServiceMockRecorder
- 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 MockMonitoringService
- func (m *MockMonitoringService) CreateAlertPolicy(request *godo.AlertPolicyCreateRequest) (*do.AlertPolicy, error)
- func (m *MockMonitoringService) DeleteAlertPolicy(arg0 string) error
- func (m *MockMonitoringService) EXPECT() *MockMonitoringServiceMockRecorder
- func (m *MockMonitoringService) GetAlertPolicy(arg0 string) (*do.AlertPolicy, error)
- func (m *MockMonitoringService) ListAlertPolicies() (do.AlertPolicies, error)
- func (m *MockMonitoringService) UpdateAlertPolicy(uuid string, request *godo.AlertPolicyUpdateRequest) (*do.AlertPolicy, error)
- type MockMonitoringServiceMockRecorder
- func (mr *MockMonitoringServiceMockRecorder) CreateAlertPolicy(request interface{}) *gomock.Call
- func (mr *MockMonitoringServiceMockRecorder) DeleteAlertPolicy(arg0 interface{}) *gomock.Call
- func (mr *MockMonitoringServiceMockRecorder) GetAlertPolicy(arg0 interface{}) *gomock.Call
- func (mr *MockMonitoringServiceMockRecorder) ListAlertPolicies() *gomock.Call
- func (mr *MockMonitoringServiceMockRecorder) UpdateAlertPolicy(uuid, request interface{}) *gomock.Call
- type MockOAuthService
- type MockOAuthServiceMockRecorder
- type MockOneClickService
- type MockOneClickServiceMockRecorder
- 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) CancelGarbageCollection(arg0, arg1 string) (*do.GarbageCollection, error)
- func (m *MockRegistryService) Create(arg0 *godo.RegistryCreateRequest) (*do.Registry, error)
- func (m *MockRegistryService) Delete() error
- func (m *MockRegistryService) DeleteManifest(arg0, arg1, arg2 string) error
- func (m *MockRegistryService) DeleteTag(arg0, arg1, arg2 string) 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)
- func (m *MockRegistryService) GetAvailableRegions() ([]string, error)
- func (m *MockRegistryService) GetGarbageCollection(arg0 string) (*do.GarbageCollection, error)
- func (m *MockRegistryService) GetSubscriptionTiers() ([]do.RegistrySubscriptionTier, error)
- func (m *MockRegistryService) ListGarbageCollections(arg0 string) ([]do.GarbageCollection, error)
- func (m *MockRegistryService) ListRepositories(arg0 string) ([]do.Repository, error)
- func (m *MockRegistryService) ListRepositoriesV2(arg0 string) ([]do.RepositoryV2, error)
- func (m *MockRegistryService) ListRepositoryManifests(arg0, arg1 string) ([]do.RepositoryManifest, error)
- func (m *MockRegistryService) ListRepositoryTags(arg0, arg1 string) ([]do.RepositoryTag, error)
- func (m *MockRegistryService) RevokeOAuthToken(token, endpoint string) error
- func (m *MockRegistryService) StartGarbageCollection(arg0 string, arg1 *godo.StartGarbageCollectionRequest) (*do.GarbageCollection, error)
- type MockRegistryServiceMockRecorder
- func (mr *MockRegistryServiceMockRecorder) CancelGarbageCollection(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) Delete() *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) DeleteManifest(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) DeleteTag(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) DockerCredentials(arg0 interface{}) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) Endpoint() *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) Get() *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) GetAvailableRegions() *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) GetGarbageCollection(arg0 interface{}) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) GetSubscriptionTiers() *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) ListGarbageCollections(arg0 interface{}) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) ListRepositories(arg0 interface{}) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) ListRepositoriesV2(arg0 interface{}) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) ListRepositoryManifests(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) ListRepositoryTags(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) RevokeOAuthToken(token, endpoint interface{}) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) StartGarbageCollection(arg0, arg1 interface{}) *gomock.Call
- type MockReservedIPActionsService
- func (m *MockReservedIPActionsService) Assign(ip string, dropletID int) (*do.Action, error)
- func (m *MockReservedIPActionsService) EXPECT() *MockReservedIPActionsServiceMockRecorder
- func (m *MockReservedIPActionsService) Get(ip string, actionID int) (*do.Action, error)
- func (m *MockReservedIPActionsService) List(ip string, opt *godo.ListOptions) ([]do.Action, error)
- func (m *MockReservedIPActionsService) Unassign(ip string) (*do.Action, error)
- type MockReservedIPActionsServiceMockRecorder
- func (mr *MockReservedIPActionsServiceMockRecorder) Assign(ip, dropletID interface{}) *gomock.Call
- func (mr *MockReservedIPActionsServiceMockRecorder) Get(ip, actionID interface{}) *gomock.Call
- func (mr *MockReservedIPActionsServiceMockRecorder) List(ip, opt interface{}) *gomock.Call
- func (mr *MockReservedIPActionsServiceMockRecorder) Unassign(ip interface{}) *gomock.Call
- type MockReservedIPsService
- func (m *MockReservedIPsService) Create(ficr *godo.ReservedIPCreateRequest) (*do.ReservedIP, error)
- func (m *MockReservedIPsService) Delete(ip string) error
- func (m *MockReservedIPsService) EXPECT() *MockReservedIPsServiceMockRecorder
- func (m *MockReservedIPsService) Get(ip string) (*do.ReservedIP, error)
- func (m *MockReservedIPsService) List() (do.ReservedIPs, error)
- type MockReservedIPsServiceMockRecorder
- func (mr *MockReservedIPsServiceMockRecorder) Create(ficr interface{}) *gomock.Call
- func (mr *MockReservedIPsServiceMockRecorder) Delete(ip interface{}) *gomock.Call
- func (mr *MockReservedIPsServiceMockRecorder) Get(ip interface{}) *gomock.Call
- func (mr *MockReservedIPsServiceMockRecorder) List() *gomock.Call
- type MockRunner
- type MockRunnerMockRecorder
- type MockServerlessService
- func (m *MockServerlessService) CheckServerlessStatus() error
- func (m *MockServerlessService) CleanNamespace() error
- func (m *MockServerlessService) Cmd(arg0 string, arg1 []string) (*exec.Cmd, error)
- func (m *MockServerlessService) CreateNamespace(arg0 context.Context, arg1, arg2 string) (do.ServerlessCredentials, error)
- func (m *MockServerlessService) CredentialsPath() string
- func (m *MockServerlessService) DeleteFunction(arg0 string, arg1 bool) error
- func (m *MockServerlessService) DeleteNamespace(arg0 context.Context, arg1 string) error
- func (m *MockServerlessService) DeletePackage(arg0 string, arg1 bool) error
- func (m *MockServerlessService) DeleteTrigger(arg0 context.Context, arg1 string) error
- func (m *MockServerlessService) EXPECT() *MockServerlessServiceMockRecorder
- func (m *MockServerlessService) Exec(arg0 *exec.Cmd) (do.ServerlessOutput, error)
- func (m *MockServerlessService) GetActivation(arg0 string) (whisk.Activation, error)
- func (m *MockServerlessService) GetActivationCount(arg0 whisk.ActivationCountOptions) (whisk.ActivationCount, error)
- func (m *MockServerlessService) GetActivationLogs(arg0 string) (whisk.Activation, error)
- func (m *MockServerlessService) GetActivationResult(arg0 string) (whisk.Response, error)
- func (m *MockServerlessService) GetConnectedAPIHost() (string, error)
- func (m *MockServerlessService) GetFunction(arg0 string, arg1 bool) (whisk.Action, []do.FunctionParameter, error)
- func (m *MockServerlessService) GetHostInfo(arg0 string) (do.ServerlessHostInfo, error)
- func (m *MockServerlessService) GetNamespace(arg0 context.Context, arg1 string) (do.ServerlessCredentials, error)
- func (m *MockServerlessService) GetNamespaceFromCluster(arg0, arg1 string) (string, error)
- func (m *MockServerlessService) GetServerlessNamespace(arg0 context.Context) (do.ServerlessCredentials, error)
- func (m *MockServerlessService) GetTrigger(arg0 context.Context, arg1 string) (do.ServerlessTrigger, error)
- func (m *MockServerlessService) InstallServerless(arg0 string, arg1 bool) error
- func (m *MockServerlessService) InvokeFunction(arg0 string, arg1 interface{}, arg2, arg3 bool) (interface{}, error)
- func (m *MockServerlessService) InvokeFunctionViaWeb(arg0 string, arg1 interface{}) error
- func (m *MockServerlessService) ListActivations(arg0 whisk.ActivationListOptions) ([]whisk.Activation, error)
- func (m *MockServerlessService) ListFunctions(arg0 string, arg1, arg2 int) ([]whisk.Action, error)
- func (m *MockServerlessService) ListNamespaces(arg0 context.Context) (do.NamespaceListResponse, error)
- func (m *MockServerlessService) ListPackages() ([]whisk.Package, error)
- func (m *MockServerlessService) ListTriggers(arg0 context.Context, arg1 string) ([]do.ServerlessTrigger, error)
- func (m *MockServerlessService) ReadCredentials() (do.ServerlessCredentials, error)
- func (m *MockServerlessService) ReadProject(arg0 *do.ServerlessProject, arg1 []string) (do.ServerlessOutput, error)
- func (m *MockServerlessService) SetEffectiveCredentials(auth, apihost string)
- func (m *MockServerlessService) Stream(arg0 *exec.Cmd) error
- func (m *MockServerlessService) UpdateTrigger(arg0 context.Context, arg1 string, arg2 *do.UpdateTriggerRequest) (do.ServerlessTrigger, error)
- func (m *MockServerlessService) WriteCredentials(arg0 do.ServerlessCredentials) error
- func (m *MockServerlessService) WriteProject(arg0 do.ServerlessProject) (string, error)
- type MockServerlessServiceMockRecorder
- func (mr *MockServerlessServiceMockRecorder) CheckServerlessStatus() *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) CleanNamespace() *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) Cmd(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) CreateNamespace(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) CredentialsPath() *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) DeleteFunction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) DeleteNamespace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) DeletePackage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) DeleteTrigger(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) Exec(arg0 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetActivation(arg0 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetActivationCount(arg0 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetActivationLogs(arg0 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetActivationResult(arg0 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetConnectedAPIHost() *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetFunction(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetHostInfo(arg0 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetNamespace(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetNamespaceFromCluster(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetServerlessNamespace(arg0 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetTrigger(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) InstallServerless(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) InvokeFunction(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) InvokeFunctionViaWeb(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) ListActivations(arg0 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) ListFunctions(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) ListNamespaces(arg0 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) ListPackages() *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) ListTriggers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) ReadCredentials() *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) ReadProject(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) SetEffectiveCredentials(auth, apihost interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) Stream(arg0 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) UpdateTrigger(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) WriteCredentials(arg0 interface{}) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) WriteProject(arg0 interface{}) *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 MockUptimeChecksService
- func (m *MockUptimeChecksService) Create(arg0 *godo.CreateUptimeCheckRequest) (*do.UptimeCheck, error)
- func (m *MockUptimeChecksService) Delete(arg0 string) error
- func (m *MockUptimeChecksService) EXPECT() *MockUptimeChecksServiceMockRecorder
- func (m *MockUptimeChecksService) Get(arg0 string) (*do.UptimeCheck, error)
- func (m *MockUptimeChecksService) GetState(arg0 string) (*do.UptimeCheckState, error)
- func (m *MockUptimeChecksService) List() ([]do.UptimeCheck, error)
- func (m *MockUptimeChecksService) Update(arg0 string, arg1 *godo.UpdateUptimeCheckRequest) (*do.UptimeCheck, error)
- type MockUptimeChecksServiceMockRecorder
- func (mr *MockUptimeChecksServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
- func (mr *MockUptimeChecksServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockUptimeChecksServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
- func (mr *MockUptimeChecksServiceMockRecorder) GetState(arg0 interface{}) *gomock.Call
- func (mr *MockUptimeChecksServiceMockRecorder) List() *gomock.Call
- func (mr *MockUptimeChecksServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
- type MockVPCsService
- func (m *MockVPCsService) Create(vpcr *godo.VPCCreateRequest) (*do.VPC, error)
- func (m *MockVPCsService) Delete(vpcUUID string) error
- func (m *MockVPCsService) EXPECT() *MockVPCsServiceMockRecorder
- func (m *MockVPCsService) Get(vpcUUID string) (*do.VPC, error)
- func (m *MockVPCsService) List() (do.VPCs, error)
- func (m *MockVPCsService) PartialUpdate(vpcUUID string, options ...godo.VPCSetField) (*do.VPC, error)
- func (m *MockVPCsService) Update(vpcUUID string, vpcr *godo.VPCUpdateRequest) (*do.VPC, error)
- type MockVPCsServiceMockRecorder
- func (mr *MockVPCsServiceMockRecorder) Create(vpcr interface{}) *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) Delete(vpcUUID interface{}) *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) Get(vpcUUID interface{}) *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) List() *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) PartialUpdate(vpcUUID interface{}, options ...interface{}) *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) Update(vpcUUID, vpcr 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) ([]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 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 MockAppsService ¶ added in v1.46.0
type MockAppsService struct {
// contains filtered or unexported fields
}
MockAppsService is a mock of AppsService interface.
func NewMockAppsService ¶ added in v1.46.0
func NewMockAppsService(ctrl *gomock.Controller) *MockAppsService
NewMockAppsService creates a new mock instance.
func (*MockAppsService) Create ¶ added in v1.46.0
func (m *MockAppsService) Create(req *godo.AppCreateRequest) (*godo.App, error)
Create mocks base method.
func (*MockAppsService) CreateDeployment ¶ added in v1.46.0
func (m *MockAppsService) CreateDeployment(appID string, forceRebuild bool) (*godo.Deployment, error)
CreateDeployment mocks base method.
func (*MockAppsService) Delete ¶ added in v1.46.0
func (m *MockAppsService) Delete(appID string) error
Delete mocks base method.
func (*MockAppsService) EXPECT ¶ added in v1.46.0
func (m *MockAppsService) EXPECT() *MockAppsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAppsService) Get ¶ added in v1.46.0
func (m *MockAppsService) Get(appID string) (*godo.App, error)
Get mocks base method.
func (*MockAppsService) GetDeployment ¶ added in v1.46.0
func (m *MockAppsService) GetDeployment(appID, deploymentID string) (*godo.Deployment, error)
GetDeployment mocks base method.
func (*MockAppsService) GetInstanceSize ¶ added in v1.50.0
func (m *MockAppsService) GetInstanceSize(slug string) (*godo.AppInstanceSize, error)
GetInstanceSize mocks base method.
func (*MockAppsService) GetLogs ¶ added in v1.46.0
func (m *MockAppsService) GetLogs(appID, deploymentID, component string, logType godo.AppLogType, follow bool, tail int) (*godo.AppLogs, error)
GetLogs mocks base method.
func (*MockAppsService) GetTier ¶ added in v1.50.0
func (m *MockAppsService) GetTier(slug string) (*godo.AppTier, error)
GetTier mocks base method.
func (*MockAppsService) List ¶ added in v1.46.0
func (m *MockAppsService) List(withProjects bool) ([]*godo.App, error)
List mocks base method.
func (*MockAppsService) ListAlerts ¶ added in v1.64.0
func (m *MockAppsService) ListAlerts(appID string) ([]*godo.AppAlert, error)
ListAlerts mocks base method.
func (*MockAppsService) ListBuildpacks ¶ added in v1.86.0
func (m *MockAppsService) ListBuildpacks() ([]*godo.Buildpack, error)
ListBuildpacks mocks base method.
func (*MockAppsService) ListDeployments ¶ added in v1.46.0
func (m *MockAppsService) ListDeployments(appID string) ([]*godo.Deployment, error)
ListDeployments mocks base method.
func (*MockAppsService) ListInstanceSizes ¶ added in v1.50.0
func (m *MockAppsService) ListInstanceSizes() ([]*godo.AppInstanceSize, error)
ListInstanceSizes mocks base method.
func (*MockAppsService) ListRegions ¶ added in v1.50.0
func (m *MockAppsService) ListRegions() ([]*godo.AppRegion, error)
ListRegions mocks base method.
func (*MockAppsService) ListTiers ¶ added in v1.50.0
func (m *MockAppsService) ListTiers() ([]*godo.AppTier, error)
ListTiers mocks base method.
func (*MockAppsService) Propose ¶ added in v1.59.0
func (m *MockAppsService) Propose(req *godo.AppProposeRequest) (*godo.AppProposeResponse, error)
Propose mocks base method.
func (*MockAppsService) Update ¶ added in v1.46.0
func (m *MockAppsService) Update(appID string, req *godo.AppUpdateRequest) (*godo.App, error)
Update mocks base method.
func (*MockAppsService) UpdateAlertDestinations ¶ added in v1.64.0
func (m *MockAppsService) UpdateAlertDestinations(appID, alertID string, update *godo.AlertDestinationUpdateRequest) (*godo.AppAlert, error)
UpdateAlertDestinations mocks base method.
func (*MockAppsService) UpgradeBuildpack ¶ added in v1.86.0
func (m *MockAppsService) UpgradeBuildpack(appID string, options godo.UpgradeBuildpackOptions) ([]string, *godo.Deployment, error)
UpgradeBuildpack mocks base method.
type MockAppsServiceMockRecorder ¶ added in v1.46.0
type MockAppsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockAppsServiceMockRecorder is the mock recorder for MockAppsService.
func (*MockAppsServiceMockRecorder) Create ¶ added in v1.46.0
func (mr *MockAppsServiceMockRecorder) Create(req interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockAppsServiceMockRecorder) CreateDeployment ¶ added in v1.46.0
func (mr *MockAppsServiceMockRecorder) CreateDeployment(appID, forceRebuild interface{}) *gomock.Call
CreateDeployment indicates an expected call of CreateDeployment.
func (*MockAppsServiceMockRecorder) Delete ¶ added in v1.46.0
func (mr *MockAppsServiceMockRecorder) Delete(appID interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockAppsServiceMockRecorder) Get ¶ added in v1.46.0
func (mr *MockAppsServiceMockRecorder) Get(appID interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockAppsServiceMockRecorder) GetDeployment ¶ added in v1.46.0
func (mr *MockAppsServiceMockRecorder) GetDeployment(appID, deploymentID interface{}) *gomock.Call
GetDeployment indicates an expected call of GetDeployment.
func (*MockAppsServiceMockRecorder) GetInstanceSize ¶ added in v1.50.0
func (mr *MockAppsServiceMockRecorder) GetInstanceSize(slug interface{}) *gomock.Call
GetInstanceSize indicates an expected call of GetInstanceSize.
func (*MockAppsServiceMockRecorder) GetLogs ¶ added in v1.46.0
func (mr *MockAppsServiceMockRecorder) GetLogs(appID, deploymentID, component, logType, follow, tail interface{}) *gomock.Call
GetLogs indicates an expected call of GetLogs.
func (*MockAppsServiceMockRecorder) GetTier ¶ added in v1.50.0
func (mr *MockAppsServiceMockRecorder) GetTier(slug interface{}) *gomock.Call
GetTier indicates an expected call of GetTier.
func (*MockAppsServiceMockRecorder) List ¶ added in v1.46.0
func (mr *MockAppsServiceMockRecorder) List(withProjects interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockAppsServiceMockRecorder) ListAlerts ¶ added in v1.64.0
func (mr *MockAppsServiceMockRecorder) ListAlerts(appID interface{}) *gomock.Call
ListAlerts indicates an expected call of ListAlerts.
func (*MockAppsServiceMockRecorder) ListBuildpacks ¶ added in v1.86.0
func (mr *MockAppsServiceMockRecorder) ListBuildpacks() *gomock.Call
ListBuildpacks indicates an expected call of ListBuildpacks.
func (*MockAppsServiceMockRecorder) ListDeployments ¶ added in v1.46.0
func (mr *MockAppsServiceMockRecorder) ListDeployments(appID interface{}) *gomock.Call
ListDeployments indicates an expected call of ListDeployments.
func (*MockAppsServiceMockRecorder) ListInstanceSizes ¶ added in v1.50.0
func (mr *MockAppsServiceMockRecorder) ListInstanceSizes() *gomock.Call
ListInstanceSizes indicates an expected call of ListInstanceSizes.
func (*MockAppsServiceMockRecorder) ListRegions ¶ added in v1.50.0
func (mr *MockAppsServiceMockRecorder) ListRegions() *gomock.Call
ListRegions indicates an expected call of ListRegions.
func (*MockAppsServiceMockRecorder) ListTiers ¶ added in v1.50.0
func (mr *MockAppsServiceMockRecorder) ListTiers() *gomock.Call
ListTiers indicates an expected call of ListTiers.
func (*MockAppsServiceMockRecorder) Propose ¶ added in v1.59.0
func (mr *MockAppsServiceMockRecorder) Propose(req interface{}) *gomock.Call
Propose indicates an expected call of Propose.
func (*MockAppsServiceMockRecorder) Update ¶ added in v1.46.0
func (mr *MockAppsServiceMockRecorder) Update(appID, req interface{}) *gomock.Call
Update indicates an expected call of Update.
func (*MockAppsServiceMockRecorder) UpdateAlertDestinations ¶ added in v1.64.0
func (mr *MockAppsServiceMockRecorder) UpdateAlertDestinations(appID, alertID, update interface{}) *gomock.Call
UpdateAlertDestinations indicates an expected call of UpdateAlertDestinations.
func (*MockAppsServiceMockRecorder) UpgradeBuildpack ¶ added in v1.86.0
func (mr *MockAppsServiceMockRecorder) UpgradeBuildpack(appID, options interface{}) *gomock.Call
UpgradeBuildpack indicates an expected call of UpgradeBuildpack.
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 MockBillingHistoryService ¶ added in v1.40.0
type MockBillingHistoryService struct {
// contains filtered or unexported fields
}
MockBillingHistoryService is a mock of BillingHistoryService interface.
func NewMockBillingHistoryService ¶ added in v1.40.0
func NewMockBillingHistoryService(ctrl *gomock.Controller) *MockBillingHistoryService
NewMockBillingHistoryService creates a new mock instance.
func (*MockBillingHistoryService) EXPECT ¶ added in v1.40.0
func (m *MockBillingHistoryService) EXPECT() *MockBillingHistoryServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBillingHistoryService) List ¶ added in v1.40.0
func (m *MockBillingHistoryService) List() (*do.BillingHistory, error)
List mocks base method.
type MockBillingHistoryServiceMockRecorder ¶ added in v1.40.0
type MockBillingHistoryServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockBillingHistoryServiceMockRecorder is the mock recorder for MockBillingHistoryService.
func (*MockBillingHistoryServiceMockRecorder) List ¶ added in v1.40.0
func (mr *MockBillingHistoryServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List.
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) GetFirewallRules ¶ added in v1.56.0
func (m *MockDatabasesService) GetFirewallRules(arg0 string) (do.DatabaseFirewallRules, error)
GetFirewallRules 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) ListOptions ¶ added in v1.79.0
func (m *MockDatabasesService) ListOptions() (*do.DatabaseOptions, error)
ListOptions 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) PromoteReplica ¶ added in v1.93.2
func (m *MockDatabasesService) PromoteReplica(arg0, arg1 string) error
PromoteReplica mocks base method.
func (*MockDatabasesService) ResetUserAuth ¶ added in v1.39.0
func (m *MockDatabasesService) ResetUserAuth(arg0, arg1 string, arg2 *godo.DatabaseResetUserAuthRequest) (*do.DatabaseUser, error)
ResetUserAuth 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) UpdateFirewallRules ¶ added in v1.56.0
func (m *MockDatabasesService) UpdateFirewallRules(databaseID string, req *godo.DatabaseUpdateFirewallRulesRequest) error
UpdateFirewallRules 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) GetFirewallRules ¶ added in v1.56.0
func (mr *MockDatabasesServiceMockRecorder) GetFirewallRules(arg0 interface{}) *gomock.Call
GetFirewallRules indicates an expected call of GetFirewallRules.
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) ListOptions ¶ added in v1.79.0
func (mr *MockDatabasesServiceMockRecorder) ListOptions() *gomock.Call
ListOptions indicates an expected call of ListOptions.
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) PromoteReplica ¶ added in v1.93.2
func (mr *MockDatabasesServiceMockRecorder) PromoteReplica(arg0, arg1 interface{}) *gomock.Call
PromoteReplica indicates an expected call of PromoteReplica.
func (*MockDatabasesServiceMockRecorder) ResetUserAuth ¶ added in v1.39.0
func (mr *MockDatabasesServiceMockRecorder) ResetUserAuth(arg0, arg1, arg2 interface{}) *gomock.Call
ResetUserAuth indicates an expected call of ResetUserAuth.
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) UpdateFirewallRules ¶ added in v1.56.0
func (mr *MockDatabasesServiceMockRecorder) UpdateFirewallRules(databaseID, req interface{}) *gomock.Call
UpdateFirewallRules indicates an expected call of UpdateFirewallRules.
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 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 MockInvoicesService ¶ added in v1.39.0
type MockInvoicesService struct {
// contains filtered or unexported fields
}
MockInvoicesService is a mock of InvoicesService interface.
func NewMockInvoicesService ¶ added in v1.39.0
func NewMockInvoicesService(ctrl *gomock.Controller) *MockInvoicesService
NewMockInvoicesService creates a new mock instance.
func (*MockInvoicesService) EXPECT ¶ added in v1.39.0
func (m *MockInvoicesService) EXPECT() *MockInvoicesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInvoicesService) Get ¶ added in v1.39.0
func (m *MockInvoicesService) Get(arg0 string) (*do.Invoice, error)
Get mocks base method.
func (*MockInvoicesService) GetCSV ¶ added in v1.39.0
func (m *MockInvoicesService) GetCSV(arg0 string) ([]byte, error)
GetCSV mocks base method.
func (*MockInvoicesService) GetPDF ¶ added in v1.39.0
func (m *MockInvoicesService) GetPDF(arg0 string) ([]byte, error)
GetPDF mocks base method.
func (*MockInvoicesService) GetSummary ¶ added in v1.39.0
func (m *MockInvoicesService) GetSummary(arg0 string) (*do.InvoiceSummary, error)
GetSummary mocks base method.
func (*MockInvoicesService) List ¶ added in v1.39.0
func (m *MockInvoicesService) List() (*do.InvoiceList, error)
List mocks base method.
type MockInvoicesServiceMockRecorder ¶ added in v1.39.0
type MockInvoicesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockInvoicesServiceMockRecorder is the mock recorder for MockInvoicesService.
func (*MockInvoicesServiceMockRecorder) Get ¶ added in v1.39.0
func (mr *MockInvoicesServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockInvoicesServiceMockRecorder) GetCSV ¶ added in v1.39.0
func (mr *MockInvoicesServiceMockRecorder) GetCSV(arg0 interface{}) *gomock.Call
GetCSV indicates an expected call of GetCSV.
func (*MockInvoicesServiceMockRecorder) GetPDF ¶ added in v1.39.0
func (mr *MockInvoicesServiceMockRecorder) GetPDF(arg0 interface{}) *gomock.Call
GetPDF indicates an expected call of GetPDF.
func (*MockInvoicesServiceMockRecorder) GetSummary ¶ added in v1.39.0
func (mr *MockInvoicesServiceMockRecorder) GetSummary(arg0 interface{}) *gomock.Call
GetSummary indicates an expected call of GetSummary.
func (*MockInvoicesServiceMockRecorder) List ¶ added in v1.39.0
func (mr *MockInvoicesServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List.
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) AddRegistry ¶ added in v1.49.0
func (m *MockKubernetesService) AddRegistry(req *godo.KubernetesClusterRegistryRequest) error
AddRegistry mocks base method.
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) DeleteDangerous ¶ added in v1.56.0
func (m *MockKubernetesService) DeleteDangerous(clusterID string) error
DeleteDangerous 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) DeleteSelective ¶ added in v1.56.0
func (m *MockKubernetesService) DeleteSelective(clusterID string, deleteReq *godo.KubernetesClusterDeleteSelectiveRequest) error
DeleteSelective 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) GetKubeConfigWithExpiry ¶ added in v1.49.0
func (m *MockKubernetesService) GetKubeConfigWithExpiry(clusterID string, expirySeconds int64) ([]byte, error)
GetKubeConfigWithExpiry 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) ListAssociatedResourcesForDeletion ¶ added in v1.56.0
func (m *MockKubernetesService) ListAssociatedResourcesForDeletion(clusterID string) (*do.KubernetesAssociatedResources, error)
ListAssociatedResourcesForDeletion 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) RemoveRegistry ¶ added in v1.49.0
func (m *MockKubernetesService) RemoveRegistry(req *godo.KubernetesClusterRegistryRequest) error
RemoveRegistry 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) AddRegistry ¶ added in v1.49.0
func (mr *MockKubernetesServiceMockRecorder) AddRegistry(req interface{}) *gomock.Call
AddRegistry indicates an expected call of AddRegistry.
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) DeleteDangerous ¶ added in v1.56.0
func (mr *MockKubernetesServiceMockRecorder) DeleteDangerous(clusterID interface{}) *gomock.Call
DeleteDangerous indicates an expected call of DeleteDangerous.
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) DeleteSelective ¶ added in v1.56.0
func (mr *MockKubernetesServiceMockRecorder) DeleteSelective(clusterID, deleteReq interface{}) *gomock.Call
DeleteSelective indicates an expected call of DeleteSelective.
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) GetKubeConfigWithExpiry ¶ added in v1.49.0
func (mr *MockKubernetesServiceMockRecorder) GetKubeConfigWithExpiry(clusterID, expirySeconds interface{}) *gomock.Call
GetKubeConfigWithExpiry indicates an expected call of GetKubeConfigWithExpiry.
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) ListAssociatedResourcesForDeletion ¶ added in v1.56.0
func (mr *MockKubernetesServiceMockRecorder) ListAssociatedResourcesForDeletion(clusterID interface{}) *gomock.Call
ListAssociatedResourcesForDeletion indicates an expected call of ListAssociatedResourcesForDeletion.
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) RemoveRegistry ¶ added in v1.49.0
func (mr *MockKubernetesServiceMockRecorder) RemoveRegistry(req interface{}) *gomock.Call
RemoveRegistry indicates an expected call of RemoveRegistry.
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 MockListenerSerive ¶ added in v1.57.0
type MockListenerSerive struct {
// contains filtered or unexported fields
}
MockListenerSerive is a mock of ListenerSerive interface.
func NewMockListenerSerive ¶ added in v1.57.0
func NewMockListenerSerive(ctrl *gomock.Controller) *MockListenerSerive
NewMockListenerSerive creates a new mock instance.
func (*MockListenerSerive) EXPECT ¶ added in v1.57.0
func (m *MockListenerSerive) EXPECT() *MockListenerSeriveMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockListenerSerive) Start ¶ added in v1.57.0
func (m *MockListenerSerive) Start() error
Start mocks base method.
func (*MockListenerSerive) Stop ¶ added in v1.57.0
func (m *MockListenerSerive) Stop()
Stop mocks base method.
type MockListenerSeriveMockRecorder ¶ added in v1.57.0
type MockListenerSeriveMockRecorder struct {
// contains filtered or unexported fields
}
MockListenerSeriveMockRecorder is the mock recorder for MockListenerSerive.
func (*MockListenerSeriveMockRecorder) Start ¶ added in v1.57.0
func (mr *MockListenerSeriveMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockListenerSeriveMockRecorder) Stop ¶ added in v1.57.0
func (mr *MockListenerSeriveMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
type MockListenerService ¶ added in v1.57.0
type MockListenerService struct {
// contains filtered or unexported fields
}
MockListenerService is a mock of ListenerService interface.
func NewMockListenerService ¶ added in v1.57.0
func NewMockListenerService(ctrl *gomock.Controller) *MockListenerService
NewMockListenerService creates a new mock instance.
func (*MockListenerService) EXPECT ¶ added in v1.57.0
func (m *MockListenerService) EXPECT() *MockListenerServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockListenerService) Start ¶ added in v1.57.0
func (m *MockListenerService) Start() error
Start mocks base method.
func (*MockListenerService) Stop ¶ added in v1.57.0
func (m *MockListenerService) Stop()
Stop mocks base method.
type MockListenerServiceMockRecorder ¶ added in v1.57.0
type MockListenerServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockListenerServiceMockRecorder is the mock recorder for MockListenerService.
func (*MockListenerServiceMockRecorder) Start ¶ added in v1.57.0
func (mr *MockListenerServiceMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start.
func (*MockListenerServiceMockRecorder) Stop ¶ added in v1.57.0
func (mr *MockListenerServiceMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.
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 MockMonitoringService ¶ added in v1.63.1
type MockMonitoringService struct {
// contains filtered or unexported fields
}
MockMonitoringService is a mock of MonitoringService interface.
func NewMockMonitoringService ¶ added in v1.63.1
func NewMockMonitoringService(ctrl *gomock.Controller) *MockMonitoringService
NewMockMonitoringService creates a new mock instance.
func (*MockMonitoringService) CreateAlertPolicy ¶ added in v1.63.1
func (m *MockMonitoringService) CreateAlertPolicy(request *godo.AlertPolicyCreateRequest) (*do.AlertPolicy, error)
CreateAlertPolicy mocks base method.
func (*MockMonitoringService) DeleteAlertPolicy ¶ added in v1.63.1
func (m *MockMonitoringService) DeleteAlertPolicy(arg0 string) error
DeleteAlertPolicy mocks base method.
func (*MockMonitoringService) EXPECT ¶ added in v1.63.1
func (m *MockMonitoringService) EXPECT() *MockMonitoringServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockMonitoringService) GetAlertPolicy ¶ added in v1.63.1
func (m *MockMonitoringService) GetAlertPolicy(arg0 string) (*do.AlertPolicy, error)
GetAlertPolicy mocks base method.
func (*MockMonitoringService) ListAlertPolicies ¶ added in v1.63.1
func (m *MockMonitoringService) ListAlertPolicies() (do.AlertPolicies, error)
ListAlertPolicies mocks base method.
func (*MockMonitoringService) UpdateAlertPolicy ¶ added in v1.63.1
func (m *MockMonitoringService) UpdateAlertPolicy(uuid string, request *godo.AlertPolicyUpdateRequest) (*do.AlertPolicy, error)
UpdateAlertPolicy mocks base method.
type MockMonitoringServiceMockRecorder ¶ added in v1.63.1
type MockMonitoringServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockMonitoringServiceMockRecorder is the mock recorder for MockMonitoringService.
func (*MockMonitoringServiceMockRecorder) CreateAlertPolicy ¶ added in v1.63.1
func (mr *MockMonitoringServiceMockRecorder) CreateAlertPolicy(request interface{}) *gomock.Call
CreateAlertPolicy indicates an expected call of CreateAlertPolicy.
func (*MockMonitoringServiceMockRecorder) DeleteAlertPolicy ¶ added in v1.63.1
func (mr *MockMonitoringServiceMockRecorder) DeleteAlertPolicy(arg0 interface{}) *gomock.Call
DeleteAlertPolicy indicates an expected call of DeleteAlertPolicy.
func (*MockMonitoringServiceMockRecorder) GetAlertPolicy ¶ added in v1.63.1
func (mr *MockMonitoringServiceMockRecorder) GetAlertPolicy(arg0 interface{}) *gomock.Call
GetAlertPolicy indicates an expected call of GetAlertPolicy.
func (*MockMonitoringServiceMockRecorder) ListAlertPolicies ¶ added in v1.63.1
func (mr *MockMonitoringServiceMockRecorder) ListAlertPolicies() *gomock.Call
ListAlertPolicies indicates an expected call of ListAlertPolicies.
func (*MockMonitoringServiceMockRecorder) UpdateAlertPolicy ¶ added in v1.63.1
func (mr *MockMonitoringServiceMockRecorder) UpdateAlertPolicy(uuid, request interface{}) *gomock.Call
UpdateAlertPolicy indicates an expected call of UpdateAlertPolicy.
type MockOAuthService ¶ added in v1.91.0
type MockOAuthService struct {
// contains filtered or unexported fields
}
MockOAuthService is a mock of OAuthService interface.
func NewMockOAuthService ¶ added in v1.91.0
func NewMockOAuthService(ctrl *gomock.Controller) *MockOAuthService
NewMockOAuthService creates a new mock instance.
func (*MockOAuthService) EXPECT ¶ added in v1.91.0
func (m *MockOAuthService) EXPECT() *MockOAuthServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOAuthService) TokenInfo ¶ added in v1.91.0
func (m *MockOAuthService) TokenInfo(arg0 string) (*do.OAuthTokenInfo, error)
TokenInfo mocks base method.
type MockOAuthServiceMockRecorder ¶ added in v1.91.0
type MockOAuthServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockOAuthServiceMockRecorder is the mock recorder for MockOAuthService.
func (*MockOAuthServiceMockRecorder) TokenInfo ¶ added in v1.91.0
func (mr *MockOAuthServiceMockRecorder) TokenInfo(arg0 interface{}) *gomock.Call
TokenInfo indicates an expected call of TokenInfo.
type MockOneClickService ¶ added in v1.44.0
type MockOneClickService struct {
// contains filtered or unexported fields
}
MockOneClickService is a mock of OneClickService interface.
func NewMockOneClickService ¶ added in v1.44.0
func NewMockOneClickService(ctrl *gomock.Controller) *MockOneClickService
NewMockOneClickService creates a new mock instance.
func (*MockOneClickService) EXPECT ¶ added in v1.44.0
func (m *MockOneClickService) EXPECT() *MockOneClickServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockOneClickService) InstallKubernetes ¶ added in v1.46.0
func (m *MockOneClickService) InstallKubernetes(arg0 string, arg1 []string) (string, error)
InstallKubernetes mocks base method.
type MockOneClickServiceMockRecorder ¶ added in v1.44.0
type MockOneClickServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockOneClickServiceMockRecorder is the mock recorder for MockOneClickService.
func (*MockOneClickServiceMockRecorder) InstallKubernetes ¶ added in v1.46.0
func (mr *MockOneClickServiceMockRecorder) InstallKubernetes(arg0, arg1 interface{}) *gomock.Call
InstallKubernetes indicates an expected call of InstallKubernetes.
func (*MockOneClickServiceMockRecorder) List ¶ added in v1.44.0
func (mr *MockOneClickServiceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
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) CancelGarbageCollection ¶ added in v1.50.0
func (m *MockRegistryService) CancelGarbageCollection(arg0, arg1 string) (*do.GarbageCollection, error)
CancelGarbageCollection mocks base method.
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) DeleteManifest ¶ added in v1.42.0
func (m *MockRegistryService) DeleteManifest(arg0, arg1, arg2 string) error
DeleteManifest mocks base method.
func (*MockRegistryService) DeleteTag ¶ added in v1.42.0
func (m *MockRegistryService) DeleteTag(arg0, arg1, arg2 string) error
DeleteTag 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.
func (*MockRegistryService) Get ¶ added in v1.34.0
func (m *MockRegistryService) Get() (*do.Registry, error)
Get mocks base method.
func (*MockRegistryService) GetAvailableRegions ¶ added in v1.71.0
func (m *MockRegistryService) GetAvailableRegions() ([]string, error)
GetAvailableRegions mocks base method.
func (*MockRegistryService) GetGarbageCollection ¶ added in v1.50.0
func (m *MockRegistryService) GetGarbageCollection(arg0 string) (*do.GarbageCollection, error)
GetGarbageCollection mocks base method.
func (*MockRegistryService) GetSubscriptionTiers ¶ added in v1.51.0
func (m *MockRegistryService) GetSubscriptionTiers() ([]do.RegistrySubscriptionTier, error)
GetSubscriptionTiers mocks base method.
func (*MockRegistryService) ListGarbageCollections ¶ added in v1.50.0
func (m *MockRegistryService) ListGarbageCollections(arg0 string) ([]do.GarbageCollection, error)
ListGarbageCollections mocks base method.
func (*MockRegistryService) ListRepositories ¶ added in v1.42.0
func (m *MockRegistryService) ListRepositories(arg0 string) ([]do.Repository, error)
ListRepositories mocks base method.
func (*MockRegistryService) ListRepositoriesV2 ¶ added in v1.68.0
func (m *MockRegistryService) ListRepositoriesV2(arg0 string) ([]do.RepositoryV2, error)
ListRepositoriesV2 mocks base method.
func (*MockRegistryService) ListRepositoryManifests ¶ added in v1.68.0
func (m *MockRegistryService) ListRepositoryManifests(arg0, arg1 string) ([]do.RepositoryManifest, error)
ListRepositoryManifests mocks base method.
func (*MockRegistryService) ListRepositoryTags ¶ added in v1.42.0
func (m *MockRegistryService) ListRepositoryTags(arg0, arg1 string) ([]do.RepositoryTag, error)
ListRepositoryTags mocks base method.
func (*MockRegistryService) RevokeOAuthToken ¶ added in v1.68.0
func (m *MockRegistryService) RevokeOAuthToken(token, endpoint string) error
RevokeOAuthToken mocks base method.
func (*MockRegistryService) StartGarbageCollection ¶ added in v1.50.0
func (m *MockRegistryService) StartGarbageCollection(arg0 string, arg1 *godo.StartGarbageCollectionRequest) (*do.GarbageCollection, error)
StartGarbageCollection 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) CancelGarbageCollection ¶ added in v1.50.0
func (mr *MockRegistryServiceMockRecorder) CancelGarbageCollection(arg0, arg1 interface{}) *gomock.Call
CancelGarbageCollection indicates an expected call of CancelGarbageCollection.
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) DeleteManifest ¶ added in v1.42.0
func (mr *MockRegistryServiceMockRecorder) DeleteManifest(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteManifest indicates an expected call of DeleteManifest.
func (*MockRegistryServiceMockRecorder) DeleteTag ¶ added in v1.42.0
func (mr *MockRegistryServiceMockRecorder) DeleteTag(arg0, arg1, arg2 interface{}) *gomock.Call
DeleteTag indicates an expected call of DeleteTag.
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.
func (*MockRegistryServiceMockRecorder) GetAvailableRegions ¶ added in v1.71.0
func (mr *MockRegistryServiceMockRecorder) GetAvailableRegions() *gomock.Call
GetAvailableRegions indicates an expected call of GetAvailableRegions.
func (*MockRegistryServiceMockRecorder) GetGarbageCollection ¶ added in v1.50.0
func (mr *MockRegistryServiceMockRecorder) GetGarbageCollection(arg0 interface{}) *gomock.Call
GetGarbageCollection indicates an expected call of GetGarbageCollection.
func (*MockRegistryServiceMockRecorder) GetSubscriptionTiers ¶ added in v1.51.0
func (mr *MockRegistryServiceMockRecorder) GetSubscriptionTiers() *gomock.Call
GetSubscriptionTiers indicates an expected call of GetSubscriptionTiers.
func (*MockRegistryServiceMockRecorder) ListGarbageCollections ¶ added in v1.50.0
func (mr *MockRegistryServiceMockRecorder) ListGarbageCollections(arg0 interface{}) *gomock.Call
ListGarbageCollections indicates an expected call of ListGarbageCollections.
func (*MockRegistryServiceMockRecorder) ListRepositories ¶ added in v1.42.0
func (mr *MockRegistryServiceMockRecorder) ListRepositories(arg0 interface{}) *gomock.Call
ListRepositories indicates an expected call of ListRepositories.
func (*MockRegistryServiceMockRecorder) ListRepositoriesV2 ¶ added in v1.68.0
func (mr *MockRegistryServiceMockRecorder) ListRepositoriesV2(arg0 interface{}) *gomock.Call
ListRepositoriesV2 indicates an expected call of ListRepositoriesV2.
func (*MockRegistryServiceMockRecorder) ListRepositoryManifests ¶ added in v1.68.0
func (mr *MockRegistryServiceMockRecorder) ListRepositoryManifests(arg0, arg1 interface{}) *gomock.Call
ListRepositoryManifests indicates an expected call of ListRepositoryManifests.
func (*MockRegistryServiceMockRecorder) ListRepositoryTags ¶ added in v1.42.0
func (mr *MockRegistryServiceMockRecorder) ListRepositoryTags(arg0, arg1 interface{}) *gomock.Call
ListRepositoryTags indicates an expected call of ListRepositoryTags.
func (*MockRegistryServiceMockRecorder) RevokeOAuthToken ¶ added in v1.68.0
func (mr *MockRegistryServiceMockRecorder) RevokeOAuthToken(token, endpoint interface{}) *gomock.Call
RevokeOAuthToken indicates an expected call of RevokeOAuthToken.
func (*MockRegistryServiceMockRecorder) StartGarbageCollection ¶ added in v1.50.0
func (mr *MockRegistryServiceMockRecorder) StartGarbageCollection(arg0, arg1 interface{}) *gomock.Call
StartGarbageCollection indicates an expected call of StartGarbageCollection.
type MockReservedIPActionsService ¶ added in v1.77.0
type MockReservedIPActionsService struct {
// contains filtered or unexported fields
}
MockReservedIPActionsService is a mock of ReservedIPActionsService interface.
func NewMockReservedIPActionsService ¶ added in v1.77.0
func NewMockReservedIPActionsService(ctrl *gomock.Controller) *MockReservedIPActionsService
NewMockReservedIPActionsService creates a new mock instance.
func (*MockReservedIPActionsService) EXPECT ¶ added in v1.77.0
func (m *MockReservedIPActionsService) EXPECT() *MockReservedIPActionsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReservedIPActionsService) List ¶ added in v1.77.0
func (m *MockReservedIPActionsService) List(ip string, opt *godo.ListOptions) ([]do.Action, error)
List mocks base method.
type MockReservedIPActionsServiceMockRecorder ¶ added in v1.77.0
type MockReservedIPActionsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockReservedIPActionsServiceMockRecorder is the mock recorder for MockReservedIPActionsService.
func (*MockReservedIPActionsServiceMockRecorder) Assign ¶ added in v1.77.0
func (mr *MockReservedIPActionsServiceMockRecorder) Assign(ip, dropletID interface{}) *gomock.Call
Assign indicates an expected call of Assign.
func (*MockReservedIPActionsServiceMockRecorder) Get ¶ added in v1.77.0
func (mr *MockReservedIPActionsServiceMockRecorder) Get(ip, actionID interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockReservedIPActionsServiceMockRecorder) List ¶ added in v1.77.0
func (mr *MockReservedIPActionsServiceMockRecorder) List(ip, opt interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockReservedIPActionsServiceMockRecorder) Unassign ¶ added in v1.77.0
func (mr *MockReservedIPActionsServiceMockRecorder) Unassign(ip interface{}) *gomock.Call
Unassign indicates an expected call of Unassign.
type MockReservedIPsService ¶ added in v1.77.0
type MockReservedIPsService struct {
// contains filtered or unexported fields
}
MockReservedIPsService is a mock of ReservedIPsService interface.
func NewMockReservedIPsService ¶ added in v1.77.0
func NewMockReservedIPsService(ctrl *gomock.Controller) *MockReservedIPsService
NewMockReservedIPsService creates a new mock instance.
func (*MockReservedIPsService) Create ¶ added in v1.77.0
func (m *MockReservedIPsService) Create(ficr *godo.ReservedIPCreateRequest) (*do.ReservedIP, error)
Create mocks base method.
func (*MockReservedIPsService) Delete ¶ added in v1.77.0
func (m *MockReservedIPsService) Delete(ip string) error
Delete mocks base method.
func (*MockReservedIPsService) EXPECT ¶ added in v1.77.0
func (m *MockReservedIPsService) EXPECT() *MockReservedIPsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReservedIPsService) Get ¶ added in v1.77.0
func (m *MockReservedIPsService) Get(ip string) (*do.ReservedIP, error)
Get mocks base method.
func (*MockReservedIPsService) List ¶ added in v1.77.0
func (m *MockReservedIPsService) List() (do.ReservedIPs, error)
List mocks base method.
type MockReservedIPsServiceMockRecorder ¶ added in v1.77.0
type MockReservedIPsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockReservedIPsServiceMockRecorder is the mock recorder for MockReservedIPsService.
func (*MockReservedIPsServiceMockRecorder) Create ¶ added in v1.77.0
func (mr *MockReservedIPsServiceMockRecorder) Create(ficr interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockReservedIPsServiceMockRecorder) Delete ¶ added in v1.77.0
func (mr *MockReservedIPsServiceMockRecorder) Delete(ip interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockReservedIPsServiceMockRecorder) Get ¶ added in v1.77.0
func (mr *MockReservedIPsServiceMockRecorder) Get(ip interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockReservedIPsServiceMockRecorder) List ¶ added in v1.77.0
func (mr *MockReservedIPsServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List.
type MockRunner ¶ added in v1.39.0
type MockRunner struct {
// contains filtered or unexported fields
}
MockRunner is a mock of Runner interface.
func NewMockRunner ¶ added in v1.39.0
func NewMockRunner(ctrl *gomock.Controller) *MockRunner
NewMockRunner creates a new mock instance.
func (*MockRunner) EXPECT ¶ added in v1.39.0
func (m *MockRunner) EXPECT() *MockRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRunnerMockRecorder ¶ added in v1.39.0
type MockRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockRunnerMockRecorder is the mock recorder for MockRunner.
func (*MockRunnerMockRecorder) Run ¶ added in v1.39.0
func (mr *MockRunnerMockRecorder) Run() *gomock.Call
Run indicates an expected call of Run.
type MockServerlessService ¶ added in v1.80.0
type MockServerlessService struct {
// contains filtered or unexported fields
}
MockServerlessService is a mock of ServerlessService interface.
func NewMockServerlessService ¶ added in v1.80.0
func NewMockServerlessService(ctrl *gomock.Controller) *MockServerlessService
NewMockServerlessService creates a new mock instance.
func (*MockServerlessService) CheckServerlessStatus ¶ added in v1.80.0
func (m *MockServerlessService) CheckServerlessStatus() error
CheckServerlessStatus mocks base method.
func (*MockServerlessService) CleanNamespace ¶ added in v1.85.0
func (m *MockServerlessService) CleanNamespace() error
CleanNamespace mocks base method.
func (*MockServerlessService) CreateNamespace ¶ added in v1.80.0
func (m *MockServerlessService) CreateNamespace(arg0 context.Context, arg1, arg2 string) (do.ServerlessCredentials, error)
CreateNamespace mocks base method.
func (*MockServerlessService) CredentialsPath ¶ added in v1.86.0
func (m *MockServerlessService) CredentialsPath() string
CredentialsPath mocks base method.
func (*MockServerlessService) DeleteFunction ¶ added in v1.85.0
func (m *MockServerlessService) DeleteFunction(arg0 string, arg1 bool) error
DeleteFunction mocks base method.
func (*MockServerlessService) DeleteNamespace ¶ added in v1.80.0
func (m *MockServerlessService) DeleteNamespace(arg0 context.Context, arg1 string) error
DeleteNamespace mocks base method.
func (*MockServerlessService) DeletePackage ¶ added in v1.85.0
func (m *MockServerlessService) DeletePackage(arg0 string, arg1 bool) error
DeletePackage mocks base method.
func (*MockServerlessService) DeleteTrigger ¶ added in v1.82.0
func (m *MockServerlessService) DeleteTrigger(arg0 context.Context, arg1 string) error
DeleteTrigger mocks base method.
func (*MockServerlessService) EXPECT ¶ added in v1.80.0
func (m *MockServerlessService) EXPECT() *MockServerlessServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockServerlessService) Exec ¶ added in v1.80.0
func (m *MockServerlessService) Exec(arg0 *exec.Cmd) (do.ServerlessOutput, error)
Exec mocks base method.
func (*MockServerlessService) GetActivation ¶ added in v1.85.0
func (m *MockServerlessService) GetActivation(arg0 string) (whisk.Activation, error)
GetActivation mocks base method.
func (*MockServerlessService) GetActivationCount ¶ added in v1.85.0
func (m *MockServerlessService) GetActivationCount(arg0 whisk.ActivationCountOptions) (whisk.ActivationCount, error)
GetActivationCount mocks base method.
func (*MockServerlessService) GetActivationLogs ¶ added in v1.85.0
func (m *MockServerlessService) GetActivationLogs(arg0 string) (whisk.Activation, error)
GetActivationLogs mocks base method.
func (*MockServerlessService) GetActivationResult ¶ added in v1.85.0
func (m *MockServerlessService) GetActivationResult(arg0 string) (whisk.Response, error)
GetActivationResult mocks base method.
func (*MockServerlessService) GetConnectedAPIHost ¶ added in v1.80.0
func (m *MockServerlessService) GetConnectedAPIHost() (string, error)
GetConnectedAPIHost mocks base method.
func (*MockServerlessService) GetFunction ¶ added in v1.80.0
func (m *MockServerlessService) GetFunction(arg0 string, arg1 bool) (whisk.Action, []do.FunctionParameter, error)
GetFunction mocks base method.
func (*MockServerlessService) GetHostInfo ¶ added in v1.80.0
func (m *MockServerlessService) GetHostInfo(arg0 string) (do.ServerlessHostInfo, error)
GetHostInfo mocks base method.
func (*MockServerlessService) GetNamespace ¶ added in v1.80.0
func (m *MockServerlessService) GetNamespace(arg0 context.Context, arg1 string) (do.ServerlessCredentials, error)
GetNamespace mocks base method.
func (*MockServerlessService) GetNamespaceFromCluster ¶ added in v1.85.0
func (m *MockServerlessService) GetNamespaceFromCluster(arg0, arg1 string) (string, error)
GetNamespaceFromCluster mocks base method.
func (*MockServerlessService) GetServerlessNamespace ¶ added in v1.80.0
func (m *MockServerlessService) GetServerlessNamespace(arg0 context.Context) (do.ServerlessCredentials, error)
GetServerlessNamespace mocks base method.
func (*MockServerlessService) GetTrigger ¶ added in v1.82.0
func (m *MockServerlessService) GetTrigger(arg0 context.Context, arg1 string) (do.ServerlessTrigger, error)
GetTrigger mocks base method.
func (*MockServerlessService) InstallServerless ¶ added in v1.80.0
func (m *MockServerlessService) InstallServerless(arg0 string, arg1 bool) error
InstallServerless mocks base method.
func (*MockServerlessService) InvokeFunction ¶ added in v1.82.0
func (m *MockServerlessService) InvokeFunction(arg0 string, arg1 interface{}, arg2, arg3 bool) (interface{}, error)
InvokeFunction mocks base method.
func (*MockServerlessService) InvokeFunctionViaWeb ¶ added in v1.82.0
func (m *MockServerlessService) InvokeFunctionViaWeb(arg0 string, arg1 interface{}) error
InvokeFunctionViaWeb mocks base method.
func (*MockServerlessService) ListActivations ¶ added in v1.85.0
func (m *MockServerlessService) ListActivations(arg0 whisk.ActivationListOptions) ([]whisk.Activation, error)
ListActivations mocks base method.
func (*MockServerlessService) ListFunctions ¶ added in v1.85.0
ListFunctions mocks base method.
func (*MockServerlessService) ListNamespaces ¶ added in v1.80.0
func (m *MockServerlessService) ListNamespaces(arg0 context.Context) (do.NamespaceListResponse, error)
ListNamespaces mocks base method.
func (*MockServerlessService) ListPackages ¶ added in v1.89.0
func (m *MockServerlessService) ListPackages() ([]whisk.Package, error)
ListPackages mocks base method.
func (*MockServerlessService) ListTriggers ¶ added in v1.82.0
func (m *MockServerlessService) ListTriggers(arg0 context.Context, arg1 string) ([]do.ServerlessTrigger, error)
ListTriggers mocks base method.
func (*MockServerlessService) ReadCredentials ¶ added in v1.80.0
func (m *MockServerlessService) ReadCredentials() (do.ServerlessCredentials, error)
ReadCredentials mocks base method.
func (*MockServerlessService) ReadProject ¶ added in v1.80.0
func (m *MockServerlessService) ReadProject(arg0 *do.ServerlessProject, arg1 []string) (do.ServerlessOutput, error)
ReadProject mocks base method.
func (*MockServerlessService) SetEffectiveCredentials ¶ added in v1.86.0
func (m *MockServerlessService) SetEffectiveCredentials(auth, apihost string)
SetEffectiveCredentials mocks base method.
func (*MockServerlessService) Stream ¶ added in v1.80.0
func (m *MockServerlessService) Stream(arg0 *exec.Cmd) error
Stream mocks base method.
func (*MockServerlessService) UpdateTrigger ¶ added in v1.89.0
func (m *MockServerlessService) UpdateTrigger(arg0 context.Context, arg1 string, arg2 *do.UpdateTriggerRequest) (do.ServerlessTrigger, error)
UpdateTrigger mocks base method.
func (*MockServerlessService) WriteCredentials ¶ added in v1.80.0
func (m *MockServerlessService) WriteCredentials(arg0 do.ServerlessCredentials) error
WriteCredentials mocks base method.
func (*MockServerlessService) WriteProject ¶ added in v1.80.0
func (m *MockServerlessService) WriteProject(arg0 do.ServerlessProject) (string, error)
WriteProject mocks base method.
type MockServerlessServiceMockRecorder ¶ added in v1.80.0
type MockServerlessServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServerlessServiceMockRecorder is the mock recorder for MockServerlessService.
func (*MockServerlessServiceMockRecorder) CheckServerlessStatus ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) CheckServerlessStatus() *gomock.Call
CheckServerlessStatus indicates an expected call of CheckServerlessStatus.
func (*MockServerlessServiceMockRecorder) CleanNamespace ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) CleanNamespace() *gomock.Call
CleanNamespace indicates an expected call of CleanNamespace.
func (*MockServerlessServiceMockRecorder) Cmd ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) Cmd(arg0, arg1 interface{}) *gomock.Call
Cmd indicates an expected call of Cmd.
func (*MockServerlessServiceMockRecorder) CreateNamespace ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) CreateNamespace(arg0, arg1, arg2 interface{}) *gomock.Call
CreateNamespace indicates an expected call of CreateNamespace.
func (*MockServerlessServiceMockRecorder) CredentialsPath ¶ added in v1.86.0
func (mr *MockServerlessServiceMockRecorder) CredentialsPath() *gomock.Call
CredentialsPath indicates an expected call of CredentialsPath.
func (*MockServerlessServiceMockRecorder) DeleteFunction ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) DeleteFunction(arg0, arg1 interface{}) *gomock.Call
DeleteFunction indicates an expected call of DeleteFunction.
func (*MockServerlessServiceMockRecorder) DeleteNamespace ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) DeleteNamespace(arg0, arg1 interface{}) *gomock.Call
DeleteNamespace indicates an expected call of DeleteNamespace.
func (*MockServerlessServiceMockRecorder) DeletePackage ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) DeletePackage(arg0, arg1 interface{}) *gomock.Call
DeletePackage indicates an expected call of DeletePackage.
func (*MockServerlessServiceMockRecorder) DeleteTrigger ¶ added in v1.82.0
func (mr *MockServerlessServiceMockRecorder) DeleteTrigger(arg0, arg1 interface{}) *gomock.Call
DeleteTrigger indicates an expected call of DeleteTrigger.
func (*MockServerlessServiceMockRecorder) Exec ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) Exec(arg0 interface{}) *gomock.Call
Exec indicates an expected call of Exec.
func (*MockServerlessServiceMockRecorder) GetActivation ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) GetActivation(arg0 interface{}) *gomock.Call
GetActivation indicates an expected call of GetActivation.
func (*MockServerlessServiceMockRecorder) GetActivationCount ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) GetActivationCount(arg0 interface{}) *gomock.Call
GetActivationCount indicates an expected call of GetActivationCount.
func (*MockServerlessServiceMockRecorder) GetActivationLogs ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) GetActivationLogs(arg0 interface{}) *gomock.Call
GetActivationLogs indicates an expected call of GetActivationLogs.
func (*MockServerlessServiceMockRecorder) GetActivationResult ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) GetActivationResult(arg0 interface{}) *gomock.Call
GetActivationResult indicates an expected call of GetActivationResult.
func (*MockServerlessServiceMockRecorder) GetConnectedAPIHost ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) GetConnectedAPIHost() *gomock.Call
GetConnectedAPIHost indicates an expected call of GetConnectedAPIHost.
func (*MockServerlessServiceMockRecorder) GetFunction ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) GetFunction(arg0, arg1 interface{}) *gomock.Call
GetFunction indicates an expected call of GetFunction.
func (*MockServerlessServiceMockRecorder) GetHostInfo ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) GetHostInfo(arg0 interface{}) *gomock.Call
GetHostInfo indicates an expected call of GetHostInfo.
func (*MockServerlessServiceMockRecorder) GetNamespace ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) GetNamespace(arg0, arg1 interface{}) *gomock.Call
GetNamespace indicates an expected call of GetNamespace.
func (*MockServerlessServiceMockRecorder) GetNamespaceFromCluster ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) GetNamespaceFromCluster(arg0, arg1 interface{}) *gomock.Call
GetNamespaceFromCluster indicates an expected call of GetNamespaceFromCluster.
func (*MockServerlessServiceMockRecorder) GetServerlessNamespace ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) GetServerlessNamespace(arg0 interface{}) *gomock.Call
GetServerlessNamespace indicates an expected call of GetServerlessNamespace.
func (*MockServerlessServiceMockRecorder) GetTrigger ¶ added in v1.82.0
func (mr *MockServerlessServiceMockRecorder) GetTrigger(arg0, arg1 interface{}) *gomock.Call
GetTrigger indicates an expected call of GetTrigger.
func (*MockServerlessServiceMockRecorder) InstallServerless ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) InstallServerless(arg0, arg1 interface{}) *gomock.Call
InstallServerless indicates an expected call of InstallServerless.
func (*MockServerlessServiceMockRecorder) InvokeFunction ¶ added in v1.82.0
func (mr *MockServerlessServiceMockRecorder) InvokeFunction(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
InvokeFunction indicates an expected call of InvokeFunction.
func (*MockServerlessServiceMockRecorder) InvokeFunctionViaWeb ¶ added in v1.82.0
func (mr *MockServerlessServiceMockRecorder) InvokeFunctionViaWeb(arg0, arg1 interface{}) *gomock.Call
InvokeFunctionViaWeb indicates an expected call of InvokeFunctionViaWeb.
func (*MockServerlessServiceMockRecorder) ListActivations ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) ListActivations(arg0 interface{}) *gomock.Call
ListActivations indicates an expected call of ListActivations.
func (*MockServerlessServiceMockRecorder) ListFunctions ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) ListFunctions(arg0, arg1, arg2 interface{}) *gomock.Call
ListFunctions indicates an expected call of ListFunctions.
func (*MockServerlessServiceMockRecorder) ListNamespaces ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) ListNamespaces(arg0 interface{}) *gomock.Call
ListNamespaces indicates an expected call of ListNamespaces.
func (*MockServerlessServiceMockRecorder) ListPackages ¶ added in v1.89.0
func (mr *MockServerlessServiceMockRecorder) ListPackages() *gomock.Call
ListPackages indicates an expected call of ListPackages.
func (*MockServerlessServiceMockRecorder) ListTriggers ¶ added in v1.82.0
func (mr *MockServerlessServiceMockRecorder) ListTriggers(arg0, arg1 interface{}) *gomock.Call
ListTriggers indicates an expected call of ListTriggers.
func (*MockServerlessServiceMockRecorder) ReadCredentials ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) ReadCredentials() *gomock.Call
ReadCredentials indicates an expected call of ReadCredentials.
func (*MockServerlessServiceMockRecorder) ReadProject ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) ReadProject(arg0, arg1 interface{}) *gomock.Call
ReadProject indicates an expected call of ReadProject.
func (*MockServerlessServiceMockRecorder) SetEffectiveCredentials ¶ added in v1.86.0
func (mr *MockServerlessServiceMockRecorder) SetEffectiveCredentials(auth, apihost interface{}) *gomock.Call
SetEffectiveCredentials indicates an expected call of SetEffectiveCredentials.
func (*MockServerlessServiceMockRecorder) Stream ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) Stream(arg0 interface{}) *gomock.Call
Stream indicates an expected call of Stream.
func (*MockServerlessServiceMockRecorder) UpdateTrigger ¶ added in v1.89.0
func (mr *MockServerlessServiceMockRecorder) UpdateTrigger(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateTrigger indicates an expected call of UpdateTrigger.
func (*MockServerlessServiceMockRecorder) WriteCredentials ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) WriteCredentials(arg0 interface{}) *gomock.Call
WriteCredentials indicates an expected call of WriteCredentials.
func (*MockServerlessServiceMockRecorder) WriteProject ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) WriteProject(arg0 interface{}) *gomock.Call
WriteProject indicates an expected call of WriteProject.
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 MockUptimeChecksService ¶ added in v1.97.0
type MockUptimeChecksService struct {
// contains filtered or unexported fields
}
MockUptimeChecksService is a mock of UptimeChecksService interface.
func NewMockUptimeChecksService ¶ added in v1.97.0
func NewMockUptimeChecksService(ctrl *gomock.Controller) *MockUptimeChecksService
NewMockUptimeChecksService creates a new mock instance.
func (*MockUptimeChecksService) Create ¶ added in v1.97.0
func (m *MockUptimeChecksService) Create(arg0 *godo.CreateUptimeCheckRequest) (*do.UptimeCheck, error)
Create mocks base method.
func (*MockUptimeChecksService) Delete ¶ added in v1.97.0
func (m *MockUptimeChecksService) Delete(arg0 string) error
Delete mocks base method.
func (*MockUptimeChecksService) EXPECT ¶ added in v1.97.0
func (m *MockUptimeChecksService) EXPECT() *MockUptimeChecksServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUptimeChecksService) Get ¶ added in v1.97.0
func (m *MockUptimeChecksService) Get(arg0 string) (*do.UptimeCheck, error)
Get mocks base method.
func (*MockUptimeChecksService) GetState ¶ added in v1.97.0
func (m *MockUptimeChecksService) GetState(arg0 string) (*do.UptimeCheckState, error)
GetState mocks base method.
func (*MockUptimeChecksService) List ¶ added in v1.97.0
func (m *MockUptimeChecksService) List() ([]do.UptimeCheck, error)
List mocks base method.
func (*MockUptimeChecksService) Update ¶ added in v1.97.0
func (m *MockUptimeChecksService) Update(arg0 string, arg1 *godo.UpdateUptimeCheckRequest) (*do.UptimeCheck, error)
Update mocks base method.
type MockUptimeChecksServiceMockRecorder ¶ added in v1.97.0
type MockUptimeChecksServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockUptimeChecksServiceMockRecorder is the mock recorder for MockUptimeChecksService.
func (*MockUptimeChecksServiceMockRecorder) Create ¶ added in v1.97.0
func (mr *MockUptimeChecksServiceMockRecorder) Create(arg0 interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockUptimeChecksServiceMockRecorder) Delete ¶ added in v1.97.0
func (mr *MockUptimeChecksServiceMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockUptimeChecksServiceMockRecorder) Get ¶ added in v1.97.0
func (mr *MockUptimeChecksServiceMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockUptimeChecksServiceMockRecorder) GetState ¶ added in v1.97.0
func (mr *MockUptimeChecksServiceMockRecorder) GetState(arg0 interface{}) *gomock.Call
GetState indicates an expected call of GetState.
func (*MockUptimeChecksServiceMockRecorder) List ¶ added in v1.97.0
func (mr *MockUptimeChecksServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*MockUptimeChecksServiceMockRecorder) Update ¶ added in v1.97.0
func (mr *MockUptimeChecksServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockVPCsService ¶ added in v1.40.0
type MockVPCsService struct {
// contains filtered or unexported fields
}
MockVPCsService is a mock of VPCsService interface.
func NewMockVPCsService ¶ added in v1.40.0
func NewMockVPCsService(ctrl *gomock.Controller) *MockVPCsService
NewMockVPCsService creates a new mock instance.
func (*MockVPCsService) Create ¶ added in v1.40.0
func (m *MockVPCsService) Create(vpcr *godo.VPCCreateRequest) (*do.VPC, error)
Create mocks base method.
func (*MockVPCsService) Delete ¶ added in v1.40.0
func (m *MockVPCsService) Delete(vpcUUID string) error
Delete mocks base method.
func (*MockVPCsService) EXPECT ¶ added in v1.40.0
func (m *MockVPCsService) EXPECT() *MockVPCsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVPCsService) Get ¶ added in v1.40.0
func (m *MockVPCsService) Get(vpcUUID string) (*do.VPC, error)
Get mocks base method.
func (*MockVPCsService) List ¶ added in v1.40.0
func (m *MockVPCsService) List() (do.VPCs, error)
List mocks base method.
func (*MockVPCsService) PartialUpdate ¶ added in v1.50.0
func (m *MockVPCsService) PartialUpdate(vpcUUID string, options ...godo.VPCSetField) (*do.VPC, error)
PartialUpdate mocks base method.
func (*MockVPCsService) Update ¶ added in v1.40.0
func (m *MockVPCsService) Update(vpcUUID string, vpcr *godo.VPCUpdateRequest) (*do.VPC, error)
Update mocks base method.
type MockVPCsServiceMockRecorder ¶ added in v1.40.0
type MockVPCsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockVPCsServiceMockRecorder is the mock recorder for MockVPCsService.
func (*MockVPCsServiceMockRecorder) Create ¶ added in v1.40.0
func (mr *MockVPCsServiceMockRecorder) Create(vpcr interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockVPCsServiceMockRecorder) Delete ¶ added in v1.40.0
func (mr *MockVPCsServiceMockRecorder) Delete(vpcUUID interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockVPCsServiceMockRecorder) Get ¶ added in v1.40.0
func (mr *MockVPCsServiceMockRecorder) Get(vpcUUID interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockVPCsServiceMockRecorder) List ¶ added in v1.40.0
func (mr *MockVPCsServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*MockVPCsServiceMockRecorder) PartialUpdate ¶ added in v1.50.0
func (mr *MockVPCsServiceMockRecorder) PartialUpdate(vpcUUID interface{}, options ...interface{}) *gomock.Call
PartialUpdate indicates an expected call of PartialUpdate.
func (*MockVPCsServiceMockRecorder) Update ¶ added in v1.40.0
func (mr *MockVPCsServiceMockRecorder) Update(vpcUUID, vpcr interface{}) *gomock.Call
Update indicates an expected call of Update.
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.
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 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
- AppsService.go
- BalanceService.go
- BillingHistoryService.go
- CDNsService.go
- CertificatesService.go
- DatabasesService.go
- DomainService.go
- DropletActionService.go
- DropletsService.go
- FirewallsService.go
- ImageActionsService.go
- ImageService.go
- InvoicesService.go
- KeysService.go
- KubernetesService.go
- Listen.go
- Listener.go
- LoadBalancersService.go
- MonitoringService.go
- OAuthService.go
- OneClickService.go
- ProjectsService.go
- RegionsService.go
- RegistryService.go
- ReservedIPActionsService.go
- ReservedIPsService.go
- Runner.go
- ServerlessService.go
- SizesService.go
- SnapshotsService.go
- TagsService.go
- UptimeChecksService.go
- VPCsService.go
- VolumeActionsService.go
- VolumesService.go