mock

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock is a generated GoMock package.

Index

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

CheckPermission mocks base method.

func (*MockBundleService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockBundleService) GetApp

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

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL