Documentation ¶
Overview ¶
Package mock_service is a generated GoMock package.
Index ¶
- type MockDataSourcesService
- func (m *MockDataSourcesService) BuildDataSourceRegistry(ctx context.Context, rt *v1.RuleType, opts *service.Options) (*v10.DataSourceRegistry, error)
- func (m *MockDataSourcesService) Create(ctx context.Context, ds *v1.DataSource, opts *service.Options) (*v1.DataSource, error)
- func (m *MockDataSourcesService) Delete(ctx context.Context, id, project uuid.UUID, opts *service.Options) error
- func (m *MockDataSourcesService) EXPECT() *MockDataSourcesServiceMockRecorder
- func (m *MockDataSourcesService) GetByID(ctx context.Context, id, project uuid.UUID, opts *service.ReadOptions) (*v1.DataSource, error)
- func (m *MockDataSourcesService) GetByName(ctx context.Context, name string, project uuid.UUID, opts *service.ReadOptions) (*v1.DataSource, error)
- func (m *MockDataSourcesService) List(ctx context.Context, project uuid.UUID, opts *service.ReadOptions) ([]*v1.DataSource, error)
- func (m *MockDataSourcesService) Update(ctx context.Context, ds *v1.DataSource, opts *service.Options) (*v1.DataSource, error)
- type MockDataSourcesServiceMockRecorder
- func (mr *MockDataSourcesServiceMockRecorder) BuildDataSourceRegistry(ctx, rt, opts any) *gomock.Call
- func (mr *MockDataSourcesServiceMockRecorder) Create(ctx, ds, opts any) *gomock.Call
- func (mr *MockDataSourcesServiceMockRecorder) Delete(ctx, id, project, opts any) *gomock.Call
- func (mr *MockDataSourcesServiceMockRecorder) GetByID(ctx, id, project, opts any) *gomock.Call
- func (mr *MockDataSourcesServiceMockRecorder) GetByName(ctx, name, project, opts any) *gomock.Call
- func (mr *MockDataSourcesServiceMockRecorder) List(ctx, project, opts any) *gomock.Call
- func (mr *MockDataSourcesServiceMockRecorder) Update(ctx, ds, opts any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDataSourcesService ¶
type MockDataSourcesService struct {
// contains filtered or unexported fields
}
MockDataSourcesService is a mock of DataSourcesService interface.
func NewMockDataSourcesService ¶
func NewMockDataSourcesService(ctrl *gomock.Controller) *MockDataSourcesService
NewMockDataSourcesService creates a new mock instance.
func (*MockDataSourcesService) BuildDataSourceRegistry ¶
func (m *MockDataSourcesService) BuildDataSourceRegistry(ctx context.Context, rt *v1.RuleType, opts *service.Options) (*v10.DataSourceRegistry, error)
BuildDataSourceRegistry mocks base method.
func (*MockDataSourcesService) Create ¶
func (m *MockDataSourcesService) Create(ctx context.Context, ds *v1.DataSource, opts *service.Options) (*v1.DataSource, error)
Create mocks base method.
func (*MockDataSourcesService) Delete ¶
func (m *MockDataSourcesService) Delete(ctx context.Context, id, project uuid.UUID, opts *service.Options) error
Delete mocks base method.
func (*MockDataSourcesService) EXPECT ¶
func (m *MockDataSourcesService) EXPECT() *MockDataSourcesServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDataSourcesService) GetByID ¶
func (m *MockDataSourcesService) GetByID(ctx context.Context, id, project uuid.UUID, opts *service.ReadOptions) (*v1.DataSource, error)
GetByID mocks base method.
func (*MockDataSourcesService) GetByName ¶
func (m *MockDataSourcesService) GetByName(ctx context.Context, name string, project uuid.UUID, opts *service.ReadOptions) (*v1.DataSource, error)
GetByName mocks base method.
func (*MockDataSourcesService) List ¶
func (m *MockDataSourcesService) List(ctx context.Context, project uuid.UUID, opts *service.ReadOptions) ([]*v1.DataSource, error)
List mocks base method.
func (*MockDataSourcesService) Update ¶
func (m *MockDataSourcesService) Update(ctx context.Context, ds *v1.DataSource, opts *service.Options) (*v1.DataSource, error)
Update mocks base method.
type MockDataSourcesServiceMockRecorder ¶
type MockDataSourcesServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDataSourcesServiceMockRecorder is the mock recorder for MockDataSourcesService.
func (*MockDataSourcesServiceMockRecorder) BuildDataSourceRegistry ¶
func (mr *MockDataSourcesServiceMockRecorder) BuildDataSourceRegistry(ctx, rt, opts any) *gomock.Call
BuildDataSourceRegistry indicates an expected call of BuildDataSourceRegistry.
func (*MockDataSourcesServiceMockRecorder) Create ¶
func (mr *MockDataSourcesServiceMockRecorder) Create(ctx, ds, opts any) *gomock.Call
Create indicates an expected call of Create.
func (*MockDataSourcesServiceMockRecorder) Delete ¶
func (mr *MockDataSourcesServiceMockRecorder) Delete(ctx, id, project, opts any) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockDataSourcesServiceMockRecorder) GetByID ¶
func (mr *MockDataSourcesServiceMockRecorder) GetByID(ctx, id, project, opts any) *gomock.Call
GetByID indicates an expected call of GetByID.
func (*MockDataSourcesServiceMockRecorder) GetByName ¶
func (mr *MockDataSourcesServiceMockRecorder) GetByName(ctx, name, project, opts any) *gomock.Call
GetByName indicates an expected call of GetByName.