Documentation ¶
Overview ¶
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Package mock_resources is a generated GoMock package.
Index ¶
- type MockBackupsService
- func (m *MockBackupsService) EXPECT() *MockBackupsServiceMockRecorder
- func (m *MockBackupsService) Get(backupId string) (*resources.BackupResponse, *resources.Response, error)
- func (m *MockBackupsService) List() (resources.ClusterBackupList, *resources.Response, error)
- func (m *MockBackupsService) ListBackups(clusterId string) (resources.ClusterBackupList, *resources.Response, error)
- type MockBackupsServiceMockRecorder
- type MockClustersService
- func (m *MockClustersService) Create(input resources.CreateClusterRequest) (*resources.ClusterResponse, *resources.Response, error)
- func (m *MockClustersService) Delete(clusterId string) (*resources.Response, error)
- func (m *MockClustersService) EXPECT() *MockClustersServiceMockRecorder
- func (m *MockClustersService) Get(clusterId string) (*resources.ClusterResponse, *resources.Response, error)
- func (m *MockClustersService) List(filterName string) (resources.ClusterList, *resources.Response, error)
- func (m *MockClustersService) Update(clusterId string, input resources.PatchClusterRequest) (*resources.ClusterResponse, *resources.Response, error)
- type MockClustersServiceMockRecorder
- func (mr *MockClustersServiceMockRecorder) Create(input interface{}) *gomock.Call
- func (mr *MockClustersServiceMockRecorder) Delete(clusterId interface{}) *gomock.Call
- func (mr *MockClustersServiceMockRecorder) Get(clusterId interface{}) *gomock.Call
- func (mr *MockClustersServiceMockRecorder) List(filterName interface{}) *gomock.Call
- func (mr *MockClustersServiceMockRecorder) Update(clusterId, input interface{}) *gomock.Call
- type MockInfosService
- type MockInfosServiceMockRecorder
- type MockLogsService
- type MockLogsServiceMockRecorder
- type MockRestoresService
- type MockRestoresServiceMockRecorder
- type MockVersionsService
- type MockVersionsServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBackupsService ¶
type MockBackupsService struct {
// contains filtered or unexported fields
}
MockBackupsService is a mock of BackupsService interface.
func NewMockBackupsService ¶
func NewMockBackupsService(ctrl *gomock.Controller) *MockBackupsService
NewMockBackupsService creates a new mock instance.
func (*MockBackupsService) EXPECT ¶
func (m *MockBackupsService) EXPECT() *MockBackupsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBackupsService) Get ¶
func (m *MockBackupsService) Get(backupId string) (*resources.BackupResponse, *resources.Response, error)
Get mocks base method.
func (*MockBackupsService) List ¶
func (m *MockBackupsService) List() (resources.ClusterBackupList, *resources.Response, error)
List mocks base method.
func (*MockBackupsService) ListBackups ¶
func (m *MockBackupsService) ListBackups(clusterId string) (resources.ClusterBackupList, *resources.Response, error)
ListBackups mocks base method.
type MockBackupsServiceMockRecorder ¶
type MockBackupsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockBackupsServiceMockRecorder is the mock recorder for MockBackupsService.
func (*MockBackupsServiceMockRecorder) Get ¶
func (mr *MockBackupsServiceMockRecorder) Get(backupId interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockBackupsServiceMockRecorder) List ¶
func (mr *MockBackupsServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List.
func (*MockBackupsServiceMockRecorder) ListBackups ¶
func (mr *MockBackupsServiceMockRecorder) ListBackups(clusterId interface{}) *gomock.Call
ListBackups indicates an expected call of ListBackups.
type MockClustersService ¶
type MockClustersService struct {
// contains filtered or unexported fields
}
MockClustersService is a mock of ClustersService interface.
func NewMockClustersService ¶
func NewMockClustersService(ctrl *gomock.Controller) *MockClustersService
NewMockClustersService creates a new mock instance.
func (*MockClustersService) Create ¶
func (m *MockClustersService) Create(input resources.CreateClusterRequest) (*resources.ClusterResponse, *resources.Response, error)
Create mocks base method.
func (*MockClustersService) Delete ¶
func (m *MockClustersService) Delete(clusterId string) (*resources.Response, error)
Delete mocks base method.
func (*MockClustersService) EXPECT ¶
func (m *MockClustersService) EXPECT() *MockClustersServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClustersService) Get ¶
func (m *MockClustersService) Get(clusterId string) (*resources.ClusterResponse, *resources.Response, error)
Get mocks base method.
func (*MockClustersService) List ¶
func (m *MockClustersService) List(filterName string) (resources.ClusterList, *resources.Response, error)
List mocks base method.
func (*MockClustersService) Update ¶
func (m *MockClustersService) Update(clusterId string, input resources.PatchClusterRequest) (*resources.ClusterResponse, *resources.Response, error)
Update mocks base method.
type MockClustersServiceMockRecorder ¶
type MockClustersServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockClustersServiceMockRecorder is the mock recorder for MockClustersService.
func (*MockClustersServiceMockRecorder) Create ¶
func (mr *MockClustersServiceMockRecorder) Create(input interface{}) *gomock.Call
Create indicates an expected call of Create.
func (*MockClustersServiceMockRecorder) Delete ¶
func (mr *MockClustersServiceMockRecorder) Delete(clusterId interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockClustersServiceMockRecorder) Get ¶
func (mr *MockClustersServiceMockRecorder) Get(clusterId interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockClustersServiceMockRecorder) List ¶
func (mr *MockClustersServiceMockRecorder) List(filterName interface{}) *gomock.Call
List indicates an expected call of List.
func (*MockClustersServiceMockRecorder) Update ¶
func (mr *MockClustersServiceMockRecorder) Update(clusterId, input interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockInfosService ¶
type MockInfosService struct {
// contains filtered or unexported fields
}
MockInfosService is a mock of InfosService interface.
func NewMockInfosService ¶
func NewMockInfosService(ctrl *gomock.Controller) *MockInfosService
NewMockInfosService creates a new mock instance.
func (*MockInfosService) EXPECT ¶
func (m *MockInfosService) EXPECT() *MockInfosServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInfosService) Get ¶
func (m *MockInfosService) Get() (resources.APIVersion, *resources.Response, error)
Get mocks base method.
func (*MockInfosService) List ¶
func (m *MockInfosService) List() (resources.APIVersionList, *resources.Response, error)
List mocks base method.
type MockInfosServiceMockRecorder ¶
type MockInfosServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockInfosServiceMockRecorder is the mock recorder for MockInfosService.
func (*MockInfosServiceMockRecorder) Get ¶
func (mr *MockInfosServiceMockRecorder) Get() *gomock.Call
Get indicates an expected call of Get.
func (*MockInfosServiceMockRecorder) List ¶
func (mr *MockInfosServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List.
type MockLogsService ¶
type MockLogsService struct {
// contains filtered or unexported fields
}
MockLogsService is a mock of LogsService interface.
func NewMockLogsService ¶
func NewMockLogsService(ctrl *gomock.Controller) *MockLogsService
NewMockLogsService creates a new mock instance.
func (*MockLogsService) EXPECT ¶
func (m *MockLogsService) EXPECT() *MockLogsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockLogsService) Get ¶
func (m *MockLogsService) Get(clusterId string, queryParams *resources.LogsQueryParams) (*resources.ClusterLogs, *resources.Response, error)
Get mocks base method.
type MockLogsServiceMockRecorder ¶
type MockLogsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockLogsServiceMockRecorder is the mock recorder for MockLogsService.
func (*MockLogsServiceMockRecorder) Get ¶
func (mr *MockLogsServiceMockRecorder) Get(clusterId, queryParams interface{}) *gomock.Call
Get indicates an expected call of Get.
type MockRestoresService ¶
type MockRestoresService struct {
// contains filtered or unexported fields
}
MockRestoresService is a mock of RestoresService interface.
func NewMockRestoresService ¶
func NewMockRestoresService(ctrl *gomock.Controller) *MockRestoresService
NewMockRestoresService creates a new mock instance.
func (*MockRestoresService) EXPECT ¶
func (m *MockRestoresService) EXPECT() *MockRestoresServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRestoresService) Restore ¶
func (m *MockRestoresService) Restore(clusterId string, input resources.CreateRestoreRequest) (*resources.Response, error)
Restore mocks base method.
type MockRestoresServiceMockRecorder ¶
type MockRestoresServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRestoresServiceMockRecorder is the mock recorder for MockRestoresService.
func (*MockRestoresServiceMockRecorder) Restore ¶
func (mr *MockRestoresServiceMockRecorder) Restore(clusterId, input interface{}) *gomock.Call
Restore indicates an expected call of Restore.
type MockVersionsService ¶
type MockVersionsService struct {
// contains filtered or unexported fields
}
MockVersionsService is a mock of VersionsService interface.
func NewMockVersionsService ¶
func NewMockVersionsService(ctrl *gomock.Controller) *MockVersionsService
NewMockVersionsService creates a new mock instance.
func (*MockVersionsService) EXPECT ¶
func (m *MockVersionsService) EXPECT() *MockVersionsServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockVersionsService) Get ¶
func (m *MockVersionsService) Get(clusterId string) (resources.PostgresVersionList, *resources.Response, error)
Get mocks base method.
func (*MockVersionsService) List ¶
func (m *MockVersionsService) List() (resources.PostgresVersionList, *resources.Response, error)
List mocks base method.
type MockVersionsServiceMockRecorder ¶
type MockVersionsServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockVersionsServiceMockRecorder is the mock recorder for MockVersionsService.
func (*MockVersionsServiceMockRecorder) Get ¶
func (mr *MockVersionsServiceMockRecorder) Get(clusterId interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockVersionsServiceMockRecorder) List ¶
func (mr *MockVersionsServiceMockRecorder) List() *gomock.Call
List indicates an expected call of List.