Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockBucketService
- func (m *MockBucketService) CreateBucket(arg0 context.Context, arg1 *influxdb.Bucket) error
- func (m *MockBucketService) DeleteBucket(arg0 context.Context, arg1 platform.ID) error
- func (m *MockBucketService) EXPECT() *MockBucketServiceMockRecorder
- func (m *MockBucketService) FindBucket(arg0 context.Context, arg1 influxdb.BucketFilter) (*influxdb.Bucket, error)
- func (m *MockBucketService) FindBucketByID(arg0 context.Context, arg1 platform.ID) (*influxdb.Bucket, error)
- func (m *MockBucketService) FindBucketByName(arg0 context.Context, arg1 platform.ID, arg2 string) (*influxdb.Bucket, error)
- func (m *MockBucketService) FindBuckets(arg0 context.Context, arg1 influxdb.BucketFilter, arg2 ...influxdb.FindOptions) ([]*influxdb.Bucket, int, error)
- func (m *MockBucketService) UpdateBucket(arg0 context.Context, arg1 platform.ID, arg2 influxdb.BucketUpdate) (*influxdb.Bucket, error)
- type MockBucketServiceMockRecorder
- func (mr *MockBucketServiceMockRecorder) CreateBucket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBucketServiceMockRecorder) DeleteBucket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBucketServiceMockRecorder) FindBucket(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBucketServiceMockRecorder) FindBucketByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockBucketServiceMockRecorder) FindBucketByName(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockBucketServiceMockRecorder) FindBuckets(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockBucketServiceMockRecorder) UpdateBucket(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockDBRPMappingService
- func (m *MockDBRPMappingService) Create(arg0 context.Context, arg1 *influxdb.DBRPMapping) error
- func (m *MockDBRPMappingService) Delete(arg0 context.Context, arg1, arg2 platform.ID) error
- func (m *MockDBRPMappingService) EXPECT() *MockDBRPMappingServiceMockRecorder
- func (m *MockDBRPMappingService) FindByID(arg0 context.Context, arg1, arg2 platform.ID) (*influxdb.DBRPMapping, error)
- func (m *MockDBRPMappingService) FindMany(arg0 context.Context, arg1 influxdb.DBRPMappingFilter, ...) ([]*influxdb.DBRPMapping, int, error)
- func (m *MockDBRPMappingService) Update(arg0 context.Context, arg1 *influxdb.DBRPMapping) error
- type MockDBRPMappingServiceMockRecorder
- func (mr *MockDBRPMappingServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBRPMappingServiceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBRPMappingServiceMockRecorder) FindByID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBRPMappingServiceMockRecorder) FindMany(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDBRPMappingServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBucketService ¶
type MockBucketService struct {
// contains filtered or unexported fields
}
MockBucketService is a mock of BucketService interface
func NewMockBucketService ¶
func NewMockBucketService(ctrl *gomock.Controller) *MockBucketService
NewMockBucketService creates a new mock instance
func (*MockBucketService) CreateBucket ¶
CreateBucket mocks base method
func (*MockBucketService) DeleteBucket ¶
DeleteBucket mocks base method
func (*MockBucketService) EXPECT ¶
func (m *MockBucketService) EXPECT() *MockBucketServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBucketService) FindBucket ¶
func (m *MockBucketService) FindBucket(arg0 context.Context, arg1 influxdb.BucketFilter) (*influxdb.Bucket, error)
FindBucket mocks base method
func (*MockBucketService) FindBucketByID ¶
func (m *MockBucketService) FindBucketByID(arg0 context.Context, arg1 platform.ID) (*influxdb.Bucket, error)
FindBucketByID mocks base method
func (*MockBucketService) FindBucketByName ¶
func (m *MockBucketService) FindBucketByName(arg0 context.Context, arg1 platform.ID, arg2 string) (*influxdb.Bucket, error)
FindBucketByName mocks base method
func (*MockBucketService) FindBuckets ¶
func (m *MockBucketService) FindBuckets(arg0 context.Context, arg1 influxdb.BucketFilter, arg2 ...influxdb.FindOptions) ([]*influxdb.Bucket, int, error)
FindBuckets mocks base method
func (*MockBucketService) UpdateBucket ¶
func (m *MockBucketService) UpdateBucket(arg0 context.Context, arg1 platform.ID, arg2 influxdb.BucketUpdate) (*influxdb.Bucket, error)
UpdateBucket mocks base method
type MockBucketServiceMockRecorder ¶
type MockBucketServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockBucketServiceMockRecorder is the mock recorder for MockBucketService
func (*MockBucketServiceMockRecorder) CreateBucket ¶
func (mr *MockBucketServiceMockRecorder) CreateBucket(arg0, arg1 interface{}) *gomock.Call
CreateBucket indicates an expected call of CreateBucket
func (*MockBucketServiceMockRecorder) DeleteBucket ¶
func (mr *MockBucketServiceMockRecorder) DeleteBucket(arg0, arg1 interface{}) *gomock.Call
DeleteBucket indicates an expected call of DeleteBucket
func (*MockBucketServiceMockRecorder) FindBucket ¶
func (mr *MockBucketServiceMockRecorder) FindBucket(arg0, arg1 interface{}) *gomock.Call
FindBucket indicates an expected call of FindBucket
func (*MockBucketServiceMockRecorder) FindBucketByID ¶
func (mr *MockBucketServiceMockRecorder) FindBucketByID(arg0, arg1 interface{}) *gomock.Call
FindBucketByID indicates an expected call of FindBucketByID
func (*MockBucketServiceMockRecorder) FindBucketByName ¶
func (mr *MockBucketServiceMockRecorder) FindBucketByName(arg0, arg1, arg2 interface{}) *gomock.Call
FindBucketByName indicates an expected call of FindBucketByName
func (*MockBucketServiceMockRecorder) FindBuckets ¶
func (mr *MockBucketServiceMockRecorder) FindBuckets(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
FindBuckets indicates an expected call of FindBuckets
func (*MockBucketServiceMockRecorder) UpdateBucket ¶
func (mr *MockBucketServiceMockRecorder) UpdateBucket(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateBucket indicates an expected call of UpdateBucket
type MockDBRPMappingService ¶ added in v2.1.0
type MockDBRPMappingService struct {
// contains filtered or unexported fields
}
MockDBRPMappingService is a mock of DBRPMappingService interface
func NewMockDBRPMappingService ¶ added in v2.1.0
func NewMockDBRPMappingService(ctrl *gomock.Controller) *MockDBRPMappingService
NewMockDBRPMappingService creates a new mock instance
func (*MockDBRPMappingService) Create ¶ added in v2.1.0
func (m *MockDBRPMappingService) Create(arg0 context.Context, arg1 *influxdb.DBRPMapping) error
Create mocks base method
func (*MockDBRPMappingService) EXPECT ¶ added in v2.1.0
func (m *MockDBRPMappingService) EXPECT() *MockDBRPMappingServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDBRPMappingService) FindByID ¶ added in v2.1.0
func (m *MockDBRPMappingService) FindByID(arg0 context.Context, arg1, arg2 platform.ID) (*influxdb.DBRPMapping, error)
FindByID mocks base method
func (*MockDBRPMappingService) FindMany ¶ added in v2.1.0
func (m *MockDBRPMappingService) FindMany(arg0 context.Context, arg1 influxdb.DBRPMappingFilter, arg2 ...influxdb.FindOptions) ([]*influxdb.DBRPMapping, int, error)
FindMany mocks base method
func (*MockDBRPMappingService) Update ¶ added in v2.1.0
func (m *MockDBRPMappingService) Update(arg0 context.Context, arg1 *influxdb.DBRPMapping) error
Update mocks base method
type MockDBRPMappingServiceMockRecorder ¶ added in v2.1.0
type MockDBRPMappingServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDBRPMappingServiceMockRecorder is the mock recorder for MockDBRPMappingService
func (*MockDBRPMappingServiceMockRecorder) Create ¶ added in v2.1.0
func (mr *MockDBRPMappingServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockDBRPMappingServiceMockRecorder) Delete ¶ added in v2.1.0
func (mr *MockDBRPMappingServiceMockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockDBRPMappingServiceMockRecorder) FindByID ¶ added in v2.1.0
func (mr *MockDBRPMappingServiceMockRecorder) FindByID(arg0, arg1, arg2 interface{}) *gomock.Call
FindByID indicates an expected call of FindByID
func (*MockDBRPMappingServiceMockRecorder) FindMany ¶ added in v2.1.0
func (mr *MockDBRPMappingServiceMockRecorder) FindMany(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
FindMany indicates an expected call of FindMany
func (*MockDBRPMappingServiceMockRecorder) Update ¶ added in v2.1.0
func (mr *MockDBRPMappingServiceMockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update