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 influxdb.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 influxdb.ID) (*influxdb.Bucket, error)
- func (m *MockBucketService) FindBucketByName(arg0 context.Context, arg1 influxdb.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 influxdb.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 MockDBRPMappingServiceV2
- func (m *MockDBRPMappingServiceV2) Create(arg0 context.Context, arg1 *influxdb.DBRPMappingV2) error
- func (m *MockDBRPMappingServiceV2) Delete(arg0 context.Context, arg1, arg2 influxdb.ID) error
- func (m *MockDBRPMappingServiceV2) EXPECT() *MockDBRPMappingServiceV2MockRecorder
- func (m *MockDBRPMappingServiceV2) FindByID(arg0 context.Context, arg1, arg2 influxdb.ID) (*influxdb.DBRPMappingV2, error)
- func (m *MockDBRPMappingServiceV2) FindMany(arg0 context.Context, arg1 influxdb.DBRPMappingFilterV2, ...) ([]*influxdb.DBRPMappingV2, int, error)
- func (m *MockDBRPMappingServiceV2) Update(arg0 context.Context, arg1 *influxdb.DBRPMappingV2) error
- type MockDBRPMappingServiceV2MockRecorder
- func (mr *MockDBRPMappingServiceV2MockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDBRPMappingServiceV2MockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBRPMappingServiceV2MockRecorder) FindByID(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockDBRPMappingServiceV2MockRecorder) FindMany(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockDBRPMappingServiceV2MockRecorder) 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 influxdb.ID) (*influxdb.Bucket, error)
FindBucketByID mocks base method
func (*MockBucketService) FindBucketByName ¶
func (m *MockBucketService) FindBucketByName(arg0 context.Context, arg1 influxdb.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 influxdb.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 MockDBRPMappingServiceV2 ¶
type MockDBRPMappingServiceV2 struct {
// contains filtered or unexported fields
}
MockDBRPMappingServiceV2 is a mock of DBRPMappingServiceV2 interface
func NewMockDBRPMappingServiceV2 ¶
func NewMockDBRPMappingServiceV2(ctrl *gomock.Controller) *MockDBRPMappingServiceV2
NewMockDBRPMappingServiceV2 creates a new mock instance
func (*MockDBRPMappingServiceV2) Create ¶
func (m *MockDBRPMappingServiceV2) Create(arg0 context.Context, arg1 *influxdb.DBRPMappingV2) error
Create mocks base method
func (*MockDBRPMappingServiceV2) EXPECT ¶
func (m *MockDBRPMappingServiceV2) EXPECT() *MockDBRPMappingServiceV2MockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDBRPMappingServiceV2) FindByID ¶
func (m *MockDBRPMappingServiceV2) FindByID(arg0 context.Context, arg1, arg2 influxdb.ID) (*influxdb.DBRPMappingV2, error)
FindByID mocks base method
func (*MockDBRPMappingServiceV2) FindMany ¶
func (m *MockDBRPMappingServiceV2) FindMany(arg0 context.Context, arg1 influxdb.DBRPMappingFilterV2, arg2 ...influxdb.FindOptions) ([]*influxdb.DBRPMappingV2, int, error)
FindMany mocks base method
func (*MockDBRPMappingServiceV2) Update ¶
func (m *MockDBRPMappingServiceV2) Update(arg0 context.Context, arg1 *influxdb.DBRPMappingV2) error
Update mocks base method
type MockDBRPMappingServiceV2MockRecorder ¶
type MockDBRPMappingServiceV2MockRecorder struct {
// contains filtered or unexported fields
}
MockDBRPMappingServiceV2MockRecorder is the mock recorder for MockDBRPMappingServiceV2
func (*MockDBRPMappingServiceV2MockRecorder) Create ¶
func (mr *MockDBRPMappingServiceV2MockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockDBRPMappingServiceV2MockRecorder) Delete ¶
func (mr *MockDBRPMappingServiceV2MockRecorder) Delete(arg0, arg1, arg2 interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockDBRPMappingServiceV2MockRecorder) FindByID ¶
func (mr *MockDBRPMappingServiceV2MockRecorder) FindByID(arg0, arg1, arg2 interface{}) *gomock.Call
FindByID indicates an expected call of FindByID
func (*MockDBRPMappingServiceV2MockRecorder) FindMany ¶
func (mr *MockDBRPMappingServiceV2MockRecorder) FindMany(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
FindMany indicates an expected call of FindMany
func (*MockDBRPMappingServiceV2MockRecorder) Update ¶
func (mr *MockDBRPMappingServiceV2MockRecorder) Update(arg0, arg1 interface{}) *gomock.Call
Update indicates an expected call of Update