Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
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
- type MockEventRecorder
- type MockEventRecorderMockRecorder
- type MockOrganizationService
- func (m *MockOrganizationService) CreateOrganization(arg0 context.Context, arg1 *influxdb.Organization) error
- func (m *MockOrganizationService) DeleteOrganization(arg0 context.Context, arg1 platform.ID) error
- func (m *MockOrganizationService) EXPECT() *MockOrganizationServiceMockRecorder
- func (m *MockOrganizationService) FindOrganization(arg0 context.Context, arg1 influxdb.OrganizationFilter) (*influxdb.Organization, error)
- func (m *MockOrganizationService) FindOrganizationByID(arg0 context.Context, arg1 platform.ID) (*influxdb.Organization, error)
- func (m *MockOrganizationService) FindOrganizations(arg0 context.Context, arg1 influxdb.OrganizationFilter, ...) ([]*influxdb.Organization, int, error)
- func (m *MockOrganizationService) UpdateOrganization(arg0 context.Context, arg1 platform.ID, arg2 influxdb.OrganizationUpdate) (*influxdb.Organization, error)
- type MockOrganizationServiceMockRecorder
- func (mr *MockOrganizationServiceMockRecorder) CreateOrganization(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrganizationServiceMockRecorder) DeleteOrganization(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrganizationServiceMockRecorder) FindOrganization(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrganizationServiceMockRecorder) FindOrganizationByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockOrganizationServiceMockRecorder) FindOrganizations(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
- func (mr *MockOrganizationServiceMockRecorder) UpdateOrganization(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockPointsWriter
- type MockPointsWriterMockRecorder
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 ¶
type MockDBRPMappingService struct {
// contains filtered or unexported fields
}
MockDBRPMappingService is a mock of DBRPMappingService interface
func NewMockDBRPMappingService ¶
func NewMockDBRPMappingService(ctrl *gomock.Controller) *MockDBRPMappingService
NewMockDBRPMappingService creates a new mock instance
func (*MockDBRPMappingService) Create ¶
func (m *MockDBRPMappingService) Create(arg0 context.Context, arg1 *influxdb.DBRPMapping) error
Create mocks base method
func (*MockDBRPMappingService) EXPECT ¶
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 ¶
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 ¶
type MockDBRPMappingServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockDBRPMappingServiceMockRecorder is the mock recorder for MockDBRPMappingService
func (*MockDBRPMappingServiceMockRecorder) Create ¶
func (mr *MockDBRPMappingServiceMockRecorder) Create(arg0, arg1 interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockDBRPMappingServiceMockRecorder) Delete ¶
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 ¶
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
type MockEventRecorder ¶
type MockEventRecorder struct {
// contains filtered or unexported fields
}
MockEventRecorder is a mock of EventRecorder interface
func NewMockEventRecorder ¶
func NewMockEventRecorder(ctrl *gomock.Controller) *MockEventRecorder
NewMockEventRecorder creates a new mock instance
func (*MockEventRecorder) EXPECT ¶
func (m *MockEventRecorder) EXPECT() *MockEventRecorderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockEventRecorderMockRecorder ¶
type MockEventRecorderMockRecorder struct {
// contains filtered or unexported fields
}
MockEventRecorderMockRecorder is the mock recorder for MockEventRecorder
func (*MockEventRecorderMockRecorder) Record ¶
func (mr *MockEventRecorderMockRecorder) Record(arg0, arg1 interface{}) *gomock.Call
Record indicates an expected call of Record
type MockOrganizationService ¶
type MockOrganizationService struct {
// contains filtered or unexported fields
}
MockOrganizationService is a mock of OrganizationService interface
func NewMockOrganizationService ¶
func NewMockOrganizationService(ctrl *gomock.Controller) *MockOrganizationService
NewMockOrganizationService creates a new mock instance
func (*MockOrganizationService) CreateOrganization ¶
func (m *MockOrganizationService) CreateOrganization(arg0 context.Context, arg1 *influxdb.Organization) error
CreateOrganization mocks base method
func (*MockOrganizationService) DeleteOrganization ¶
DeleteOrganization mocks base method
func (*MockOrganizationService) EXPECT ¶
func (m *MockOrganizationService) EXPECT() *MockOrganizationServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockOrganizationService) FindOrganization ¶
func (m *MockOrganizationService) FindOrganization(arg0 context.Context, arg1 influxdb.OrganizationFilter) (*influxdb.Organization, error)
FindOrganization mocks base method
func (*MockOrganizationService) FindOrganizationByID ¶
func (m *MockOrganizationService) FindOrganizationByID(arg0 context.Context, arg1 platform.ID) (*influxdb.Organization, error)
FindOrganizationByID mocks base method
func (*MockOrganizationService) FindOrganizations ¶
func (m *MockOrganizationService) FindOrganizations(arg0 context.Context, arg1 influxdb.OrganizationFilter, arg2 ...influxdb.FindOptions) ([]*influxdb.Organization, int, error)
FindOrganizations mocks base method
func (*MockOrganizationService) UpdateOrganization ¶
func (m *MockOrganizationService) UpdateOrganization(arg0 context.Context, arg1 platform.ID, arg2 influxdb.OrganizationUpdate) (*influxdb.Organization, error)
UpdateOrganization mocks base method
type MockOrganizationServiceMockRecorder ¶
type MockOrganizationServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockOrganizationServiceMockRecorder is the mock recorder for MockOrganizationService
func (*MockOrganizationServiceMockRecorder) CreateOrganization ¶
func (mr *MockOrganizationServiceMockRecorder) CreateOrganization(arg0, arg1 interface{}) *gomock.Call
CreateOrganization indicates an expected call of CreateOrganization
func (*MockOrganizationServiceMockRecorder) DeleteOrganization ¶
func (mr *MockOrganizationServiceMockRecorder) DeleteOrganization(arg0, arg1 interface{}) *gomock.Call
DeleteOrganization indicates an expected call of DeleteOrganization
func (*MockOrganizationServiceMockRecorder) FindOrganization ¶
func (mr *MockOrganizationServiceMockRecorder) FindOrganization(arg0, arg1 interface{}) *gomock.Call
FindOrganization indicates an expected call of FindOrganization
func (*MockOrganizationServiceMockRecorder) FindOrganizationByID ¶
func (mr *MockOrganizationServiceMockRecorder) FindOrganizationByID(arg0, arg1 interface{}) *gomock.Call
FindOrganizationByID indicates an expected call of FindOrganizationByID
func (*MockOrganizationServiceMockRecorder) FindOrganizations ¶
func (mr *MockOrganizationServiceMockRecorder) FindOrganizations(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call
FindOrganizations indicates an expected call of FindOrganizations
func (*MockOrganizationServiceMockRecorder) UpdateOrganization ¶
func (mr *MockOrganizationServiceMockRecorder) UpdateOrganization(arg0, arg1, arg2 interface{}) *gomock.Call
UpdateOrganization indicates an expected call of UpdateOrganization
type MockPointsWriter ¶
type MockPointsWriter struct {
// contains filtered or unexported fields
}
MockPointsWriter is a mock of PointsWriter interface
func NewMockPointsWriter ¶
func NewMockPointsWriter(ctrl *gomock.Controller) *MockPointsWriter
NewMockPointsWriter creates a new mock instance
func (*MockPointsWriter) EXPECT ¶
func (m *MockPointsWriter) EXPECT() *MockPointsWriterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockPointsWriter) WritePoints ¶
func (m *MockPointsWriter) WritePoints(arg0 context.Context, arg1, arg2 platform.ID, arg3 []models.Point) error
WritePoints mocks base method
type MockPointsWriterMockRecorder ¶
type MockPointsWriterMockRecorder struct {
// contains filtered or unexported fields
}
MockPointsWriterMockRecorder is the mock recorder for MockPointsWriter
func (*MockPointsWriterMockRecorder) WritePoints ¶
func (mr *MockPointsWriterMockRecorder) WritePoints(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
WritePoints indicates an expected call of WritePoints