mocks

package
v2.0.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

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 influxdb.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 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

Create mocks base method

func (*MockDBRPMappingServiceV2) Delete

func (m *MockDBRPMappingServiceV2) Delete(arg0 context.Context, arg1, arg2 influxdb.ID) error

Delete mocks base method

func (*MockDBRPMappingServiceV2) EXPECT

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

FindMany mocks base method

func (*MockDBRPMappingServiceV2) Update

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

Jump to

Keyboard shortcuts

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