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.
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) Find(appRef string) (*godo.App, error)
- func (m *MockAppsService) Get(appID string) (*godo.App, error)
- func (m *MockAppsService) GetDeployment(appID, deploymentID string) (*godo.Deployment, error)
- func (m *MockAppsService) GetExec(appID, deploymentID, component string) (*godo.AppExec, 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) Restart(appID string, components []string) (*godo.Deployment, 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 any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) CreateDeployment(appID, forceRebuild any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) Delete(appID any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) Find(appRef any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) Get(appID any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) GetDeployment(appID, deploymentID any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) GetExec(appID, deploymentID, component any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) GetInstanceSize(slug any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) GetLogs(appID, deploymentID, component, logType, follow, tail any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) GetTier(slug any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) List(withProjects any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) ListAlerts(appID any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) ListBuildpacks() *gomock.Call
- func (mr *MockAppsServiceMockRecorder) ListDeployments(appID any) *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 any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) Restart(appID, components any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) Update(appID, req any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) UpdateAlertDestinations(appID, alertID, update any) *gomock.Call
- func (mr *MockAppsServiceMockRecorder) UpgradeBuildpack(appID, options any) *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 any) *gomock.Call
- func (mr *MockCDNsServiceMockRecorder) Delete(arg0 any) *gomock.Call
- func (mr *MockCDNsServiceMockRecorder) FlushCache(arg0, arg1 any) *gomock.Call
- func (mr *MockCDNsServiceMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockCDNsServiceMockRecorder) List() *gomock.Call
- func (mr *MockCDNsServiceMockRecorder) UpdateCustomDomain(arg0, arg1 any) *gomock.Call
- func (mr *MockCDNsServiceMockRecorder) UpdateTTL(arg0, arg1 any) *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)
- func (m *MockCertificatesService) ListByName(cName string) (do.Certificates, error)
- type MockCertificatesServiceMockRecorder
- func (mr *MockCertificatesServiceMockRecorder) Create(cr any) *gomock.Call
- func (mr *MockCertificatesServiceMockRecorder) Delete(cID any) *gomock.Call
- func (mr *MockCertificatesServiceMockRecorder) Get(cID any) *gomock.Call
- func (mr *MockCertificatesServiceMockRecorder) List() *gomock.Call
- func (mr *MockCertificatesServiceMockRecorder) ListByName(cName any) *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) CreateTopic(arg0 string, arg1 *godo.DatabaseCreateTopicRequest) (*do.DatabaseTopic, 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) DeleteIndex(arg0, arg1 string) error
- func (m *MockDatabasesService) DeletePool(arg0, arg1 string) error
- func (m *MockDatabasesService) DeleteReplica(arg0, arg1 string) error
- func (m *MockDatabasesService) DeleteTopic(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) GetCA(arg0 string) (*do.DatabaseCA, error)
- func (m *MockDatabasesService) GetConnection(arg0 string, arg1 bool) (*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) GetKafkaConfiguration(databaseID string) (*do.KafkaConfig, error)
- func (m *MockDatabasesService) GetMaintenance(arg0 string) (*do.DatabaseMaintenanceWindow, error)
- func (m *MockDatabasesService) GetMongoDBConfiguration(databaseID string) (*do.MongoDBConfig, error)
- func (m *MockDatabasesService) GetMySQLConfiguration(databaseID string) (*do.MySQLConfig, error)
- func (m *MockDatabasesService) GetOpensearchConfiguration(databaseID string) (*do.OpensearchConfig, error)
- func (m *MockDatabasesService) GetPool(arg0, arg1 string) (*do.DatabasePool, error)
- func (m *MockDatabasesService) GetPostgreSQLConfiguration(databaseID string) (*do.PostgreSQLConfig, error)
- func (m *MockDatabasesService) GetRedisConfiguration(databaseID string) (*do.RedisConfig, 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) GetTopic(arg0, arg1 string) (*do.DatabaseTopic, error)
- func (m *MockDatabasesService) GetUser(arg0, arg1 string) (*do.DatabaseUser, error)
- func (m *MockDatabasesService) InstallUpdate(arg0 string) 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) ListDatabaseEvents(arg0 string) (do.DatabaseEvents, error)
- func (m *MockDatabasesService) ListIndexes(arg0 string) (do.DatabaseIndexes, 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) ListTopics(arg0 string) (do.DatabaseTopics, 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) UpdateKafkaConfiguration(databaseID, confString string) error
- func (m *MockDatabasesService) UpdateMaintenance(arg0 string, arg1 *godo.DatabaseUpdateMaintenanceRequest) error
- func (m *MockDatabasesService) UpdateMongoDBConfiguration(databaseID, confString string) error
- func (m *MockDatabasesService) UpdateMySQLConfiguration(databaseID, confString string) error
- func (m *MockDatabasesService) UpdateOpensearchConfiguration(databaseID, confString string) error
- func (m *MockDatabasesService) UpdatePool(arg0, arg1 string, arg2 *godo.DatabaseUpdatePoolRequest) error
- func (m *MockDatabasesService) UpdatePostgreSQLConfiguration(databaseID, confString string) error
- func (m *MockDatabasesService) UpdateRedisConfiguration(databaseID, confString string) error
- func (m *MockDatabasesService) UpdateTopic(arg0, arg1 string, arg2 *godo.DatabaseUpdateTopicRequest) error
- type MockDatabasesServiceMockRecorder
- func (mr *MockDatabasesServiceMockRecorder) Create(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) CreateDB(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) CreatePool(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) CreateReplica(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) CreateTopic(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) CreateUser(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) Delete(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) DeleteDB(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) DeleteIndex(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) DeletePool(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) DeleteReplica(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) DeleteTopic(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) DeleteUser(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetCA(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetConnection(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetDB(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetFirewallRules(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetKafkaConfiguration(databaseID any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetMaintenance(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetMongoDBConfiguration(databaseID any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetMySQLConfiguration(databaseID any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetOpensearchConfiguration(databaseID any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetPool(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetPostgreSQLConfiguration(databaseID any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetRedisConfiguration(databaseID any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetReplica(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetReplicaConnection(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetSQLMode(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetTopic(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) GetUser(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) InstallUpdate(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) List() *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ListBackups(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ListDBs(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ListDatabaseEvents(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ListIndexes(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ListOptions() *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ListPools(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ListReplicas(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ListTopics(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ListUsers(arg0 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) Migrate(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) PromoteReplica(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) ResetUserAuth(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) Resize(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) SetSQLMode(arg0 any, arg1 ...any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) UpdateFirewallRules(databaseID, req any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) UpdateKafkaConfiguration(databaseID, confString any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) UpdateMaintenance(arg0, arg1 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) UpdateMongoDBConfiguration(databaseID, confString any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) UpdateMySQLConfiguration(databaseID, confString any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) UpdateOpensearchConfiguration(databaseID, confString any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) UpdatePool(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) UpdatePostgreSQLConfiguration(databaseID, confString any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) UpdateRedisConfiguration(databaseID, confString any) *gomock.Call
- func (mr *MockDatabasesServiceMockRecorder) UpdateTopic(arg0, arg1, arg2 any) *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 any) *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) CreateRecord(arg0, arg1 any) *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) Delete(arg0 any) *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) DeleteRecord(arg0, arg1 any) *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) EditRecord(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) List() *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) Record(arg0, arg1 any) *gomock.Call
- func (mr *MockDomainsServiceMockRecorder) Records(arg0 any) *gomock.Call
- type MockDropletActionsService
- func (m *MockDropletActionsService) ChangeBackupPolicy(arg0 int, arg1 *godo.DropletBackupPolicyRequest) (*do.Action, error)
- 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) EnableBackupsWithPolicy(arg0 int, arg1 *godo.DropletBackupPolicyRequest) (*do.Action, 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) ChangeBackupPolicy(arg0, arg1 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) ChangeKernel(arg0, arg1 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) DisableBackups(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) DisableBackupsByTag(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) EnableBackups(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) EnableBackupsByTag(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) EnableBackupsWithPolicy(arg0, arg1 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) EnableIPv6(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) EnableIPv6ByTag(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) EnablePrivateNetworking(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) EnablePrivateNetworkingByTag(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) Get(arg0, arg1 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) GetByURI(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) PasswordReset(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) PowerCycle(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) PowerCycleByTag(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) PowerOff(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) PowerOffByTag(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) PowerOn(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) PowerOnByTag(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) Reboot(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) RebuildByImageID(arg0, arg1 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) RebuildByImageSlug(arg0, arg1 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) Rename(arg0, arg1 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) Resize(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) Restore(arg0, arg1 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) Shutdown(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) ShutdownByTag(arg0 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) Snapshot(arg0, arg1 any) *gomock.Call
- func (mr *MockDropletActionsServiceMockRecorder) SnapshotByTag(arg0, arg1 any) *gomock.Call
- type MockDropletAutoscaleService
- func (m *MockDropletAutoscaleService) Create(arg0 *godo.DropletAutoscalePoolRequest) (*godo.DropletAutoscalePool, error)
- func (m *MockDropletAutoscaleService) Delete(arg0 string) error
- func (m *MockDropletAutoscaleService) DeleteDangerous(arg0 string) error
- func (m *MockDropletAutoscaleService) EXPECT() *MockDropletAutoscaleServiceMockRecorder
- func (m *MockDropletAutoscaleService) Get(arg0 string) (*godo.DropletAutoscalePool, error)
- func (m *MockDropletAutoscaleService) List() ([]*godo.DropletAutoscalePool, error)
- func (m *MockDropletAutoscaleService) ListHistory(arg0 string) ([]*godo.DropletAutoscaleHistoryEvent, error)
- func (m *MockDropletAutoscaleService) ListMembers(arg0 string) ([]*godo.DropletAutoscaleResource, error)
- func (m *MockDropletAutoscaleService) Update(arg0 string, arg1 *godo.DropletAutoscalePoolRequest) (*godo.DropletAutoscalePool, error)
- type MockDropletAutoscaleServiceMockRecorder
- func (mr *MockDropletAutoscaleServiceMockRecorder) Create(arg0 any) *gomock.Call
- func (mr *MockDropletAutoscaleServiceMockRecorder) Delete(arg0 any) *gomock.Call
- func (mr *MockDropletAutoscaleServiceMockRecorder) DeleteDangerous(arg0 any) *gomock.Call
- func (mr *MockDropletAutoscaleServiceMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockDropletAutoscaleServiceMockRecorder) List() *gomock.Call
- func (mr *MockDropletAutoscaleServiceMockRecorder) ListHistory(arg0 any) *gomock.Call
- func (mr *MockDropletAutoscaleServiceMockRecorder) ListMembers(arg0 any) *gomock.Call
- func (mr *MockDropletAutoscaleServiceMockRecorder) Update(arg0, arg1 any) *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) GetBackupPolicy(arg0 int) (*do.DropletBackupPolicy, error)
- func (m *MockDropletsService) Kernels(arg0 int) (do.Kernels, error)
- func (m *MockDropletsService) List() (do.Droplets, error)
- func (m *MockDropletsService) ListBackupPolicies() (do.DropletBackupPolicies, error)
- func (m *MockDropletsService) ListByTag(arg0 string) (do.Droplets, error)
- func (m *MockDropletsService) ListSupportedBackupPolicies() (do.DropletSupportedBackupPolicies, error)
- func (m *MockDropletsService) ListWithGPUs() (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 any) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Backups(arg0 any) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Create(arg0, arg1 any) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) CreateMultiple(arg0 any) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Delete(arg0 any) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) DeleteByTag(arg0 any) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) GetBackupPolicy(arg0 any) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Kernels(arg0 any) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) List() *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) ListBackupPolicies() *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) ListByTag(arg0 any) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) ListSupportedBackupPolicies() *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) ListWithGPUs() *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Neighbors(arg0 any) *gomock.Call
- func (mr *MockDropletsServiceMockRecorder) Snapshots(arg0 any) *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 any, dIDs ...any) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) AddRules(fID, rr any) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) AddTags(fID any, tags ...any) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) Create(fr any) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) Delete(fID any) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) Get(fID any) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) List() *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) ListByDroplet(dID any) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) RemoveDroplets(fID any, dIDs ...any) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) RemoveRules(fID, rr any) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) RemoveTags(fID any, tags ...any) *gomock.Call
- func (mr *MockFirewallsServiceMockRecorder) Update(fID, fr any) *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 any) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) Delete(id any) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) GetByID(id any) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) GetBySlug(slug any) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) List(public any) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) ListApplication(public any) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) ListDistribution(public any) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) ListUser(public any) *gomock.Call
- func (mr *MockImagesServiceMockRecorder) Update(id, iur any) *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 any) *gomock.Call
- func (mr *MockInvoicesServiceMockRecorder) GetCSV(arg0 any) *gomock.Call
- func (mr *MockInvoicesServiceMockRecorder) GetPDF(arg0 any) *gomock.Call
- func (mr *MockInvoicesServiceMockRecorder) GetSummary(arg0 any) *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 any) *gomock.Call
- func (mr *MockKeysServiceMockRecorder) Delete(id any) *gomock.Call
- func (mr *MockKeysServiceMockRecorder) Get(id any) *gomock.Call
- func (mr *MockKeysServiceMockRecorder) List() *gomock.Call
- func (mr *MockKeysServiceMockRecorder) Update(id, kur any) *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 any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) Create(create any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) CreateNodePool(clusterID, req any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) Delete(clusterID any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) DeleteDangerous(clusterID any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) DeleteNode(clusterID, poolID, nodeID, req any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) DeleteNodePool(clusterID, poolID any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) DeleteSelective(clusterID, deleteReq any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) Get(clusterID any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) GetCredentials(clusterID any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) GetKubeConfig(clusterID any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) GetKubeConfigWithExpiry(clusterID, expirySeconds any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) GetNodePool(clusterID, poolID any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) GetNodeSizes() *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) GetRegions() *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) GetUpgrades(clusterID any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) GetVersions() *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) List() *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) ListAssociatedResourcesForDeletion(clusterID any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) ListNodePools(clusterID any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) RecycleNodePoolNodes(clusterID, poolID, req any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) RemoveRegistry(req any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) Update(clusterID, update any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) UpdateNodePool(clusterID, poolID, req any) *gomock.Call
- func (mr *MockKubernetesServiceMockRecorder) Upgrade(clusterID, versionSlug any) *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) PurgeCache(lbID string) 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 any, dIDs ...any) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) AddForwardingRules(lbID any, rules ...any) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) Create(lbr any) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) Delete(lbID any) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) Get(lbID any) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) List() *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) PurgeCache(lbID any) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) RemoveDroplets(lbID any, dIDs ...any) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) RemoveForwardingRules(lbID any, rules ...any) *gomock.Call
- func (mr *MockLoadBalancersServiceMockRecorder) Update(lbID, lbr any) *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 any) *gomock.Call
- func (mr *MockMonitoringServiceMockRecorder) DeleteAlertPolicy(arg0 any) *gomock.Call
- func (mr *MockMonitoringServiceMockRecorder) GetAlertPolicy(arg0 any) *gomock.Call
- func (mr *MockMonitoringServiceMockRecorder) ListAlertPolicies() *gomock.Call
- func (mr *MockMonitoringServiceMockRecorder) UpdateAlertPolicy(uuid, request any) *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 any) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) Create(arg0 any) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) Delete(projectUUID any) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) Get(projectUUID any) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) GetDefault() *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) List() *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) ListResources(projectUUID any) *gomock.Call
- func (mr *MockProjectsServiceMockRecorder) Update(projectUUID, req any) *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 any) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) Create(arg0 any) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) Delete() *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) DeleteManifest(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) DeleteTag(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) DockerCredentials(arg0 any) *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 any) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) GetSubscriptionTiers() *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) ListGarbageCollections(arg0 any) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) ListRepositories(arg0 any) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) ListRepositoriesV2(arg0 any) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) ListRepositoryManifests(arg0, arg1 any) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) ListRepositoryTags(arg0, arg1 any) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) RevokeOAuthToken(token, endpoint any) *gomock.Call
- func (mr *MockRegistryServiceMockRecorder) StartGarbageCollection(arg0, arg1 any) *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 any) *gomock.Call
- func (mr *MockReservedIPActionsServiceMockRecorder) Get(ip, actionID any) *gomock.Call
- func (mr *MockReservedIPActionsServiceMockRecorder) List(ip, opt any) *gomock.Call
- func (mr *MockReservedIPActionsServiceMockRecorder) Unassign(ip any) *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
- type MockReservedIPv6sService
- func (m *MockReservedIPv6sService) Assign(ip string, dropletID int) (*do.Action, error)
- func (m *MockReservedIPv6sService) Create(ficr *godo.ReservedIPV6CreateRequest) (*do.ReservedIPv6, error)
- func (m *MockReservedIPv6sService) Delete(ip string) error
- func (m *MockReservedIPv6sService) EXPECT() *MockReservedIPv6sServiceMockRecorder
- func (m *MockReservedIPv6sService) Get(ip string) (*do.ReservedIPv6, error)
- func (m *MockReservedIPv6sService) List() (do.ReservedIPv6s, error)
- func (m *MockReservedIPv6sService) Unassign(ip string) (*do.Action, error)
- type MockReservedIPv6sServiceMockRecorder
- func (mr *MockReservedIPv6sServiceMockRecorder) Assign(ip, dropletID any) *gomock.Call
- func (mr *MockReservedIPv6sServiceMockRecorder) Create(ficr any) *gomock.Call
- func (mr *MockReservedIPv6sServiceMockRecorder) Delete(ip any) *gomock.Call
- func (mr *MockReservedIPv6sServiceMockRecorder) Get(ip any) *gomock.Call
- func (mr *MockReservedIPv6sServiceMockRecorder) List() *gomock.Call
- func (mr *MockReservedIPv6sServiceMockRecorder) Unassign(ip any) *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 any, arg2, arg3 bool) (any, error)
- func (m *MockServerlessService) InvokeFunctionViaWeb(arg0 string, arg1 any) 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 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) CreateNamespace(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) CredentialsPath() *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) DeleteFunction(arg0, arg1 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) DeleteNamespace(arg0, arg1 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) DeletePackage(arg0, arg1 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) DeleteTrigger(arg0, arg1 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) Exec(arg0 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetActivation(arg0 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetActivationCount(arg0 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetActivationLogs(arg0 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetActivationResult(arg0 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetConnectedAPIHost() *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetFunction(arg0, arg1 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetHostInfo(arg0 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetNamespace(arg0, arg1 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetNamespaceFromCluster(arg0, arg1 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetServerlessNamespace(arg0 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) GetTrigger(arg0, arg1 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) InstallServerless(arg0, arg1 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) InvokeFunction(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) InvokeFunctionViaWeb(arg0, arg1 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) ListActivations(arg0 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) ListFunctions(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) ListNamespaces(arg0 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) ListPackages() *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) ListTriggers(arg0, arg1 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) ReadCredentials() *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) ReadProject(arg0, arg1 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) SetEffectiveCredentials(auth, apihost any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) Stream(arg0 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) UpdateTrigger(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) WriteCredentials(arg0 any) *gomock.Call
- func (mr *MockServerlessServiceMockRecorder) WriteProject(arg0 any) *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 any) *gomock.Call
- func (mr *MockSnapshotsServiceMockRecorder) Get(arg0 any) *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 any) *gomock.Call
- func (mr *MockTagsServiceMockRecorder) Delete(arg0 any) *gomock.Call
- func (mr *MockTagsServiceMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockTagsServiceMockRecorder) List() *gomock.Call
- func (mr *MockTagsServiceMockRecorder) TagResources(arg0, arg1 any) *gomock.Call
- func (mr *MockTagsServiceMockRecorder) UntagResources(arg0, arg1 any) *gomock.Call
- type MockTerminal
- type MockTerminalMockRecorder
- type MockUptimeChecksService
- func (m *MockUptimeChecksService) Create(arg0 *godo.CreateUptimeCheckRequest) (*do.UptimeCheck, error)
- func (m *MockUptimeChecksService) CreateAlert(arg0 string, arg1 *godo.CreateUptimeAlertRequest) (*do.UptimeAlert, error)
- func (m *MockUptimeChecksService) Delete(arg0 string) error
- func (m *MockUptimeChecksService) DeleteAlert(arg0, arg1 string) error
- func (m *MockUptimeChecksService) EXPECT() *MockUptimeChecksServiceMockRecorder
- func (m *MockUptimeChecksService) Get(arg0 string) (*do.UptimeCheck, error)
- func (m *MockUptimeChecksService) GetAlert(arg0, arg1 string) (*do.UptimeAlert, error)
- func (m *MockUptimeChecksService) GetState(arg0 string) (*do.UptimeCheckState, error)
- func (m *MockUptimeChecksService) List() ([]do.UptimeCheck, error)
- func (m *MockUptimeChecksService) ListAlerts(arg0 string) ([]do.UptimeAlert, error)
- func (m *MockUptimeChecksService) Update(arg0 string, arg1 *godo.UpdateUptimeCheckRequest) (*do.UptimeCheck, error)
- func (m *MockUptimeChecksService) UpdateAlert(arg0, arg1 string, arg2 *godo.UpdateUptimeAlertRequest) (*do.UptimeAlert, error)
- type MockUptimeChecksServiceMockRecorder
- func (mr *MockUptimeChecksServiceMockRecorder) Create(arg0 any) *gomock.Call
- func (mr *MockUptimeChecksServiceMockRecorder) CreateAlert(arg0, arg1 any) *gomock.Call
- func (mr *MockUptimeChecksServiceMockRecorder) Delete(arg0 any) *gomock.Call
- func (mr *MockUptimeChecksServiceMockRecorder) DeleteAlert(arg0, arg1 any) *gomock.Call
- func (mr *MockUptimeChecksServiceMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockUptimeChecksServiceMockRecorder) GetAlert(arg0, arg1 any) *gomock.Call
- func (mr *MockUptimeChecksServiceMockRecorder) GetState(arg0 any) *gomock.Call
- func (mr *MockUptimeChecksServiceMockRecorder) List() *gomock.Call
- func (mr *MockUptimeChecksServiceMockRecorder) ListAlerts(arg0 any) *gomock.Call
- func (mr *MockUptimeChecksServiceMockRecorder) Update(arg0, arg1 any) *gomock.Call
- func (mr *MockUptimeChecksServiceMockRecorder) UpdateAlert(arg0, arg1, arg2 any) *gomock.Call
- type MockVPCsService
- func (m *MockVPCsService) Create(vpcr *godo.VPCCreateRequest) (*do.VPC, error)
- func (m *MockVPCsService) CreateVPCPeering(req *godo.VPCPeeringCreateRequest) (*do.VPCPeering, error)
- func (m *MockVPCsService) Delete(vpcUUID string) error
- func (m *MockVPCsService) DeleteVPCPeering(peeringID string) error
- func (m *MockVPCsService) EXPECT() *MockVPCsServiceMockRecorder
- func (m *MockVPCsService) Get(vpcUUID string) (*do.VPC, error)
- func (m *MockVPCsService) GetPeering(peeringID string) (*do.VPCPeering, error)
- func (m *MockVPCsService) List() (do.VPCs, error)
- func (m *MockVPCsService) ListVPCPeerings() (do.VPCPeerings, error)
- func (m *MockVPCsService) ListVPCPeeringsByVPCID(vpcID string) (do.VPCPeerings, 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)
- func (m *MockVPCsService) UpdateVPCPeering(peeringID string, req *godo.VPCPeeringUpdateRequest) (*do.VPCPeering, error)
- type MockVPCsServiceMockRecorder
- func (mr *MockVPCsServiceMockRecorder) Create(vpcr any) *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) CreateVPCPeering(req any) *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) Delete(vpcUUID any) *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) DeleteVPCPeering(peeringID any) *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) Get(vpcUUID any) *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) GetPeering(peeringID any) *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) List() *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) ListVPCPeerings() *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) ListVPCPeeringsByVPCID(vpcID any) *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) PartialUpdate(vpcUUID any, options ...any) *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) Update(vpcUUID, vpcr any) *gomock.Call
- func (mr *MockVPCsServiceMockRecorder) UpdateVPCPeering(peeringID, req any) *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 any) *gomock.Call
- func (mr *MockVolumeActionsServiceMockRecorder) Detach(arg0, arg1 any) *gomock.Call
- func (mr *MockVolumeActionsServiceMockRecorder) Get(arg0, arg1 any) *gomock.Call
- func (mr *MockVolumeActionsServiceMockRecorder) List(arg0 any) *gomock.Call
- func (mr *MockVolumeActionsServiceMockRecorder) Resize(arg0, arg1, arg2 any) *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 any) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) CreateVolume(arg0 any) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) DeleteSnapshot(arg0 any) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) DeleteVolume(arg0 any) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) Get(arg0 any) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) GetSnapshot(arg0 any) *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) List() *gomock.Call
- func (mr *MockVolumesServiceMockRecorder) ListSnapshots(arg0, arg1 any) *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 any) *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) Find ¶ added in v1.120.0
func (m *MockAppsService) Find(appRef string) (*godo.App, error)
Find mocks base method.
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) GetExec ¶ added in v1.118.0
func (m *MockAppsService) GetExec(appID, deploymentID, component string) (*godo.AppExec, error)
GetExec 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) Restart ¶ added in v1.119.0
func (m *MockAppsService) Restart(appID string, components []string) (*godo.Deployment, error)
Restart 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 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockAppsServiceMockRecorder) CreateDeployment ¶ added in v1.46.0
func (mr *MockAppsServiceMockRecorder) CreateDeployment(appID, forceRebuild any) *gomock.Call
CreateDeployment indicates an expected call of CreateDeployment.
func (*MockAppsServiceMockRecorder) Delete ¶ added in v1.46.0
func (mr *MockAppsServiceMockRecorder) Delete(appID any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockAppsServiceMockRecorder) Find ¶ added in v1.120.0
func (mr *MockAppsServiceMockRecorder) Find(appRef any) *gomock.Call
Find indicates an expected call of Find.
func (*MockAppsServiceMockRecorder) Get ¶ added in v1.46.0
func (mr *MockAppsServiceMockRecorder) Get(appID any) *gomock.Call
Get indicates an expected call of Get.
func (*MockAppsServiceMockRecorder) GetDeployment ¶ added in v1.46.0
func (mr *MockAppsServiceMockRecorder) GetDeployment(appID, deploymentID any) *gomock.Call
GetDeployment indicates an expected call of GetDeployment.
func (*MockAppsServiceMockRecorder) GetExec ¶ added in v1.118.0
func (mr *MockAppsServiceMockRecorder) GetExec(appID, deploymentID, component any) *gomock.Call
GetExec indicates an expected call of GetExec.
func (*MockAppsServiceMockRecorder) GetInstanceSize ¶ added in v1.50.0
func (mr *MockAppsServiceMockRecorder) GetInstanceSize(slug any) *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 any) *gomock.Call
GetLogs indicates an expected call of GetLogs.
func (*MockAppsServiceMockRecorder) GetTier ¶ added in v1.50.0
func (mr *MockAppsServiceMockRecorder) GetTier(slug any) *gomock.Call
GetTier indicates an expected call of GetTier.
func (*MockAppsServiceMockRecorder) List ¶ added in v1.46.0
func (mr *MockAppsServiceMockRecorder) List(withProjects any) *gomock.Call
List indicates an expected call of List.
func (*MockAppsServiceMockRecorder) ListAlerts ¶ added in v1.64.0
func (mr *MockAppsServiceMockRecorder) ListAlerts(appID any) *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 any) *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 any) *gomock.Call
Propose indicates an expected call of Propose.
func (*MockAppsServiceMockRecorder) Restart ¶ added in v1.119.0
func (mr *MockAppsServiceMockRecorder) Restart(appID, components any) *gomock.Call
Restart indicates an expected call of Restart.
func (*MockAppsServiceMockRecorder) Update ¶ added in v1.46.0
func (mr *MockAppsServiceMockRecorder) Update(appID, req any) *gomock.Call
Update indicates an expected call of Update.
func (*MockAppsServiceMockRecorder) UpdateAlertDestinations ¶ added in v1.64.0
func (mr *MockAppsServiceMockRecorder) UpdateAlertDestinations(appID, alertID, update any) *gomock.Call
UpdateAlertDestinations indicates an expected call of UpdateAlertDestinations.
func (*MockAppsServiceMockRecorder) UpgradeBuildpack ¶ added in v1.86.0
func (mr *MockAppsServiceMockRecorder) UpgradeBuildpack(appID, options any) *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 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockCDNsServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockCDNsServiceMockRecorder) Delete(arg0 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockCDNsServiceMockRecorder) FlushCache ¶ added in v1.24.0
func (mr *MockCDNsServiceMockRecorder) FlushCache(arg0, arg1 any) *gomock.Call
FlushCache indicates an expected call of FlushCache.
func (*MockCDNsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockCDNsServiceMockRecorder) Get(arg0 any) *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 any) *gomock.Call
UpdateCustomDomain indicates an expected call of UpdateCustomDomain.
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.
func (*MockCertificatesService) ListByName ¶ added in v1.105.0
func (m *MockCertificatesService) ListByName(cName string) (do.Certificates, error)
ListByName 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 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockCertificatesServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockCertificatesServiceMockRecorder) Delete(cID any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockCertificatesServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockCertificatesServiceMockRecorder) Get(cID any) *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.
func (*MockCertificatesServiceMockRecorder) ListByName ¶ added in v1.105.0
func (mr *MockCertificatesServiceMockRecorder) ListByName(cName any) *gomock.Call
ListByName indicates an expected call of ListByName.
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) CreateTopic ¶ added in v1.101.0
func (m *MockDatabasesService) CreateTopic(arg0 string, arg1 *godo.DatabaseCreateTopicRequest) (*do.DatabaseTopic, error)
CreateTopic 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) DeleteIndex ¶ added in v1.112.0
func (m *MockDatabasesService) DeleteIndex(arg0, arg1 string) error
DeleteIndex 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) DeleteTopic ¶ added in v1.101.0
func (m *MockDatabasesService) DeleteTopic(arg0, arg1 string) error
DeleteTopic 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) GetCA ¶ added in v1.114.0
func (m *MockDatabasesService) GetCA(arg0 string) (*do.DatabaseCA, error)
GetCA mocks base method.
func (*MockDatabasesService) GetConnection ¶ added in v1.24.0
func (m *MockDatabasesService) GetConnection(arg0 string, arg1 bool) (*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) GetKafkaConfiguration ¶ added in v1.115.0
func (m *MockDatabasesService) GetKafkaConfiguration(databaseID string) (*do.KafkaConfig, error)
GetKafkaConfiguration 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) GetMongoDBConfiguration ¶ added in v1.115.0
func (m *MockDatabasesService) GetMongoDBConfiguration(databaseID string) (*do.MongoDBConfig, error)
GetMongoDBConfiguration mocks base method.
func (*MockDatabasesService) GetMySQLConfiguration ¶ added in v1.100.0
func (m *MockDatabasesService) GetMySQLConfiguration(databaseID string) (*do.MySQLConfig, error)
GetMySQLConfiguration mocks base method.
func (*MockDatabasesService) GetOpensearchConfiguration ¶ added in v1.116.0
func (m *MockDatabasesService) GetOpensearchConfiguration(databaseID string) (*do.OpensearchConfig, error)
GetOpensearchConfiguration 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) GetPostgreSQLConfiguration ¶ added in v1.100.0
func (m *MockDatabasesService) GetPostgreSQLConfiguration(databaseID string) (*do.PostgreSQLConfig, error)
GetPostgreSQLConfiguration mocks base method.
func (*MockDatabasesService) GetRedisConfiguration ¶ added in v1.100.0
func (m *MockDatabasesService) GetRedisConfiguration(databaseID string) (*do.RedisConfig, error)
GetRedisConfiguration 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) GetTopic ¶ added in v1.101.0
func (m *MockDatabasesService) GetTopic(arg0, arg1 string) (*do.DatabaseTopic, error)
GetTopic 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) InstallUpdate ¶ added in v1.115.0
func (m *MockDatabasesService) InstallUpdate(arg0 string) error
InstallUpdate 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) ListDatabaseEvents ¶ added in v1.106.0
func (m *MockDatabasesService) ListDatabaseEvents(arg0 string) (do.DatabaseEvents, error)
ListDatabaseEvents mocks base method.
func (*MockDatabasesService) ListIndexes ¶ added in v1.112.0
func (m *MockDatabasesService) ListIndexes(arg0 string) (do.DatabaseIndexes, error)
ListIndexes 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) ListTopics ¶ added in v1.101.0
func (m *MockDatabasesService) ListTopics(arg0 string) (do.DatabaseTopics, error)
ListTopics 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) UpdateKafkaConfiguration ¶ added in v1.115.0
func (m *MockDatabasesService) UpdateKafkaConfiguration(databaseID, confString string) error
UpdateKafkaConfiguration 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.
func (*MockDatabasesService) UpdateMongoDBConfiguration ¶ added in v1.115.0
func (m *MockDatabasesService) UpdateMongoDBConfiguration(databaseID, confString string) error
UpdateMongoDBConfiguration mocks base method.
func (*MockDatabasesService) UpdateMySQLConfiguration ¶ added in v1.101.0
func (m *MockDatabasesService) UpdateMySQLConfiguration(databaseID, confString string) error
UpdateMySQLConfiguration mocks base method.
func (*MockDatabasesService) UpdateOpensearchConfiguration ¶ added in v1.116.0
func (m *MockDatabasesService) UpdateOpensearchConfiguration(databaseID, confString string) error
UpdateOpensearchConfiguration mocks base method.
func (*MockDatabasesService) UpdatePool ¶ added in v1.110.0
func (m *MockDatabasesService) UpdatePool(arg0, arg1 string, arg2 *godo.DatabaseUpdatePoolRequest) error
UpdatePool mocks base method.
func (*MockDatabasesService) UpdatePostgreSQLConfiguration ¶ added in v1.101.0
func (m *MockDatabasesService) UpdatePostgreSQLConfiguration(databaseID, confString string) error
UpdatePostgreSQLConfiguration mocks base method.
func (*MockDatabasesService) UpdateRedisConfiguration ¶ added in v1.101.0
func (m *MockDatabasesService) UpdateRedisConfiguration(databaseID, confString string) error
UpdateRedisConfiguration mocks base method.
func (*MockDatabasesService) UpdateTopic ¶ added in v1.101.0
func (m *MockDatabasesService) UpdateTopic(arg0, arg1 string, arg2 *godo.DatabaseUpdateTopicRequest) error
UpdateTopic 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 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockDatabasesServiceMockRecorder) CreateDB ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) CreateDB(arg0, arg1 any) *gomock.Call
CreateDB indicates an expected call of CreateDB.
func (*MockDatabasesServiceMockRecorder) CreatePool ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) CreatePool(arg0, arg1 any) *gomock.Call
CreatePool indicates an expected call of CreatePool.
func (*MockDatabasesServiceMockRecorder) CreateReplica ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) CreateReplica(arg0, arg1 any) *gomock.Call
CreateReplica indicates an expected call of CreateReplica.
func (*MockDatabasesServiceMockRecorder) CreateTopic ¶ added in v1.101.0
func (mr *MockDatabasesServiceMockRecorder) CreateTopic(arg0, arg1 any) *gomock.Call
CreateTopic indicates an expected call of CreateTopic.
func (*MockDatabasesServiceMockRecorder) CreateUser ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) CreateUser(arg0, arg1 any) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockDatabasesServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) Delete(arg0 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDatabasesServiceMockRecorder) DeleteDB ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) DeleteDB(arg0, arg1 any) *gomock.Call
DeleteDB indicates an expected call of DeleteDB.
func (*MockDatabasesServiceMockRecorder) DeleteIndex ¶ added in v1.112.0
func (mr *MockDatabasesServiceMockRecorder) DeleteIndex(arg0, arg1 any) *gomock.Call
DeleteIndex indicates an expected call of DeleteIndex.
func (*MockDatabasesServiceMockRecorder) DeletePool ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) DeletePool(arg0, arg1 any) *gomock.Call
DeletePool indicates an expected call of DeletePool.
func (*MockDatabasesServiceMockRecorder) DeleteReplica ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) DeleteReplica(arg0, arg1 any) *gomock.Call
DeleteReplica indicates an expected call of DeleteReplica.
func (*MockDatabasesServiceMockRecorder) DeleteTopic ¶ added in v1.101.0
func (mr *MockDatabasesServiceMockRecorder) DeleteTopic(arg0, arg1 any) *gomock.Call
DeleteTopic indicates an expected call of DeleteTopic.
func (*MockDatabasesServiceMockRecorder) DeleteUser ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) DeleteUser(arg0, arg1 any) *gomock.Call
DeleteUser indicates an expected call of DeleteUser.
func (*MockDatabasesServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) Get(arg0 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockDatabasesServiceMockRecorder) GetCA ¶ added in v1.114.0
func (mr *MockDatabasesServiceMockRecorder) GetCA(arg0 any) *gomock.Call
GetCA indicates an expected call of GetCA.
func (*MockDatabasesServiceMockRecorder) GetConnection ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) GetConnection(arg0, arg1 any) *gomock.Call
GetConnection indicates an expected call of GetConnection.
func (*MockDatabasesServiceMockRecorder) GetDB ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) GetDB(arg0, arg1 any) *gomock.Call
GetDB indicates an expected call of GetDB.
func (*MockDatabasesServiceMockRecorder) GetFirewallRules ¶ added in v1.56.0
func (mr *MockDatabasesServiceMockRecorder) GetFirewallRules(arg0 any) *gomock.Call
GetFirewallRules indicates an expected call of GetFirewallRules.
func (*MockDatabasesServiceMockRecorder) GetKafkaConfiguration ¶ added in v1.115.0
func (mr *MockDatabasesServiceMockRecorder) GetKafkaConfiguration(databaseID any) *gomock.Call
GetKafkaConfiguration indicates an expected call of GetKafkaConfiguration.
func (*MockDatabasesServiceMockRecorder) GetMaintenance ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) GetMaintenance(arg0 any) *gomock.Call
GetMaintenance indicates an expected call of GetMaintenance.
func (*MockDatabasesServiceMockRecorder) GetMongoDBConfiguration ¶ added in v1.115.0
func (mr *MockDatabasesServiceMockRecorder) GetMongoDBConfiguration(databaseID any) *gomock.Call
GetMongoDBConfiguration indicates an expected call of GetMongoDBConfiguration.
func (*MockDatabasesServiceMockRecorder) GetMySQLConfiguration ¶ added in v1.100.0
func (mr *MockDatabasesServiceMockRecorder) GetMySQLConfiguration(databaseID any) *gomock.Call
GetMySQLConfiguration indicates an expected call of GetMySQLConfiguration.
func (*MockDatabasesServiceMockRecorder) GetOpensearchConfiguration ¶ added in v1.116.0
func (mr *MockDatabasesServiceMockRecorder) GetOpensearchConfiguration(databaseID any) *gomock.Call
GetOpensearchConfiguration indicates an expected call of GetOpensearchConfiguration.
func (*MockDatabasesServiceMockRecorder) GetPool ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) GetPool(arg0, arg1 any) *gomock.Call
GetPool indicates an expected call of GetPool.
func (*MockDatabasesServiceMockRecorder) GetPostgreSQLConfiguration ¶ added in v1.100.0
func (mr *MockDatabasesServiceMockRecorder) GetPostgreSQLConfiguration(databaseID any) *gomock.Call
GetPostgreSQLConfiguration indicates an expected call of GetPostgreSQLConfiguration.
func (*MockDatabasesServiceMockRecorder) GetRedisConfiguration ¶ added in v1.100.0
func (mr *MockDatabasesServiceMockRecorder) GetRedisConfiguration(databaseID any) *gomock.Call
GetRedisConfiguration indicates an expected call of GetRedisConfiguration.
func (*MockDatabasesServiceMockRecorder) GetReplica ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) GetReplica(arg0, arg1 any) *gomock.Call
GetReplica indicates an expected call of GetReplica.
func (*MockDatabasesServiceMockRecorder) GetReplicaConnection ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) GetReplicaConnection(arg0, arg1 any) *gomock.Call
GetReplicaConnection indicates an expected call of GetReplicaConnection.
func (*MockDatabasesServiceMockRecorder) GetSQLMode ¶ added in v1.35.0
func (mr *MockDatabasesServiceMockRecorder) GetSQLMode(arg0 any) *gomock.Call
GetSQLMode indicates an expected call of GetSQLMode.
func (*MockDatabasesServiceMockRecorder) GetTopic ¶ added in v1.101.0
func (mr *MockDatabasesServiceMockRecorder) GetTopic(arg0, arg1 any) *gomock.Call
GetTopic indicates an expected call of GetTopic.
func (*MockDatabasesServiceMockRecorder) GetUser ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) GetUser(arg0, arg1 any) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockDatabasesServiceMockRecorder) InstallUpdate ¶ added in v1.115.0
func (mr *MockDatabasesServiceMockRecorder) InstallUpdate(arg0 any) *gomock.Call
InstallUpdate indicates an expected call of InstallUpdate.
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 any) *gomock.Call
ListBackups indicates an expected call of ListBackups.
func (*MockDatabasesServiceMockRecorder) ListDBs ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) ListDBs(arg0 any) *gomock.Call
ListDBs indicates an expected call of ListDBs.
func (*MockDatabasesServiceMockRecorder) ListDatabaseEvents ¶ added in v1.106.0
func (mr *MockDatabasesServiceMockRecorder) ListDatabaseEvents(arg0 any) *gomock.Call
ListDatabaseEvents indicates an expected call of ListDatabaseEvents.
func (*MockDatabasesServiceMockRecorder) ListIndexes ¶ added in v1.112.0
func (mr *MockDatabasesServiceMockRecorder) ListIndexes(arg0 any) *gomock.Call
ListIndexes indicates an expected call of ListIndexes.
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 any) *gomock.Call
ListPools indicates an expected call of ListPools.
func (*MockDatabasesServiceMockRecorder) ListReplicas ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) ListReplicas(arg0 any) *gomock.Call
ListReplicas indicates an expected call of ListReplicas.
func (*MockDatabasesServiceMockRecorder) ListTopics ¶ added in v1.101.0
func (mr *MockDatabasesServiceMockRecorder) ListTopics(arg0 any) *gomock.Call
ListTopics indicates an expected call of ListTopics.
func (*MockDatabasesServiceMockRecorder) ListUsers ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) ListUsers(arg0 any) *gomock.Call
ListUsers indicates an expected call of ListUsers.
func (*MockDatabasesServiceMockRecorder) Migrate ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) Migrate(arg0, arg1 any) *gomock.Call
Migrate indicates an expected call of Migrate.
func (*MockDatabasesServiceMockRecorder) PromoteReplica ¶ added in v1.93.2
func (mr *MockDatabasesServiceMockRecorder) PromoteReplica(arg0, arg1 any) *gomock.Call
PromoteReplica indicates an expected call of PromoteReplica.
func (*MockDatabasesServiceMockRecorder) ResetUserAuth ¶ added in v1.39.0
func (mr *MockDatabasesServiceMockRecorder) ResetUserAuth(arg0, arg1, arg2 any) *gomock.Call
ResetUserAuth indicates an expected call of ResetUserAuth.
func (*MockDatabasesServiceMockRecorder) Resize ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) Resize(arg0, arg1 any) *gomock.Call
Resize indicates an expected call of Resize.
func (*MockDatabasesServiceMockRecorder) SetSQLMode ¶ added in v1.35.0
func (mr *MockDatabasesServiceMockRecorder) SetSQLMode(arg0 any, arg1 ...any) *gomock.Call
SetSQLMode indicates an expected call of SetSQLMode.
func (*MockDatabasesServiceMockRecorder) UpdateFirewallRules ¶ added in v1.56.0
func (mr *MockDatabasesServiceMockRecorder) UpdateFirewallRules(databaseID, req any) *gomock.Call
UpdateFirewallRules indicates an expected call of UpdateFirewallRules.
func (*MockDatabasesServiceMockRecorder) UpdateKafkaConfiguration ¶ added in v1.115.0
func (mr *MockDatabasesServiceMockRecorder) UpdateKafkaConfiguration(databaseID, confString any) *gomock.Call
UpdateKafkaConfiguration indicates an expected call of UpdateKafkaConfiguration.
func (*MockDatabasesServiceMockRecorder) UpdateMaintenance ¶ added in v1.24.0
func (mr *MockDatabasesServiceMockRecorder) UpdateMaintenance(arg0, arg1 any) *gomock.Call
UpdateMaintenance indicates an expected call of UpdateMaintenance.
func (*MockDatabasesServiceMockRecorder) UpdateMongoDBConfiguration ¶ added in v1.115.0
func (mr *MockDatabasesServiceMockRecorder) UpdateMongoDBConfiguration(databaseID, confString any) *gomock.Call
UpdateMongoDBConfiguration indicates an expected call of UpdateMongoDBConfiguration.
func (*MockDatabasesServiceMockRecorder) UpdateMySQLConfiguration ¶ added in v1.101.0
func (mr *MockDatabasesServiceMockRecorder) UpdateMySQLConfiguration(databaseID, confString any) *gomock.Call
UpdateMySQLConfiguration indicates an expected call of UpdateMySQLConfiguration.
func (*MockDatabasesServiceMockRecorder) UpdateOpensearchConfiguration ¶ added in v1.116.0
func (mr *MockDatabasesServiceMockRecorder) UpdateOpensearchConfiguration(databaseID, confString any) *gomock.Call
UpdateOpensearchConfiguration indicates an expected call of UpdateOpensearchConfiguration.
func (*MockDatabasesServiceMockRecorder) UpdatePool ¶ added in v1.110.0
func (mr *MockDatabasesServiceMockRecorder) UpdatePool(arg0, arg1, arg2 any) *gomock.Call
UpdatePool indicates an expected call of UpdatePool.
func (*MockDatabasesServiceMockRecorder) UpdatePostgreSQLConfiguration ¶ added in v1.101.0
func (mr *MockDatabasesServiceMockRecorder) UpdatePostgreSQLConfiguration(databaseID, confString any) *gomock.Call
UpdatePostgreSQLConfiguration indicates an expected call of UpdatePostgreSQLConfiguration.
func (*MockDatabasesServiceMockRecorder) UpdateRedisConfiguration ¶ added in v1.101.0
func (mr *MockDatabasesServiceMockRecorder) UpdateRedisConfiguration(databaseID, confString any) *gomock.Call
UpdateRedisConfiguration indicates an expected call of UpdateRedisConfiguration.
func (*MockDatabasesServiceMockRecorder) UpdateTopic ¶ added in v1.101.0
func (mr *MockDatabasesServiceMockRecorder) UpdateTopic(arg0, arg1, arg2 any) *gomock.Call
UpdateTopic indicates an expected call of UpdateTopic.
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 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockDomainsServiceMockRecorder) CreateRecord ¶ added in v1.24.0
func (mr *MockDomainsServiceMockRecorder) CreateRecord(arg0, arg1 any) *gomock.Call
CreateRecord indicates an expected call of CreateRecord.
func (*MockDomainsServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockDomainsServiceMockRecorder) Delete(arg0 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDomainsServiceMockRecorder) DeleteRecord ¶ added in v1.24.0
func (mr *MockDomainsServiceMockRecorder) DeleteRecord(arg0, arg1 any) *gomock.Call
DeleteRecord indicates an expected call of DeleteRecord.
func (*MockDomainsServiceMockRecorder) EditRecord ¶ added in v1.24.0
func (mr *MockDomainsServiceMockRecorder) EditRecord(arg0, arg1, arg2 any) *gomock.Call
EditRecord indicates an expected call of EditRecord.
func (*MockDomainsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockDomainsServiceMockRecorder) Get(arg0 any) *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.
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) ChangeBackupPolicy ¶ added in v1.118.0
func (m *MockDropletActionsService) ChangeBackupPolicy(arg0 int, arg1 *godo.DropletBackupPolicyRequest) (*do.Action, error)
ChangeBackupPolicy mocks base method.
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) EnableBackupsWithPolicy ¶ added in v1.118.0
func (m *MockDropletActionsService) EnableBackupsWithPolicy(arg0 int, arg1 *godo.DropletBackupPolicyRequest) (*do.Action, error)
EnableBackupsWithPolicy 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) ChangeBackupPolicy ¶ added in v1.118.0
func (mr *MockDropletActionsServiceMockRecorder) ChangeBackupPolicy(arg0, arg1 any) *gomock.Call
ChangeBackupPolicy indicates an expected call of ChangeBackupPolicy.
func (*MockDropletActionsServiceMockRecorder) ChangeKernel ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) ChangeKernel(arg0, arg1 any) *gomock.Call
ChangeKernel indicates an expected call of ChangeKernel.
func (*MockDropletActionsServiceMockRecorder) DisableBackups ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) DisableBackups(arg0 any) *gomock.Call
DisableBackups indicates an expected call of DisableBackups.
func (*MockDropletActionsServiceMockRecorder) DisableBackupsByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) DisableBackupsByTag(arg0 any) *gomock.Call
DisableBackupsByTag indicates an expected call of DisableBackupsByTag.
func (*MockDropletActionsServiceMockRecorder) EnableBackups ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) EnableBackups(arg0 any) *gomock.Call
EnableBackups indicates an expected call of EnableBackups.
func (*MockDropletActionsServiceMockRecorder) EnableBackupsByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) EnableBackupsByTag(arg0 any) *gomock.Call
EnableBackupsByTag indicates an expected call of EnableBackupsByTag.
func (*MockDropletActionsServiceMockRecorder) EnableBackupsWithPolicy ¶ added in v1.118.0
func (mr *MockDropletActionsServiceMockRecorder) EnableBackupsWithPolicy(arg0, arg1 any) *gomock.Call
EnableBackupsWithPolicy indicates an expected call of EnableBackupsWithPolicy.
func (*MockDropletActionsServiceMockRecorder) EnableIPv6 ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) EnableIPv6(arg0 any) *gomock.Call
EnableIPv6 indicates an expected call of EnableIPv6.
func (*MockDropletActionsServiceMockRecorder) EnableIPv6ByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) EnableIPv6ByTag(arg0 any) *gomock.Call
EnableIPv6ByTag indicates an expected call of EnableIPv6ByTag.
func (*MockDropletActionsServiceMockRecorder) EnablePrivateNetworking ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) EnablePrivateNetworking(arg0 any) *gomock.Call
EnablePrivateNetworking indicates an expected call of EnablePrivateNetworking.
func (*MockDropletActionsServiceMockRecorder) EnablePrivateNetworkingByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) EnablePrivateNetworkingByTag(arg0 any) *gomock.Call
EnablePrivateNetworkingByTag indicates an expected call of EnablePrivateNetworkingByTag.
func (*MockDropletActionsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) Get(arg0, arg1 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockDropletActionsServiceMockRecorder) GetByURI ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) GetByURI(arg0 any) *gomock.Call
GetByURI indicates an expected call of GetByURI.
func (*MockDropletActionsServiceMockRecorder) PasswordReset ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) PasswordReset(arg0 any) *gomock.Call
PasswordReset indicates an expected call of PasswordReset.
func (*MockDropletActionsServiceMockRecorder) PowerCycle ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) PowerCycle(arg0 any) *gomock.Call
PowerCycle indicates an expected call of PowerCycle.
func (*MockDropletActionsServiceMockRecorder) PowerCycleByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) PowerCycleByTag(arg0 any) *gomock.Call
PowerCycleByTag indicates an expected call of PowerCycleByTag.
func (*MockDropletActionsServiceMockRecorder) PowerOff ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) PowerOff(arg0 any) *gomock.Call
PowerOff indicates an expected call of PowerOff.
func (*MockDropletActionsServiceMockRecorder) PowerOffByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) PowerOffByTag(arg0 any) *gomock.Call
PowerOffByTag indicates an expected call of PowerOffByTag.
func (*MockDropletActionsServiceMockRecorder) PowerOn ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) PowerOn(arg0 any) *gomock.Call
PowerOn indicates an expected call of PowerOn.
func (*MockDropletActionsServiceMockRecorder) PowerOnByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) PowerOnByTag(arg0 any) *gomock.Call
PowerOnByTag indicates an expected call of PowerOnByTag.
func (*MockDropletActionsServiceMockRecorder) Reboot ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) Reboot(arg0 any) *gomock.Call
Reboot indicates an expected call of Reboot.
func (*MockDropletActionsServiceMockRecorder) RebuildByImageID ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) RebuildByImageID(arg0, arg1 any) *gomock.Call
RebuildByImageID indicates an expected call of RebuildByImageID.
func (*MockDropletActionsServiceMockRecorder) RebuildByImageSlug ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) RebuildByImageSlug(arg0, arg1 any) *gomock.Call
RebuildByImageSlug indicates an expected call of RebuildByImageSlug.
func (*MockDropletActionsServiceMockRecorder) Rename ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) Rename(arg0, arg1 any) *gomock.Call
Rename indicates an expected call of Rename.
func (*MockDropletActionsServiceMockRecorder) Resize ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) Resize(arg0, arg1, arg2 any) *gomock.Call
Resize indicates an expected call of Resize.
func (*MockDropletActionsServiceMockRecorder) Restore ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) Restore(arg0, arg1 any) *gomock.Call
Restore indicates an expected call of Restore.
func (*MockDropletActionsServiceMockRecorder) Shutdown ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) Shutdown(arg0 any) *gomock.Call
Shutdown indicates an expected call of Shutdown.
func (*MockDropletActionsServiceMockRecorder) ShutdownByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) ShutdownByTag(arg0 any) *gomock.Call
ShutdownByTag indicates an expected call of ShutdownByTag.
func (*MockDropletActionsServiceMockRecorder) Snapshot ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) Snapshot(arg0, arg1 any) *gomock.Call
Snapshot indicates an expected call of Snapshot.
func (*MockDropletActionsServiceMockRecorder) SnapshotByTag ¶ added in v1.24.0
func (mr *MockDropletActionsServiceMockRecorder) SnapshotByTag(arg0, arg1 any) *gomock.Call
SnapshotByTag indicates an expected call of SnapshotByTag.
type MockDropletAutoscaleService ¶ added in v1.118.0
type MockDropletAutoscaleService struct {
// contains filtered or unexported fields
}
MockDropletAutoscaleService is a mock of DropletAutoscaleService interface.
func NewMockDropletAutoscaleService ¶ added in v1.118.0
func NewMockDropletAutoscaleService(ctrl *gomock.Controller) *MockDropletAutoscaleService
NewMockDropletAutoscaleService creates a new mock instance.
func (*MockDropletAutoscaleService) Create ¶ added in v1.118.0
func (m *MockDropletAutoscaleService) Create(arg0 *godo.DropletAutoscalePoolRequest) (*godo.DropletAutoscalePool, error)
Create mocks base method.
func (*MockDropletAutoscaleService) Delete ¶ added in v1.118.0
func (m *MockDropletAutoscaleService) Delete(arg0 string) error
Delete mocks base method.
func (*MockDropletAutoscaleService) DeleteDangerous ¶ added in v1.118.0
func (m *MockDropletAutoscaleService) DeleteDangerous(arg0 string) error
DeleteDangerous mocks base method.
func (*MockDropletAutoscaleService) EXPECT ¶ added in v1.118.0
func (m *MockDropletAutoscaleService) EXPECT() *MockDropletAutoscaleServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDropletAutoscaleService) Get ¶ added in v1.118.0
func (m *MockDropletAutoscaleService) Get(arg0 string) (*godo.DropletAutoscalePool, error)
Get mocks base method.
func (*MockDropletAutoscaleService) List ¶ added in v1.118.0
func (m *MockDropletAutoscaleService) List() ([]*godo.DropletAutoscalePool, error)
List mocks base method.
func (*MockDropletAutoscaleService) ListHistory ¶ added in v1.118.0
func (m *MockDropletAutoscaleService) ListHistory(arg0 string) ([]*godo.DropletAutoscaleHistoryEvent, error)
ListHistory mocks base method.
func (*MockDropletAutoscaleService) ListMembers ¶ added in v1.118.0
func (m *MockDropletAutoscaleService) ListMembers(arg0 string) ([]*godo.DropletAutoscaleResource, error)
ListMembers mocks base method.
func (*MockDropletAutoscaleService) Update ¶ added in v1.118.0
func (m *MockDropletAutoscaleService) Update(arg0 string, arg1 *godo.DropletAutoscalePoolRequest) (*godo.DropletAutoscalePool, error)
Update mocks base method.
type MockDropletAutoscaleServiceMockRecorder ¶ added in v1.118.0
type MockDropletAutoscaleServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDropletAutoscaleServiceMockRecorder is the mock recorder for MockDropletAutoscaleService.
func (*MockDropletAutoscaleServiceMockRecorder) Create ¶ added in v1.118.0
func (mr *MockDropletAutoscaleServiceMockRecorder) Create(arg0 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockDropletAutoscaleServiceMockRecorder) Delete ¶ added in v1.118.0
func (mr *MockDropletAutoscaleServiceMockRecorder) Delete(arg0 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDropletAutoscaleServiceMockRecorder) DeleteDangerous ¶ added in v1.118.0
func (mr *MockDropletAutoscaleServiceMockRecorder) DeleteDangerous(arg0 any) *gomock.Call
DeleteDangerous indicates an expected call of DeleteDangerous.
func (*MockDropletAutoscaleServiceMockRecorder) Get ¶ added in v1.118.0
func (mr *MockDropletAutoscaleServiceMockRecorder) Get(arg0 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockDropletAutoscaleServiceMockRecorder) List ¶ added in v1.118.0
func (mr *MockDropletAutoscaleServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*MockDropletAutoscaleServiceMockRecorder) ListHistory ¶ added in v1.118.0
func (mr *MockDropletAutoscaleServiceMockRecorder) ListHistory(arg0 any) *gomock.Call
ListHistory indicates an expected call of ListHistory.
func (*MockDropletAutoscaleServiceMockRecorder) ListMembers ¶ added in v1.118.0
func (mr *MockDropletAutoscaleServiceMockRecorder) ListMembers(arg0 any) *gomock.Call
ListMembers indicates an expected call of ListMembers.
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) GetBackupPolicy ¶ added in v1.118.0
func (m *MockDropletsService) GetBackupPolicy(arg0 int) (*do.DropletBackupPolicy, error)
GetBackupPolicy 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) ListBackupPolicies ¶ added in v1.118.0
func (m *MockDropletsService) ListBackupPolicies() (do.DropletBackupPolicies, error)
ListBackupPolicies mocks base method.
func (*MockDropletsService) ListByTag ¶ added in v1.24.0
func (m *MockDropletsService) ListByTag(arg0 string) (do.Droplets, error)
ListByTag mocks base method.
func (*MockDropletsService) ListSupportedBackupPolicies ¶ added in v1.118.0
func (m *MockDropletsService) ListSupportedBackupPolicies() (do.DropletSupportedBackupPolicies, error)
ListSupportedBackupPolicies mocks base method.
func (*MockDropletsService) ListWithGPUs ¶ added in v1.117.0
func (m *MockDropletsService) ListWithGPUs() (do.Droplets, error)
ListWithGPUs 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 any) *gomock.Call
Actions indicates an expected call of Actions.
func (*MockDropletsServiceMockRecorder) Backups ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) Backups(arg0 any) *gomock.Call
Backups indicates an expected call of Backups.
func (*MockDropletsServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) Create(arg0, arg1 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockDropletsServiceMockRecorder) CreateMultiple ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) CreateMultiple(arg0 any) *gomock.Call
CreateMultiple indicates an expected call of CreateMultiple.
func (*MockDropletsServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) Delete(arg0 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDropletsServiceMockRecorder) DeleteByTag ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) DeleteByTag(arg0 any) *gomock.Call
DeleteByTag indicates an expected call of DeleteByTag.
func (*MockDropletsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) Get(arg0 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockDropletsServiceMockRecorder) GetBackupPolicy ¶ added in v1.118.0
func (mr *MockDropletsServiceMockRecorder) GetBackupPolicy(arg0 any) *gomock.Call
GetBackupPolicy indicates an expected call of GetBackupPolicy.
func (*MockDropletsServiceMockRecorder) Kernels ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) Kernels(arg0 any) *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) ListBackupPolicies ¶ added in v1.118.0
func (mr *MockDropletsServiceMockRecorder) ListBackupPolicies() *gomock.Call
ListBackupPolicies indicates an expected call of ListBackupPolicies.
func (*MockDropletsServiceMockRecorder) ListByTag ¶ added in v1.24.0
func (mr *MockDropletsServiceMockRecorder) ListByTag(arg0 any) *gomock.Call
ListByTag indicates an expected call of ListByTag.
func (*MockDropletsServiceMockRecorder) ListSupportedBackupPolicies ¶ added in v1.118.0
func (mr *MockDropletsServiceMockRecorder) ListSupportedBackupPolicies() *gomock.Call
ListSupportedBackupPolicies indicates an expected call of ListSupportedBackupPolicies.
func (*MockDropletsServiceMockRecorder) ListWithGPUs ¶ added in v1.117.0
func (mr *MockDropletsServiceMockRecorder) ListWithGPUs() *gomock.Call
ListWithGPUs indicates an expected call of ListWithGPUs.
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 any, dIDs ...any) *gomock.Call
AddDroplets indicates an expected call of AddDroplets.
func (*MockFirewallsServiceMockRecorder) AddRules ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) AddRules(fID, rr any) *gomock.Call
AddRules indicates an expected call of AddRules.
func (*MockFirewallsServiceMockRecorder) AddTags ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) AddTags(fID any, tags ...any) *gomock.Call
AddTags indicates an expected call of AddTags.
func (*MockFirewallsServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) Create(fr any) *gomock.Call
Create indicates an expected call of Create.
func (*MockFirewallsServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) Delete(fID any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockFirewallsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) Get(fID any) *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 any) *gomock.Call
ListByDroplet indicates an expected call of ListByDroplet.
func (*MockFirewallsServiceMockRecorder) RemoveDroplets ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) RemoveDroplets(fID any, dIDs ...any) *gomock.Call
RemoveDroplets indicates an expected call of RemoveDroplets.
func (*MockFirewallsServiceMockRecorder) RemoveRules ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) RemoveRules(fID, rr any) *gomock.Call
RemoveRules indicates an expected call of RemoveRules.
func (*MockFirewallsServiceMockRecorder) RemoveTags ¶ added in v1.24.0
func (mr *MockFirewallsServiceMockRecorder) RemoveTags(fID any, tags ...any) *gomock.Call
RemoveTags indicates an expected call of RemoveTags.
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 any) *gomock.Call
Convert indicates an expected call of Convert.
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 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockImagesServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockImagesServiceMockRecorder) Delete(id any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockImagesServiceMockRecorder) GetByID ¶ added in v1.24.0
func (mr *MockImagesServiceMockRecorder) GetByID(id any) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockImagesServiceMockRecorder) GetBySlug ¶ added in v1.24.0
func (mr *MockImagesServiceMockRecorder) GetBySlug(slug any) *gomock.Call
GetBySlug indicates an expected call of GetBySlug.
func (*MockImagesServiceMockRecorder) List ¶ added in v1.24.0
func (mr *MockImagesServiceMockRecorder) List(public any) *gomock.Call
List indicates an expected call of List.
func (*MockImagesServiceMockRecorder) ListApplication ¶ added in v1.24.0
func (mr *MockImagesServiceMockRecorder) ListApplication(public any) *gomock.Call
ListApplication indicates an expected call of ListApplication.
func (*MockImagesServiceMockRecorder) ListDistribution ¶ added in v1.24.0
func (mr *MockImagesServiceMockRecorder) ListDistribution(public any) *gomock.Call
ListDistribution indicates an expected call of ListDistribution.
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 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockInvoicesServiceMockRecorder) GetCSV ¶ added in v1.39.0
func (mr *MockInvoicesServiceMockRecorder) GetCSV(arg0 any) *gomock.Call
GetCSV indicates an expected call of GetCSV.
func (*MockInvoicesServiceMockRecorder) GetPDF ¶ added in v1.39.0
func (mr *MockInvoicesServiceMockRecorder) GetPDF(arg0 any) *gomock.Call
GetPDF indicates an expected call of GetPDF.
func (*MockInvoicesServiceMockRecorder) GetSummary ¶ added in v1.39.0
func (mr *MockInvoicesServiceMockRecorder) GetSummary(arg0 any) *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 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockKeysServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockKeysServiceMockRecorder) Delete(id any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockKeysServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockKeysServiceMockRecorder) Get(id any) *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.
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 any) *gomock.Call
AddRegistry indicates an expected call of AddRegistry.
func (*MockKubernetesServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) Create(create any) *gomock.Call
Create indicates an expected call of Create.
func (*MockKubernetesServiceMockRecorder) CreateNodePool ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) CreateNodePool(clusterID, req any) *gomock.Call
CreateNodePool indicates an expected call of CreateNodePool.
func (*MockKubernetesServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) Delete(clusterID any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockKubernetesServiceMockRecorder) DeleteDangerous ¶ added in v1.56.0
func (mr *MockKubernetesServiceMockRecorder) DeleteDangerous(clusterID any) *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 any) *gomock.Call
DeleteNode indicates an expected call of DeleteNode.
func (*MockKubernetesServiceMockRecorder) DeleteNodePool ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) DeleteNodePool(clusterID, poolID any) *gomock.Call
DeleteNodePool indicates an expected call of DeleteNodePool.
func (*MockKubernetesServiceMockRecorder) DeleteSelective ¶ added in v1.56.0
func (mr *MockKubernetesServiceMockRecorder) DeleteSelective(clusterID, deleteReq any) *gomock.Call
DeleteSelective indicates an expected call of DeleteSelective.
func (*MockKubernetesServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) Get(clusterID any) *gomock.Call
Get indicates an expected call of Get.
func (*MockKubernetesServiceMockRecorder) GetCredentials ¶ added in v1.32.2
func (mr *MockKubernetesServiceMockRecorder) GetCredentials(clusterID any) *gomock.Call
GetCredentials indicates an expected call of GetCredentials.
func (*MockKubernetesServiceMockRecorder) GetKubeConfig ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) GetKubeConfig(clusterID any) *gomock.Call
GetKubeConfig indicates an expected call of GetKubeConfig.
func (*MockKubernetesServiceMockRecorder) GetKubeConfigWithExpiry ¶ added in v1.49.0
func (mr *MockKubernetesServiceMockRecorder) GetKubeConfigWithExpiry(clusterID, expirySeconds any) *gomock.Call
GetKubeConfigWithExpiry indicates an expected call of GetKubeConfigWithExpiry.
func (*MockKubernetesServiceMockRecorder) GetNodePool ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) GetNodePool(clusterID, poolID any) *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 any) *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 any) *gomock.Call
ListAssociatedResourcesForDeletion indicates an expected call of ListAssociatedResourcesForDeletion.
func (*MockKubernetesServiceMockRecorder) ListNodePools ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) ListNodePools(clusterID any) *gomock.Call
ListNodePools indicates an expected call of ListNodePools.
func (*MockKubernetesServiceMockRecorder) RecycleNodePoolNodes ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) RecycleNodePoolNodes(clusterID, poolID, req any) *gomock.Call
RecycleNodePoolNodes indicates an expected call of RecycleNodePoolNodes.
func (*MockKubernetesServiceMockRecorder) RemoveRegistry ¶ added in v1.49.0
func (mr *MockKubernetesServiceMockRecorder) RemoveRegistry(req any) *gomock.Call
RemoveRegistry indicates an expected call of RemoveRegistry.
func (*MockKubernetesServiceMockRecorder) Update ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) Update(clusterID, update any) *gomock.Call
Update indicates an expected call of Update.
func (*MockKubernetesServiceMockRecorder) UpdateNodePool ¶ added in v1.24.0
func (mr *MockKubernetesServiceMockRecorder) UpdateNodePool(clusterID, poolID, req any) *gomock.Call
UpdateNodePool indicates an expected call of UpdateNodePool.
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.
type MockListenerServiceMockRecorder ¶ added in v1.57.0
type MockListenerServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockListenerServiceMockRecorder is the mock recorder for MockListenerService.
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) PurgeCache ¶ added in v1.106.0
func (m *MockLoadBalancersService) PurgeCache(lbID string) error
PurgeCache 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 any, dIDs ...any) *gomock.Call
AddDroplets indicates an expected call of AddDroplets.
func (*MockLoadBalancersServiceMockRecorder) AddForwardingRules ¶ added in v1.24.0
func (mr *MockLoadBalancersServiceMockRecorder) AddForwardingRules(lbID any, rules ...any) *gomock.Call
AddForwardingRules indicates an expected call of AddForwardingRules.
func (*MockLoadBalancersServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockLoadBalancersServiceMockRecorder) Create(lbr any) *gomock.Call
Create indicates an expected call of Create.
func (*MockLoadBalancersServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockLoadBalancersServiceMockRecorder) Delete(lbID any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockLoadBalancersServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockLoadBalancersServiceMockRecorder) Get(lbID any) *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) PurgeCache ¶ added in v1.106.0
func (mr *MockLoadBalancersServiceMockRecorder) PurgeCache(lbID any) *gomock.Call
PurgeCache indicates an expected call of PurgeCache.
func (*MockLoadBalancersServiceMockRecorder) RemoveDroplets ¶ added in v1.24.0
func (mr *MockLoadBalancersServiceMockRecorder) RemoveDroplets(lbID any, dIDs ...any) *gomock.Call
RemoveDroplets indicates an expected call of RemoveDroplets.
func (*MockLoadBalancersServiceMockRecorder) RemoveForwardingRules ¶ added in v1.24.0
func (mr *MockLoadBalancersServiceMockRecorder) RemoveForwardingRules(lbID any, rules ...any) *gomock.Call
RemoveForwardingRules indicates an expected call of RemoveForwardingRules.
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 any) *gomock.Call
CreateAlertPolicy indicates an expected call of CreateAlertPolicy.
func (*MockMonitoringServiceMockRecorder) DeleteAlertPolicy ¶ added in v1.63.1
func (mr *MockMonitoringServiceMockRecorder) DeleteAlertPolicy(arg0 any) *gomock.Call
DeleteAlertPolicy indicates an expected call of DeleteAlertPolicy.
func (*MockMonitoringServiceMockRecorder) GetAlertPolicy ¶ added in v1.63.1
func (mr *MockMonitoringServiceMockRecorder) GetAlertPolicy(arg0 any) *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 any) *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.
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 any) *gomock.Call
InstallKubernetes indicates an expected call of InstallKubernetes.
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 any) *gomock.Call
AssignResources indicates an expected call of AssignResources.
func (*MockProjectsServiceMockRecorder) Create ¶ added in v1.24.0
func (mr *MockProjectsServiceMockRecorder) Create(arg0 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockProjectsServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockProjectsServiceMockRecorder) Delete(projectUUID any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockProjectsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockProjectsServiceMockRecorder) Get(projectUUID any) *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 any) *gomock.Call
ListResources indicates an expected call of ListResources.
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 any) *gomock.Call
CancelGarbageCollection indicates an expected call of CancelGarbageCollection.
func (*MockRegistryServiceMockRecorder) Create ¶ added in v1.34.0
func (mr *MockRegistryServiceMockRecorder) Create(arg0 any) *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 any) *gomock.Call
DeleteManifest indicates an expected call of DeleteManifest.
func (*MockRegistryServiceMockRecorder) DeleteTag ¶ added in v1.42.0
func (mr *MockRegistryServiceMockRecorder) DeleteTag(arg0, arg1, arg2 any) *gomock.Call
DeleteTag indicates an expected call of DeleteTag.
func (*MockRegistryServiceMockRecorder) DockerCredentials ¶ added in v1.34.0
func (mr *MockRegistryServiceMockRecorder) DockerCredentials(arg0 any) *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 any) *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 any) *gomock.Call
ListGarbageCollections indicates an expected call of ListGarbageCollections.
func (*MockRegistryServiceMockRecorder) ListRepositories ¶ added in v1.42.0
func (mr *MockRegistryServiceMockRecorder) ListRepositories(arg0 any) *gomock.Call
ListRepositories indicates an expected call of ListRepositories.
func (*MockRegistryServiceMockRecorder) ListRepositoriesV2 ¶ added in v1.68.0
func (mr *MockRegistryServiceMockRecorder) ListRepositoriesV2(arg0 any) *gomock.Call
ListRepositoriesV2 indicates an expected call of ListRepositoriesV2.
func (*MockRegistryServiceMockRecorder) ListRepositoryManifests ¶ added in v1.68.0
func (mr *MockRegistryServiceMockRecorder) ListRepositoryManifests(arg0, arg1 any) *gomock.Call
ListRepositoryManifests indicates an expected call of ListRepositoryManifests.
func (*MockRegistryServiceMockRecorder) ListRepositoryTags ¶ added in v1.42.0
func (mr *MockRegistryServiceMockRecorder) ListRepositoryTags(arg0, arg1 any) *gomock.Call
ListRepositoryTags indicates an expected call of ListRepositoryTags.
func (*MockRegistryServiceMockRecorder) RevokeOAuthToken ¶ added in v1.68.0
func (mr *MockRegistryServiceMockRecorder) RevokeOAuthToken(token, endpoint any) *gomock.Call
RevokeOAuthToken indicates an expected call of RevokeOAuthToken.
func (*MockRegistryServiceMockRecorder) StartGarbageCollection ¶ added in v1.50.0
func (mr *MockRegistryServiceMockRecorder) StartGarbageCollection(arg0, arg1 any) *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 any) *gomock.Call
Assign indicates an expected call of Assign.
func (*MockReservedIPActionsServiceMockRecorder) Get ¶ added in v1.77.0
func (mr *MockReservedIPActionsServiceMockRecorder) Get(ip, actionID any) *gomock.Call
Get indicates an expected call of Get.
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 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockReservedIPsServiceMockRecorder) Delete ¶ added in v1.77.0
func (mr *MockReservedIPsServiceMockRecorder) Delete(ip any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockReservedIPsServiceMockRecorder) Get ¶ added in v1.77.0
func (mr *MockReservedIPsServiceMockRecorder) Get(ip any) *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 MockReservedIPv6sService ¶ added in v1.120.0
type MockReservedIPv6sService struct {
// contains filtered or unexported fields
}
MockReservedIPv6sService is a mock of ReservedIPv6sService interface.
func NewMockReservedIPv6sService ¶ added in v1.120.0
func NewMockReservedIPv6sService(ctrl *gomock.Controller) *MockReservedIPv6sService
NewMockReservedIPv6sService creates a new mock instance.
func (*MockReservedIPv6sService) Create ¶ added in v1.120.0
func (m *MockReservedIPv6sService) Create(ficr *godo.ReservedIPV6CreateRequest) (*do.ReservedIPv6, error)
Create mocks base method.
func (*MockReservedIPv6sService) Delete ¶ added in v1.120.0
func (m *MockReservedIPv6sService) Delete(ip string) error
Delete mocks base method.
func (*MockReservedIPv6sService) EXPECT ¶ added in v1.120.0
func (m *MockReservedIPv6sService) EXPECT() *MockReservedIPv6sServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockReservedIPv6sService) Get ¶ added in v1.120.0
func (m *MockReservedIPv6sService) Get(ip string) (*do.ReservedIPv6, error)
Get mocks base method.
func (*MockReservedIPv6sService) List ¶ added in v1.120.0
func (m *MockReservedIPv6sService) List() (do.ReservedIPv6s, error)
List mocks base method.
type MockReservedIPv6sServiceMockRecorder ¶ added in v1.120.0
type MockReservedIPv6sServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockReservedIPv6sServiceMockRecorder is the mock recorder for MockReservedIPv6sService.
func (*MockReservedIPv6sServiceMockRecorder) Assign ¶ added in v1.120.0
func (mr *MockReservedIPv6sServiceMockRecorder) Assign(ip, dropletID any) *gomock.Call
Assign indicates an expected call of Assign.
func (*MockReservedIPv6sServiceMockRecorder) Create ¶ added in v1.120.0
func (mr *MockReservedIPv6sServiceMockRecorder) Create(ficr any) *gomock.Call
Create indicates an expected call of Create.
func (*MockReservedIPv6sServiceMockRecorder) Delete ¶ added in v1.120.0
func (mr *MockReservedIPv6sServiceMockRecorder) Delete(ip any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockReservedIPv6sServiceMockRecorder) Get ¶ added in v1.120.0
func (mr *MockReservedIPv6sServiceMockRecorder) Get(ip any) *gomock.Call
Get indicates an expected call of Get.
func (*MockReservedIPv6sServiceMockRecorder) List ¶ added in v1.120.0
func (mr *MockReservedIPv6sServiceMockRecorder) 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
InvokeFunction mocks base method.
func (*MockServerlessService) InvokeFunctionViaWeb ¶ added in v1.82.0
func (m *MockServerlessService) InvokeFunctionViaWeb(arg0 string, arg1 any) 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 any) *gomock.Call
Cmd indicates an expected call of Cmd.
func (*MockServerlessServiceMockRecorder) CreateNamespace ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) CreateNamespace(arg0, arg1, arg2 any) *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 any) *gomock.Call
DeleteFunction indicates an expected call of DeleteFunction.
func (*MockServerlessServiceMockRecorder) DeleteNamespace ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) DeleteNamespace(arg0, arg1 any) *gomock.Call
DeleteNamespace indicates an expected call of DeleteNamespace.
func (*MockServerlessServiceMockRecorder) DeletePackage ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) DeletePackage(arg0, arg1 any) *gomock.Call
DeletePackage indicates an expected call of DeletePackage.
func (*MockServerlessServiceMockRecorder) DeleteTrigger ¶ added in v1.82.0
func (mr *MockServerlessServiceMockRecorder) DeleteTrigger(arg0, arg1 any) *gomock.Call
DeleteTrigger indicates an expected call of DeleteTrigger.
func (*MockServerlessServiceMockRecorder) Exec ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) Exec(arg0 any) *gomock.Call
Exec indicates an expected call of Exec.
func (*MockServerlessServiceMockRecorder) GetActivation ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) GetActivation(arg0 any) *gomock.Call
GetActivation indicates an expected call of GetActivation.
func (*MockServerlessServiceMockRecorder) GetActivationCount ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) GetActivationCount(arg0 any) *gomock.Call
GetActivationCount indicates an expected call of GetActivationCount.
func (*MockServerlessServiceMockRecorder) GetActivationLogs ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) GetActivationLogs(arg0 any) *gomock.Call
GetActivationLogs indicates an expected call of GetActivationLogs.
func (*MockServerlessServiceMockRecorder) GetActivationResult ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) GetActivationResult(arg0 any) *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 any) *gomock.Call
GetFunction indicates an expected call of GetFunction.
func (*MockServerlessServiceMockRecorder) GetHostInfo ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) GetHostInfo(arg0 any) *gomock.Call
GetHostInfo indicates an expected call of GetHostInfo.
func (*MockServerlessServiceMockRecorder) GetNamespace ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) GetNamespace(arg0, arg1 any) *gomock.Call
GetNamespace indicates an expected call of GetNamespace.
func (*MockServerlessServiceMockRecorder) GetNamespaceFromCluster ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) GetNamespaceFromCluster(arg0, arg1 any) *gomock.Call
GetNamespaceFromCluster indicates an expected call of GetNamespaceFromCluster.
func (*MockServerlessServiceMockRecorder) GetServerlessNamespace ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) GetServerlessNamespace(arg0 any) *gomock.Call
GetServerlessNamespace indicates an expected call of GetServerlessNamespace.
func (*MockServerlessServiceMockRecorder) GetTrigger ¶ added in v1.82.0
func (mr *MockServerlessServiceMockRecorder) GetTrigger(arg0, arg1 any) *gomock.Call
GetTrigger indicates an expected call of GetTrigger.
func (*MockServerlessServiceMockRecorder) InstallServerless ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) InstallServerless(arg0, arg1 any) *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 any) *gomock.Call
InvokeFunction indicates an expected call of InvokeFunction.
func (*MockServerlessServiceMockRecorder) InvokeFunctionViaWeb ¶ added in v1.82.0
func (mr *MockServerlessServiceMockRecorder) InvokeFunctionViaWeb(arg0, arg1 any) *gomock.Call
InvokeFunctionViaWeb indicates an expected call of InvokeFunctionViaWeb.
func (*MockServerlessServiceMockRecorder) ListActivations ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) ListActivations(arg0 any) *gomock.Call
ListActivations indicates an expected call of ListActivations.
func (*MockServerlessServiceMockRecorder) ListFunctions ¶ added in v1.85.0
func (mr *MockServerlessServiceMockRecorder) ListFunctions(arg0, arg1, arg2 any) *gomock.Call
ListFunctions indicates an expected call of ListFunctions.
func (*MockServerlessServiceMockRecorder) ListNamespaces ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) ListNamespaces(arg0 any) *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 any) *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 any) *gomock.Call
ReadProject indicates an expected call of ReadProject.
func (*MockServerlessServiceMockRecorder) SetEffectiveCredentials ¶ added in v1.86.0
func (mr *MockServerlessServiceMockRecorder) SetEffectiveCredentials(auth, apihost any) *gomock.Call
SetEffectiveCredentials indicates an expected call of SetEffectiveCredentials.
func (*MockServerlessServiceMockRecorder) Stream ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) Stream(arg0 any) *gomock.Call
Stream indicates an expected call of Stream.
func (*MockServerlessServiceMockRecorder) UpdateTrigger ¶ added in v1.89.0
func (mr *MockServerlessServiceMockRecorder) UpdateTrigger(arg0, arg1, arg2 any) *gomock.Call
UpdateTrigger indicates an expected call of UpdateTrigger.
func (*MockServerlessServiceMockRecorder) WriteCredentials ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) WriteCredentials(arg0 any) *gomock.Call
WriteCredentials indicates an expected call of WriteCredentials.
func (*MockServerlessServiceMockRecorder) WriteProject ¶ added in v1.80.0
func (mr *MockServerlessServiceMockRecorder) WriteProject(arg0 any) *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 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockSnapshotsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockSnapshotsServiceMockRecorder) Get(arg0 any) *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 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockTagsServiceMockRecorder) Delete ¶ added in v1.24.0
func (mr *MockTagsServiceMockRecorder) Delete(arg0 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockTagsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockTagsServiceMockRecorder) Get(arg0 any) *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 any) *gomock.Call
TagResources indicates an expected call of TagResources.
func (*MockTagsServiceMockRecorder) UntagResources ¶ added in v1.24.0
func (mr *MockTagsServiceMockRecorder) UntagResources(arg0, arg1 any) *gomock.Call
UntagResources indicates an expected call of UntagResources.
type MockTerminal ¶ added in v1.118.0
type MockTerminal struct {
// contains filtered or unexported fields
}
MockTerminal is a mock of Terminal interface.
func NewMockTerminal ¶ added in v1.118.0
func NewMockTerminal(ctrl *gomock.Controller) *MockTerminal
NewMockTerminal creates a new mock instance.
func (*MockTerminal) EXPECT ¶ added in v1.118.0
func (m *MockTerminal) EXPECT() *MockTerminalMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTerminal) MonitorResizeEvents ¶ added in v1.118.0
func (m *MockTerminal) MonitorResizeEvents(ctx context.Context, resizeEvents chan<- terminal.TerminalSize) error
MonitorResizeEvents mocks base method.
func (*MockTerminal) ReadRawStdin ¶ added in v1.118.0
func (m *MockTerminal) ReadRawStdin(ctx context.Context, stdinCh chan<- string) (func(), error)
ReadRawStdin mocks base method.
type MockTerminalMockRecorder ¶ added in v1.118.0
type MockTerminalMockRecorder struct {
// contains filtered or unexported fields
}
MockTerminalMockRecorder is the mock recorder for MockTerminal.
func (*MockTerminalMockRecorder) MonitorResizeEvents ¶ added in v1.118.0
func (mr *MockTerminalMockRecorder) MonitorResizeEvents(ctx, resizeEvents any) *gomock.Call
MonitorResizeEvents indicates an expected call of MonitorResizeEvents.
func (*MockTerminalMockRecorder) ReadRawStdin ¶ added in v1.118.0
func (mr *MockTerminalMockRecorder) ReadRawStdin(ctx, stdinCh any) *gomock.Call
ReadRawStdin indicates an expected call of ReadRawStdin.
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) CreateAlert ¶ added in v1.100.0
func (m *MockUptimeChecksService) CreateAlert(arg0 string, arg1 *godo.CreateUptimeAlertRequest) (*do.UptimeAlert, error)
CreateAlert mocks base method.
func (*MockUptimeChecksService) Delete ¶ added in v1.97.0
func (m *MockUptimeChecksService) Delete(arg0 string) error
Delete mocks base method.
func (*MockUptimeChecksService) DeleteAlert ¶ added in v1.100.0
func (m *MockUptimeChecksService) DeleteAlert(arg0, arg1 string) error
DeleteAlert 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) GetAlert ¶ added in v1.100.0
func (m *MockUptimeChecksService) GetAlert(arg0, arg1 string) (*do.UptimeAlert, error)
GetAlert 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) ListAlerts ¶ added in v1.100.0
func (m *MockUptimeChecksService) ListAlerts(arg0 string) ([]do.UptimeAlert, error)
ListAlerts 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.
func (*MockUptimeChecksService) UpdateAlert ¶ added in v1.100.0
func (m *MockUptimeChecksService) UpdateAlert(arg0, arg1 string, arg2 *godo.UpdateUptimeAlertRequest) (*do.UptimeAlert, error)
UpdateAlert 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 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockUptimeChecksServiceMockRecorder) CreateAlert ¶ added in v1.100.0
func (mr *MockUptimeChecksServiceMockRecorder) CreateAlert(arg0, arg1 any) *gomock.Call
CreateAlert indicates an expected call of CreateAlert.
func (*MockUptimeChecksServiceMockRecorder) Delete ¶ added in v1.97.0
func (mr *MockUptimeChecksServiceMockRecorder) Delete(arg0 any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockUptimeChecksServiceMockRecorder) DeleteAlert ¶ added in v1.100.0
func (mr *MockUptimeChecksServiceMockRecorder) DeleteAlert(arg0, arg1 any) *gomock.Call
DeleteAlert indicates an expected call of DeleteAlert.
func (*MockUptimeChecksServiceMockRecorder) Get ¶ added in v1.97.0
func (mr *MockUptimeChecksServiceMockRecorder) Get(arg0 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockUptimeChecksServiceMockRecorder) GetAlert ¶ added in v1.100.0
func (mr *MockUptimeChecksServiceMockRecorder) GetAlert(arg0, arg1 any) *gomock.Call
GetAlert indicates an expected call of GetAlert.
func (*MockUptimeChecksServiceMockRecorder) GetState ¶ added in v1.97.0
func (mr *MockUptimeChecksServiceMockRecorder) GetState(arg0 any) *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) ListAlerts ¶ added in v1.100.0
func (mr *MockUptimeChecksServiceMockRecorder) ListAlerts(arg0 any) *gomock.Call
ListAlerts indicates an expected call of ListAlerts.
func (*MockUptimeChecksServiceMockRecorder) Update ¶ added in v1.97.0
func (mr *MockUptimeChecksServiceMockRecorder) Update(arg0, arg1 any) *gomock.Call
Update indicates an expected call of Update.
func (*MockUptimeChecksServiceMockRecorder) UpdateAlert ¶ added in v1.100.0
func (mr *MockUptimeChecksServiceMockRecorder) UpdateAlert(arg0, arg1, arg2 any) *gomock.Call
UpdateAlert indicates an expected call of UpdateAlert.
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) CreateVPCPeering ¶ added in v1.107.0
func (m *MockVPCsService) CreateVPCPeering(req *godo.VPCPeeringCreateRequest) (*do.VPCPeering, error)
CreateVPCPeering mocks base method.
func (*MockVPCsService) Delete ¶ added in v1.40.0
func (m *MockVPCsService) Delete(vpcUUID string) error
Delete mocks base method.
func (*MockVPCsService) DeleteVPCPeering ¶ added in v1.107.0
func (m *MockVPCsService) DeleteVPCPeering(peeringID string) error
DeleteVPCPeering 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) GetPeering ¶ added in v1.107.0
func (m *MockVPCsService) GetPeering(peeringID string) (*do.VPCPeering, error)
GetPeering mocks base method.
func (*MockVPCsService) List ¶ added in v1.40.0
func (m *MockVPCsService) List() (do.VPCs, error)
List mocks base method.
func (*MockVPCsService) ListVPCPeerings ¶ added in v1.107.0
func (m *MockVPCsService) ListVPCPeerings() (do.VPCPeerings, error)
ListVPCPeerings mocks base method.
func (*MockVPCsService) ListVPCPeeringsByVPCID ¶ added in v1.107.0
func (m *MockVPCsService) ListVPCPeeringsByVPCID(vpcID string) (do.VPCPeerings, error)
ListVPCPeeringsByVPCID 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.
func (*MockVPCsService) UpdateVPCPeering ¶ added in v1.107.0
func (m *MockVPCsService) UpdateVPCPeering(peeringID string, req *godo.VPCPeeringUpdateRequest) (*do.VPCPeering, error)
UpdateVPCPeering 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 any) *gomock.Call
Create indicates an expected call of Create.
func (*MockVPCsServiceMockRecorder) CreateVPCPeering ¶ added in v1.107.0
func (mr *MockVPCsServiceMockRecorder) CreateVPCPeering(req any) *gomock.Call
CreateVPCPeering indicates an expected call of CreateVPCPeering.
func (*MockVPCsServiceMockRecorder) Delete ¶ added in v1.40.0
func (mr *MockVPCsServiceMockRecorder) Delete(vpcUUID any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockVPCsServiceMockRecorder) DeleteVPCPeering ¶ added in v1.107.0
func (mr *MockVPCsServiceMockRecorder) DeleteVPCPeering(peeringID any) *gomock.Call
DeleteVPCPeering indicates an expected call of DeleteVPCPeering.
func (*MockVPCsServiceMockRecorder) Get ¶ added in v1.40.0
func (mr *MockVPCsServiceMockRecorder) Get(vpcUUID any) *gomock.Call
Get indicates an expected call of Get.
func (*MockVPCsServiceMockRecorder) GetPeering ¶ added in v1.107.0
func (mr *MockVPCsServiceMockRecorder) GetPeering(peeringID any) *gomock.Call
GetPeering indicates an expected call of GetPeering.
func (*MockVPCsServiceMockRecorder) List ¶ added in v1.40.0
func (mr *MockVPCsServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*MockVPCsServiceMockRecorder) ListVPCPeerings ¶ added in v1.107.0
func (mr *MockVPCsServiceMockRecorder) ListVPCPeerings() *gomock.Call
ListVPCPeerings indicates an expected call of ListVPCPeerings.
func (*MockVPCsServiceMockRecorder) ListVPCPeeringsByVPCID ¶ added in v1.107.0
func (mr *MockVPCsServiceMockRecorder) ListVPCPeeringsByVPCID(vpcID any) *gomock.Call
ListVPCPeeringsByVPCID indicates an expected call of ListVPCPeeringsByVPCID.
func (*MockVPCsServiceMockRecorder) PartialUpdate ¶ added in v1.50.0
func (mr *MockVPCsServiceMockRecorder) PartialUpdate(vpcUUID any, options ...any) *gomock.Call
PartialUpdate indicates an expected call of PartialUpdate.
func (*MockVPCsServiceMockRecorder) Update ¶ added in v1.40.0
func (mr *MockVPCsServiceMockRecorder) Update(vpcUUID, vpcr any) *gomock.Call
Update indicates an expected call of Update.
func (*MockVPCsServiceMockRecorder) UpdateVPCPeering ¶ added in v1.107.0
func (mr *MockVPCsServiceMockRecorder) UpdateVPCPeering(peeringID, req any) *gomock.Call
UpdateVPCPeering indicates an expected call of UpdateVPCPeering.
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 any) *gomock.Call
Attach indicates an expected call of Attach.
func (*MockVolumeActionsServiceMockRecorder) Detach ¶ added in v1.24.0
func (mr *MockVolumeActionsServiceMockRecorder) Detach(arg0, arg1 any) *gomock.Call
Detach indicates an expected call of Detach.
func (*MockVolumeActionsServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockVolumeActionsServiceMockRecorder) Get(arg0, arg1 any) *gomock.Call
Get indicates an expected call of Get.
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 any) *gomock.Call
CreateSnapshot indicates an expected call of CreateSnapshot.
func (*MockVolumesServiceMockRecorder) CreateVolume ¶ added in v1.24.0
func (mr *MockVolumesServiceMockRecorder) CreateVolume(arg0 any) *gomock.Call
CreateVolume indicates an expected call of CreateVolume.
func (*MockVolumesServiceMockRecorder) DeleteSnapshot ¶ added in v1.24.0
func (mr *MockVolumesServiceMockRecorder) DeleteSnapshot(arg0 any) *gomock.Call
DeleteSnapshot indicates an expected call of DeleteSnapshot.
func (*MockVolumesServiceMockRecorder) DeleteVolume ¶ added in v1.24.0
func (mr *MockVolumesServiceMockRecorder) DeleteVolume(arg0 any) *gomock.Call
DeleteVolume indicates an expected call of DeleteVolume.
func (*MockVolumesServiceMockRecorder) Get ¶ added in v1.24.0
func (mr *MockVolumesServiceMockRecorder) Get(arg0 any) *gomock.Call
Get indicates an expected call of Get.
func (*MockVolumesServiceMockRecorder) GetSnapshot ¶ added in v1.24.0
func (mr *MockVolumesServiceMockRecorder) GetSnapshot(arg0 any) *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 any) *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
- DropletAutoscaleService.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
- ReservedIPv6sService.go
- Runner.go
- ServerlessService.go
- SizesService.go
- SnapshotsService.go
- TagsService.go
- Terminal.go
- UptimeChecksService.go
- VPCsService.go
- VolumeActionsService.go
- VolumesService.go