Documentation ¶
Overview ¶
Package mock_business is a generated GoMock package.
Index ¶
- type MockBusinessContract
- func (m *MockBusinessContract) CreateEdgeCluster(ctx context.Context, request *business.CreateEdgeClusterRequest) (*business.CreateEdgeClusterResponse, error)
- func (m *MockBusinessContract) DeleteEdgeCluster(ctx context.Context, request *business.DeleteEdgeClusterRequest) (*business.DeleteEdgeClusterResponse, error)
- func (m *MockBusinessContract) EXPECT() *MockBusinessContractMockRecorder
- func (m *MockBusinessContract) ListEdgeClusterNodes(ctx context.Context, request *business.ListEdgeClusterNodesRequest) (*business.ListEdgeClusterNodesResponse, error)
- func (m *MockBusinessContract) ReadEdgeCluster(ctx context.Context, request *business.ReadEdgeClusterRequest) (*business.ReadEdgeClusterResponse, error)
- func (m *MockBusinessContract) Search(ctx context.Context, request *business.SearchRequest) (*business.SearchResponse, error)
- func (m *MockBusinessContract) UpdateEdgeCluster(ctx context.Context, request *business.UpdateEdgeClusterRequest) (*business.UpdateEdgeClusterResponse, error)
- type MockBusinessContractMockRecorder
- func (mr *MockBusinessContractMockRecorder) CreateEdgeCluster(ctx, request interface{}) *gomock.Call
- func (mr *MockBusinessContractMockRecorder) DeleteEdgeCluster(ctx, request interface{}) *gomock.Call
- func (mr *MockBusinessContractMockRecorder) ListEdgeClusterNodes(ctx, request interface{}) *gomock.Call
- func (mr *MockBusinessContractMockRecorder) ReadEdgeCluster(ctx, request interface{}) *gomock.Call
- func (mr *MockBusinessContractMockRecorder) Search(ctx, request interface{}) *gomock.Call
- func (mr *MockBusinessContractMockRecorder) UpdateEdgeCluster(ctx, request interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBusinessContract ¶ added in v0.0.2
type MockBusinessContract struct {
// contains filtered or unexported fields
}
MockBusinessContract is a mock of BusinessContract interface
func NewMockBusinessContract ¶ added in v0.0.2
func NewMockBusinessContract(ctrl *gomock.Controller) *MockBusinessContract
NewMockBusinessContract creates a new mock instance
func (*MockBusinessContract) CreateEdgeCluster ¶ added in v0.0.2
func (m *MockBusinessContract) CreateEdgeCluster(ctx context.Context, request *business.CreateEdgeClusterRequest) (*business.CreateEdgeClusterResponse, error)
CreateEdgeCluster mocks base method
func (*MockBusinessContract) DeleteEdgeCluster ¶ added in v0.0.2
func (m *MockBusinessContract) DeleteEdgeCluster(ctx context.Context, request *business.DeleteEdgeClusterRequest) (*business.DeleteEdgeClusterResponse, error)
DeleteEdgeCluster mocks base method
func (*MockBusinessContract) EXPECT ¶ added in v0.0.2
func (m *MockBusinessContract) EXPECT() *MockBusinessContractMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBusinessContract) ListEdgeClusterNodes ¶ added in v0.5.4
func (m *MockBusinessContract) ListEdgeClusterNodes(ctx context.Context, request *business.ListEdgeClusterNodesRequest) (*business.ListEdgeClusterNodesResponse, error)
ListEdgeClusterNodes mocks base method
func (*MockBusinessContract) ReadEdgeCluster ¶ added in v0.0.2
func (m *MockBusinessContract) ReadEdgeCluster(ctx context.Context, request *business.ReadEdgeClusterRequest) (*business.ReadEdgeClusterResponse, error)
ReadEdgeCluster mocks base method
func (*MockBusinessContract) Search ¶ added in v0.0.10
func (m *MockBusinessContract) Search(ctx context.Context, request *business.SearchRequest) (*business.SearchResponse, error)
Search mocks base method
func (*MockBusinessContract) UpdateEdgeCluster ¶ added in v0.0.2
func (m *MockBusinessContract) UpdateEdgeCluster(ctx context.Context, request *business.UpdateEdgeClusterRequest) (*business.UpdateEdgeClusterResponse, error)
UpdateEdgeCluster mocks base method
type MockBusinessContractMockRecorder ¶ added in v0.0.2
type MockBusinessContractMockRecorder struct {
// contains filtered or unexported fields
}
MockBusinessContractMockRecorder is the mock recorder for MockBusinessContract
func (*MockBusinessContractMockRecorder) CreateEdgeCluster ¶ added in v0.0.2
func (mr *MockBusinessContractMockRecorder) CreateEdgeCluster(ctx, request interface{}) *gomock.Call
CreateEdgeCluster indicates an expected call of CreateEdgeCluster
func (*MockBusinessContractMockRecorder) DeleteEdgeCluster ¶ added in v0.0.2
func (mr *MockBusinessContractMockRecorder) DeleteEdgeCluster(ctx, request interface{}) *gomock.Call
DeleteEdgeCluster indicates an expected call of DeleteEdgeCluster
func (*MockBusinessContractMockRecorder) ListEdgeClusterNodes ¶ added in v0.5.4
func (mr *MockBusinessContractMockRecorder) ListEdgeClusterNodes(ctx, request interface{}) *gomock.Call
ListEdgeClusterNodes indicates an expected call of ListEdgeClusterNodes
func (*MockBusinessContractMockRecorder) ReadEdgeCluster ¶ added in v0.0.2
func (mr *MockBusinessContractMockRecorder) ReadEdgeCluster(ctx, request interface{}) *gomock.Call
ReadEdgeCluster indicates an expected call of ReadEdgeCluster
func (*MockBusinessContractMockRecorder) Search ¶ added in v0.0.10
func (mr *MockBusinessContractMockRecorder) Search(ctx, request interface{}) *gomock.Call
Search indicates an expected call of Search
func (*MockBusinessContractMockRecorder) UpdateEdgeCluster ¶ added in v0.0.2
func (mr *MockBusinessContractMockRecorder) UpdateEdgeCluster(ctx, request interface{}) *gomock.Call
UpdateEdgeCluster indicates an expected call of UpdateEdgeCluster