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) ListEdgeClusterPods(ctx context.Context, request *business.ListEdgeClusterPodsRequest) (*business.ListEdgeClusterPodsResponse, error)
- func (m *MockBusinessContract) ListEdgeClusterServices(ctx context.Context, request *business.ListEdgeClusterServicesRequest) (*business.ListEdgeClusterServicesResponse, error)
- func (m *MockBusinessContract) ListEdgeClusters(ctx context.Context, request *business.ListEdgeClustersRequest) (*business.ListEdgeClustersResponse, error)
- func (m *MockBusinessContract) ReadEdgeCluster(ctx context.Context, request *business.ReadEdgeClusterRequest) (*business.ReadEdgeClusterResponse, 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) ListEdgeClusterPods(ctx, request interface{}) *gomock.Call
- func (mr *MockBusinessContractMockRecorder) ListEdgeClusterServices(ctx, request interface{}) *gomock.Call
- func (mr *MockBusinessContractMockRecorder) ListEdgeClusters(ctx, request interface{}) *gomock.Call
- func (mr *MockBusinessContractMockRecorder) ReadEdgeCluster(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) ListEdgeClusterPods ¶ added in v0.8.0
func (m *MockBusinessContract) ListEdgeClusterPods(ctx context.Context, request *business.ListEdgeClusterPodsRequest) (*business.ListEdgeClusterPodsResponse, error)
ListEdgeClusterPods mocks base method.
func (*MockBusinessContract) ListEdgeClusterServices ¶ added in v0.9.0
func (m *MockBusinessContract) ListEdgeClusterServices(ctx context.Context, request *business.ListEdgeClusterServicesRequest) (*business.ListEdgeClusterServicesResponse, error)
ListEdgeClusterServices mocks base method.
func (*MockBusinessContract) ListEdgeClusters ¶ added in v0.9.0
func (m *MockBusinessContract) ListEdgeClusters(ctx context.Context, request *business.ListEdgeClustersRequest) (*business.ListEdgeClustersResponse, error)
ListEdgeClusters 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) 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) ListEdgeClusterPods ¶ added in v0.8.0
func (mr *MockBusinessContractMockRecorder) ListEdgeClusterPods(ctx, request interface{}) *gomock.Call
ListEdgeClusterPods indicates an expected call of ListEdgeClusterPods.
func (*MockBusinessContractMockRecorder) ListEdgeClusterServices ¶ added in v0.9.0
func (mr *MockBusinessContractMockRecorder) ListEdgeClusterServices(ctx, request interface{}) *gomock.Call
ListEdgeClusterServices indicates an expected call of ListEdgeClusterServices.
func (*MockBusinessContractMockRecorder) ListEdgeClusters ¶ added in v0.9.0
func (mr *MockBusinessContractMockRecorder) ListEdgeClusters(ctx, request interface{}) *gomock.Call
ListEdgeClusters indicates an expected call of ListEdgeClusters.
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) UpdateEdgeCluster ¶ added in v0.0.2
func (mr *MockBusinessContractMockRecorder) UpdateEdgeCluster(ctx, request interface{}) *gomock.Call
UpdateEdgeCluster indicates an expected call of UpdateEdgeCluster.