Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockBundleService
- func (m *MockBundleService) CheckPermission(arg0 *apistructs.PermissionCheckRequest) (*apistructs.PermissionCheckResponseData, error)
- func (m *MockBundleService) EXPECT() *MockBundleServiceMockRecorder
- func (m *MockBundleService) GetApp(arg0 uint64) (*apistructs.ApplicationDTO, error)
- func (m *MockBundleService) GetCluster(arg0 string) (*apistructs.ClusterInfo, error)
- func (m *MockBundleService) InspectServiceGroupWithTimeout(arg0, arg1 string) (*apistructs.ServiceGroup, error)
- type MockBundleServiceMockRecorder
- func (mr *MockBundleServiceMockRecorder) CheckPermission(arg0 interface{}) *gomock.Call
- func (mr *MockBundleServiceMockRecorder) GetApp(arg0 interface{}) *gomock.Call
- func (mr *MockBundleServiceMockRecorder) GetCluster(arg0 interface{}) *gomock.Call
- func (mr *MockBundleServiceMockRecorder) InspectServiceGroupWithTimeout(arg0, arg1 interface{}) *gomock.Call
- type MockDBService
- func (m *MockDBService) EXPECT() *MockDBServiceMockRecorder
- func (m *MockDBService) FindDomainsByRuntimeId(arg0 uint64) ([]dbclient.RuntimeDomain, error)
- func (m *MockDBService) FindLastDeployment(arg0 uint64) (*dbclient.Deployment, error)
- func (m *MockDBService) FindRuntime(arg0 spec.RuntimeUniqueId) (*dbclient.Runtime, error)
- func (m *MockDBService) GetRuntime(arg0 uint64) (*dbclient.Runtime, error)
- func (m *MockDBService) GetRuntimeAllowNil(arg0 uint64) (*dbclient.Runtime, error)
- func (m *MockDBService) UpdateRuntime(arg0 *dbclient.Runtime) error
- type MockDBServiceMockRecorder
- func (mr *MockDBServiceMockRecorder) FindDomainsByRuntimeId(arg0 interface{}) *gomock.Call
- func (mr *MockDBServiceMockRecorder) FindLastDeployment(arg0 interface{}) *gomock.Call
- func (mr *MockDBServiceMockRecorder) FindRuntime(arg0 interface{}) *gomock.Call
- func (mr *MockDBServiceMockRecorder) GetRuntime(arg0 interface{}) *gomock.Call
- func (mr *MockDBServiceMockRecorder) GetRuntimeAllowNil(arg0 interface{}) *gomock.Call
- func (mr *MockDBServiceMockRecorder) UpdateRuntime(arg0 interface{}) *gomock.Call
- type MockEventManagerService
- type MockEventManagerServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBundleService ¶
type MockBundleService struct {
// contains filtered or unexported fields
}
MockBundleService is a mock of BundleService interface.
func NewMockBundleService ¶
func NewMockBundleService(ctrl *gomock.Controller) *MockBundleService
NewMockBundleService creates a new mock instance.
func (*MockBundleService) CheckPermission ¶
func (m *MockBundleService) CheckPermission(arg0 *apistructs.PermissionCheckRequest) (*apistructs.PermissionCheckResponseData, error)
CheckPermission mocks base method.
func (*MockBundleService) EXPECT ¶
func (m *MockBundleService) EXPECT() *MockBundleServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockBundleService) GetApp ¶
func (m *MockBundleService) GetApp(arg0 uint64) (*apistructs.ApplicationDTO, error)
GetApp mocks base method.
func (*MockBundleService) GetCluster ¶
func (m *MockBundleService) GetCluster(arg0 string) (*apistructs.ClusterInfo, error)
GetCluster mocks base method.
func (*MockBundleService) InspectServiceGroupWithTimeout ¶
func (m *MockBundleService) InspectServiceGroupWithTimeout(arg0, arg1 string) (*apistructs.ServiceGroup, error)
InspectServiceGroupWithTimeout mocks base method.
type MockBundleServiceMockRecorder ¶
type MockBundleServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockBundleServiceMockRecorder is the mock recorder for MockBundleService.
func (*MockBundleServiceMockRecorder) CheckPermission ¶
func (mr *MockBundleServiceMockRecorder) CheckPermission(arg0 interface{}) *gomock.Call
CheckPermission indicates an expected call of CheckPermission.
func (*MockBundleServiceMockRecorder) GetApp ¶
func (mr *MockBundleServiceMockRecorder) GetApp(arg0 interface{}) *gomock.Call
GetApp indicates an expected call of GetApp.
func (*MockBundleServiceMockRecorder) GetCluster ¶
func (mr *MockBundleServiceMockRecorder) GetCluster(arg0 interface{}) *gomock.Call
GetCluster indicates an expected call of GetCluster.
func (*MockBundleServiceMockRecorder) InspectServiceGroupWithTimeout ¶
func (mr *MockBundleServiceMockRecorder) InspectServiceGroupWithTimeout(arg0, arg1 interface{}) *gomock.Call
InspectServiceGroupWithTimeout indicates an expected call of InspectServiceGroupWithTimeout.
type MockDBService ¶
type MockDBService struct {
// contains filtered or unexported fields
}
MockDBService is a mock of DBService interface.
func NewMockDBService ¶
func NewMockDBService(ctrl *gomock.Controller) *MockDBService
NewMockDBService creates a new mock instance.
func (*MockDBService) EXPECT ¶
func (m *MockDBService) EXPECT() *MockDBServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDBService) FindDomainsByRuntimeId ¶
func (m *MockDBService) FindDomainsByRuntimeId(arg0 uint64) ([]dbclient.RuntimeDomain, error)
FindDomainsByRuntimeId mocks base method.
func (*MockDBService) FindLastDeployment ¶
func (m *MockDBService) FindLastDeployment(arg0 uint64) (*dbclient.Deployment, error)
FindLastDeployment mocks base method.
func (*MockDBService) FindRuntime ¶
func (m *MockDBService) FindRuntime(arg0 spec.RuntimeUniqueId) (*dbclient.Runtime, error)
FindRuntime mocks base method.
func (*MockDBService) GetRuntime ¶
func (m *MockDBService) GetRuntime(arg0 uint64) (*dbclient.Runtime, error)
GetRuntime mocks base method.
func (*MockDBService) GetRuntimeAllowNil ¶
func (m *MockDBService) GetRuntimeAllowNil(arg0 uint64) (*dbclient.Runtime, error)
GetRuntimeAllowNil mocks base method.
func (*MockDBService) UpdateRuntime ¶
func (m *MockDBService) UpdateRuntime(arg0 *dbclient.Runtime) error
UpdateRuntime mocks base method.
type MockDBServiceMockRecorder ¶
type MockDBServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDBServiceMockRecorder is the mock recorder for MockDBService.
func (*MockDBServiceMockRecorder) FindDomainsByRuntimeId ¶
func (mr *MockDBServiceMockRecorder) FindDomainsByRuntimeId(arg0 interface{}) *gomock.Call
FindDomainsByRuntimeId indicates an expected call of FindDomainsByRuntimeId.
func (*MockDBServiceMockRecorder) FindLastDeployment ¶
func (mr *MockDBServiceMockRecorder) FindLastDeployment(arg0 interface{}) *gomock.Call
FindLastDeployment indicates an expected call of FindLastDeployment.
func (*MockDBServiceMockRecorder) FindRuntime ¶
func (mr *MockDBServiceMockRecorder) FindRuntime(arg0 interface{}) *gomock.Call
FindRuntime indicates an expected call of FindRuntime.
func (*MockDBServiceMockRecorder) GetRuntime ¶
func (mr *MockDBServiceMockRecorder) GetRuntime(arg0 interface{}) *gomock.Call
GetRuntime indicates an expected call of GetRuntime.
func (*MockDBServiceMockRecorder) GetRuntimeAllowNil ¶
func (mr *MockDBServiceMockRecorder) GetRuntimeAllowNil(arg0 interface{}) *gomock.Call
GetRuntimeAllowNil indicates an expected call of GetRuntimeAllowNil.
func (*MockDBServiceMockRecorder) UpdateRuntime ¶
func (mr *MockDBServiceMockRecorder) UpdateRuntime(arg0 interface{}) *gomock.Call
UpdateRuntime indicates an expected call of UpdateRuntime.
type MockEventManagerService ¶
type MockEventManagerService struct {
// contains filtered or unexported fields
}
MockEventManagerService is a mock of EventManagerService interface.
func NewMockEventManagerService ¶
func NewMockEventManagerService(ctrl *gomock.Controller) *MockEventManagerService
NewMockEventManagerService creates a new mock instance.
func (*MockEventManagerService) EXPECT ¶
func (m *MockEventManagerService) EXPECT() *MockEventManagerServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEventManagerService) EmitEvent ¶
func (m *MockEventManagerService) EmitEvent(arg0 *events.RuntimeEvent)
EmitEvent mocks base method.
type MockEventManagerServiceMockRecorder ¶
type MockEventManagerServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockEventManagerServiceMockRecorder is the mock recorder for MockEventManagerService.
func (*MockEventManagerServiceMockRecorder) EmitEvent ¶
func (mr *MockEventManagerServiceMockRecorder) EmitEvent(arg0 interface{}) *gomock.Call
EmitEvent indicates an expected call of EmitEvent.