Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v2.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 15, 2026 License: MIT Imports: 7 Imported by: 0

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

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

func (m *MockBucketService) CreateBucket(arg0 context.Context, arg1 *influxdb.Bucket) error

CreateBucket mocks base method

func (*MockBucketService) DeleteBucket

func (m *MockBucketService) DeleteBucket(arg0 context.Context, arg1 platform.ID) error

DeleteBucket mocks base method

func (*MockBucketService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockBucketService) FindBucket

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

Create mocks base method

func (*MockDBRPMappingService) Delete

func (m *MockDBRPMappingService) Delete(arg0 context.Context, arg1, arg2 platform.ID) error

Delete mocks base method

func (*MockDBRPMappingService) EXPECT

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

FindMany mocks base method

func (*MockDBRPMappingService) Update added in v2.1.0

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

EXPECT returns an object that allows the caller to indicate expected use

func (*MockEventRecorder) Record

func (m *MockEventRecorder) Record(arg0 context.Context, arg1 metric.Event)

Record mocks base method

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

func (m *MockOrganizationService) DeleteOrganization(arg0 context.Context, arg1 platform.ID) error

DeleteOrganization mocks base method

func (*MockOrganizationService) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockOrganizationService) FindOrganization

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

FindOrganizations mocks base method

func (*MockOrganizationService) UpdateOrganization

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

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL