Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockCoreServiceClient
- func (m *MockCoreServiceClient) ApplyEntity(arg0 context.Context, arg1 *specs.EntitySpec, arg2 ...grpc.CallOption) (*core.CoreServiceTypes_ApplyEntityResponse, error)
- func (m *MockCoreServiceClient) ApplyFeature(arg0 context.Context, arg1 *specs.FeatureSpec, arg2 ...grpc.CallOption) (*core.CoreServiceTypes_ApplyFeatureResponse, error)
- func (m *MockCoreServiceClient) ApplyFeatureGroup(arg0 context.Context, arg1 *specs.FeatureGroupSpec, arg2 ...grpc.CallOption) (*core.CoreServiceTypes_ApplyFeatureGroupResponse, error)
- func (m *MockCoreServiceClient) EXPECT() *MockCoreServiceClientMockRecorder
- func (m *MockCoreServiceClient) GetEntities(arg0 context.Context, arg1 *core.CoreServiceTypes_GetEntitiesRequest, ...) (*core.CoreServiceTypes_GetEntitiesResponse, error)
- func (m *MockCoreServiceClient) GetFeatures(arg0 context.Context, arg1 *core.CoreServiceTypes_GetFeaturesRequest, ...) (*core.CoreServiceTypes_GetFeaturesResponse, error)
- func (m *MockCoreServiceClient) GetStorage(arg0 context.Context, arg1 *core.CoreServiceTypes_GetStorageRequest, ...) (*core.CoreServiceTypes_GetStorageResponse, error)
- func (m *MockCoreServiceClient) ListEntities(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (*core.CoreServiceTypes_ListEntitiesResponse, error)
- func (m *MockCoreServiceClient) ListFeatures(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (*core.CoreServiceTypes_ListFeaturesResponse, error)
- func (m *MockCoreServiceClient) ListStorage(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (*core.CoreServiceTypes_ListStorageResponse, error)
- type MockCoreServiceClientMockRecorder
- func (mr *MockCoreServiceClientMockRecorder) ApplyEntity(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) ApplyFeature(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) ApplyFeatureGroup(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) GetEntities(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) GetFeatures(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) GetStorage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) ListEntities(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) ListFeatures(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockCoreServiceClientMockRecorder) ListStorage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCoreServiceClient ¶
type MockCoreServiceClient struct {
// contains filtered or unexported fields
}
MockCoreServiceClient is a mock of CoreServiceClient interface
func NewMockCoreServiceClient ¶
func NewMockCoreServiceClient(ctrl *gomock.Controller) *MockCoreServiceClient
NewMockCoreServiceClient creates a new mock instance
func (*MockCoreServiceClient) ApplyEntity ¶
func (m *MockCoreServiceClient) ApplyEntity(arg0 context.Context, arg1 *specs.EntitySpec, arg2 ...grpc.CallOption) (*core.CoreServiceTypes_ApplyEntityResponse, error)
ApplyEntity mocks base method
func (*MockCoreServiceClient) ApplyFeature ¶
func (m *MockCoreServiceClient) ApplyFeature(arg0 context.Context, arg1 *specs.FeatureSpec, arg2 ...grpc.CallOption) (*core.CoreServiceTypes_ApplyFeatureResponse, error)
ApplyFeature mocks base method
func (*MockCoreServiceClient) ApplyFeatureGroup ¶
func (m *MockCoreServiceClient) ApplyFeatureGroup(arg0 context.Context, arg1 *specs.FeatureGroupSpec, arg2 ...grpc.CallOption) (*core.CoreServiceTypes_ApplyFeatureGroupResponse, error)
ApplyFeatureGroup mocks base method
func (*MockCoreServiceClient) EXPECT ¶
func (m *MockCoreServiceClient) EXPECT() *MockCoreServiceClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCoreServiceClient) GetEntities ¶
func (m *MockCoreServiceClient) GetEntities(arg0 context.Context, arg1 *core.CoreServiceTypes_GetEntitiesRequest, arg2 ...grpc.CallOption) (*core.CoreServiceTypes_GetEntitiesResponse, error)
GetEntities mocks base method
func (*MockCoreServiceClient) GetFeatures ¶
func (m *MockCoreServiceClient) GetFeatures(arg0 context.Context, arg1 *core.CoreServiceTypes_GetFeaturesRequest, arg2 ...grpc.CallOption) (*core.CoreServiceTypes_GetFeaturesResponse, error)
GetFeatures mocks base method
func (*MockCoreServiceClient) GetStorage ¶
func (m *MockCoreServiceClient) GetStorage(arg0 context.Context, arg1 *core.CoreServiceTypes_GetStorageRequest, arg2 ...grpc.CallOption) (*core.CoreServiceTypes_GetStorageResponse, error)
GetStorage mocks base method
func (*MockCoreServiceClient) ListEntities ¶
func (m *MockCoreServiceClient) ListEntities(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (*core.CoreServiceTypes_ListEntitiesResponse, error)
ListEntities mocks base method
func (*MockCoreServiceClient) ListFeatures ¶
func (m *MockCoreServiceClient) ListFeatures(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (*core.CoreServiceTypes_ListFeaturesResponse, error)
ListFeatures mocks base method
func (*MockCoreServiceClient) ListStorage ¶
func (m *MockCoreServiceClient) ListStorage(arg0 context.Context, arg1 *empty.Empty, arg2 ...grpc.CallOption) (*core.CoreServiceTypes_ListStorageResponse, error)
ListStorage mocks base method
type MockCoreServiceClientMockRecorder ¶
type MockCoreServiceClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCoreServiceClientMockRecorder is the mock recorder for MockCoreServiceClient
func (*MockCoreServiceClientMockRecorder) ApplyEntity ¶
func (mr *MockCoreServiceClientMockRecorder) ApplyEntity(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ApplyEntity indicates an expected call of ApplyEntity
func (*MockCoreServiceClientMockRecorder) ApplyFeature ¶
func (mr *MockCoreServiceClientMockRecorder) ApplyFeature(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ApplyFeature indicates an expected call of ApplyFeature
func (*MockCoreServiceClientMockRecorder) ApplyFeatureGroup ¶
func (mr *MockCoreServiceClientMockRecorder) ApplyFeatureGroup(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ApplyFeatureGroup indicates an expected call of ApplyFeatureGroup
func (*MockCoreServiceClientMockRecorder) GetEntities ¶
func (mr *MockCoreServiceClientMockRecorder) GetEntities(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetEntities indicates an expected call of GetEntities
func (*MockCoreServiceClientMockRecorder) GetFeatures ¶
func (mr *MockCoreServiceClientMockRecorder) GetFeatures(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetFeatures indicates an expected call of GetFeatures
func (*MockCoreServiceClientMockRecorder) GetStorage ¶
func (mr *MockCoreServiceClientMockRecorder) GetStorage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
GetStorage indicates an expected call of GetStorage
func (*MockCoreServiceClientMockRecorder) ListEntities ¶
func (mr *MockCoreServiceClientMockRecorder) ListEntities(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListEntities indicates an expected call of ListEntities
func (*MockCoreServiceClientMockRecorder) ListFeatures ¶
func (mr *MockCoreServiceClientMockRecorder) ListFeatures(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListFeatures indicates an expected call of ListFeatures
func (*MockCoreServiceClientMockRecorder) ListStorage ¶
func (mr *MockCoreServiceClientMockRecorder) ListStorage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
ListStorage indicates an expected call of ListStorage