Documentation ¶
Overview ¶
Package mock_repository is a generated GoMock package.
Index ¶
- type MockRepositoryContract
- func (m *MockRepositoryContract) CreateEdgeCluster(ctx context.Context, request *repository.CreateEdgeClusterRequest) (*repository.CreateEdgeClusterResponse, error)
- func (m *MockRepositoryContract) DeleteEdgeCluster(ctx context.Context, request *repository.DeleteEdgeClusterRequest) (*repository.DeleteEdgeClusterResponse, error)
- func (m *MockRepositoryContract) EXPECT() *MockRepositoryContractMockRecorder
- func (m *MockRepositoryContract) ListEdgeClusters(ctx context.Context, request *repository.ListEdgeClustersRequest) (*repository.ListEdgeClustersResponse, error)
- func (m *MockRepositoryContract) ReadEdgeCluster(ctx context.Context, request *repository.ReadEdgeClusterRequest) (*repository.ReadEdgeClusterResponse, error)
- func (m *MockRepositoryContract) UpdateEdgeCluster(ctx context.Context, request *repository.UpdateEdgeClusterRequest) (*repository.UpdateEdgeClusterResponse, error)
- type MockRepositoryContractMockRecorder
- func (mr *MockRepositoryContractMockRecorder) CreateEdgeCluster(ctx, request interface{}) *gomock.Call
- func (mr *MockRepositoryContractMockRecorder) DeleteEdgeCluster(ctx, request interface{}) *gomock.Call
- func (mr *MockRepositoryContractMockRecorder) ListEdgeClusters(ctx, request interface{}) *gomock.Call
- func (mr *MockRepositoryContractMockRecorder) ReadEdgeCluster(ctx, request interface{}) *gomock.Call
- func (mr *MockRepositoryContractMockRecorder) UpdateEdgeCluster(ctx, request interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRepositoryContract ¶ added in v0.0.2
type MockRepositoryContract struct {
// contains filtered or unexported fields
}
MockRepositoryContract is a mock of RepositoryContract interface.
func NewMockRepositoryContract ¶ added in v0.0.2
func NewMockRepositoryContract(ctrl *gomock.Controller) *MockRepositoryContract
NewMockRepositoryContract creates a new mock instance.
func (*MockRepositoryContract) CreateEdgeCluster ¶ added in v0.0.2
func (m *MockRepositoryContract) CreateEdgeCluster(ctx context.Context, request *repository.CreateEdgeClusterRequest) (*repository.CreateEdgeClusterResponse, error)
CreateEdgeCluster mocks base method.
func (*MockRepositoryContract) DeleteEdgeCluster ¶ added in v0.0.2
func (m *MockRepositoryContract) DeleteEdgeCluster(ctx context.Context, request *repository.DeleteEdgeClusterRequest) (*repository.DeleteEdgeClusterResponse, error)
DeleteEdgeCluster mocks base method.
func (*MockRepositoryContract) EXPECT ¶ added in v0.0.2
func (m *MockRepositoryContract) EXPECT() *MockRepositoryContractMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRepositoryContract) ListEdgeClusters ¶ added in v0.9.0
func (m *MockRepositoryContract) ListEdgeClusters(ctx context.Context, request *repository.ListEdgeClustersRequest) (*repository.ListEdgeClustersResponse, error)
ListEdgeClusters mocks base method.
func (*MockRepositoryContract) ReadEdgeCluster ¶ added in v0.0.2
func (m *MockRepositoryContract) ReadEdgeCluster(ctx context.Context, request *repository.ReadEdgeClusterRequest) (*repository.ReadEdgeClusterResponse, error)
ReadEdgeCluster mocks base method.
func (*MockRepositoryContract) UpdateEdgeCluster ¶ added in v0.0.2
func (m *MockRepositoryContract) UpdateEdgeCluster(ctx context.Context, request *repository.UpdateEdgeClusterRequest) (*repository.UpdateEdgeClusterResponse, error)
UpdateEdgeCluster mocks base method.
type MockRepositoryContractMockRecorder ¶ added in v0.0.2
type MockRepositoryContractMockRecorder struct {
// contains filtered or unexported fields
}
MockRepositoryContractMockRecorder is the mock recorder for MockRepositoryContract.
func (*MockRepositoryContractMockRecorder) CreateEdgeCluster ¶ added in v0.0.2
func (mr *MockRepositoryContractMockRecorder) CreateEdgeCluster(ctx, request interface{}) *gomock.Call
CreateEdgeCluster indicates an expected call of CreateEdgeCluster.
func (*MockRepositoryContractMockRecorder) DeleteEdgeCluster ¶ added in v0.0.2
func (mr *MockRepositoryContractMockRecorder) DeleteEdgeCluster(ctx, request interface{}) *gomock.Call
DeleteEdgeCluster indicates an expected call of DeleteEdgeCluster.
func (*MockRepositoryContractMockRecorder) ListEdgeClusters ¶ added in v0.9.0
func (mr *MockRepositoryContractMockRecorder) ListEdgeClusters(ctx, request interface{}) *gomock.Call
ListEdgeClusters indicates an expected call of ListEdgeClusters.
func (*MockRepositoryContractMockRecorder) ReadEdgeCluster ¶ added in v0.0.2
func (mr *MockRepositoryContractMockRecorder) ReadEdgeCluster(ctx, request interface{}) *gomock.Call
ReadEdgeCluster indicates an expected call of ReadEdgeCluster.
func (*MockRepositoryContractMockRecorder) UpdateEdgeCluster ¶ added in v0.0.2
func (mr *MockRepositoryContractMockRecorder) UpdateEdgeCluster(ctx, request interface{}) *gomock.Call
UpdateEdgeCluster indicates an expected call of UpdateEdgeCluster.