mocks

package
v2.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2022 License: MIT Imports: 5 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 MockAuthFinder

type MockAuthFinder struct {
	// contains filtered or unexported fields
}

MockAuthFinder is a mock of AuthFinder interface

func NewMockAuthFinder

func NewMockAuthFinder(ctrl *gomock.Controller) *MockAuthFinder

NewMockAuthFinder creates a new mock instance

func (*MockAuthFinder) EXPECT

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

func (*MockAuthFinder) FindAuthorizationByID

func (m *MockAuthFinder) FindAuthorizationByID(arg0 context.Context, arg1 platform.ID) (*influxdb.Authorization, error)

FindAuthorizationByID mocks base method

type MockAuthFinderMockRecorder

type MockAuthFinderMockRecorder struct {
	// contains filtered or unexported fields
}

MockAuthFinderMockRecorder is the mock recorder for MockAuthFinder

func (*MockAuthFinderMockRecorder) FindAuthorizationByID

func (mr *MockAuthFinderMockRecorder) FindAuthorizationByID(arg0, arg1 interface{}) *gomock.Call

FindAuthorizationByID indicates an expected call of FindAuthorizationByID

type MockAuthTokenFinder

type MockAuthTokenFinder struct {
	// contains filtered or unexported fields
}

MockAuthTokenFinder is a mock of AuthTokenFinder interface

func NewMockAuthTokenFinder

func NewMockAuthTokenFinder(ctrl *gomock.Controller) *MockAuthTokenFinder

NewMockAuthTokenFinder creates a new mock instance

func (*MockAuthTokenFinder) EXPECT

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

func (*MockAuthTokenFinder) FindAuthorizationByToken

func (m *MockAuthTokenFinder) FindAuthorizationByToken(arg0 context.Context, arg1 string) (*influxdb.Authorization, error)

FindAuthorizationByToken mocks base method

type MockAuthTokenFinderMockRecorder

type MockAuthTokenFinderMockRecorder struct {
	// contains filtered or unexported fields
}

MockAuthTokenFinderMockRecorder is the mock recorder for MockAuthTokenFinder

func (*MockAuthTokenFinderMockRecorder) FindAuthorizationByToken

func (mr *MockAuthTokenFinderMockRecorder) FindAuthorizationByToken(arg0, arg1 interface{}) *gomock.Call

FindAuthorizationByToken indicates an expected call of FindAuthorizationByToken

type MockPasswordComparer

type MockPasswordComparer struct {
	// contains filtered or unexported fields
}

MockPasswordComparer is a mock of PasswordComparer interface

func NewMockPasswordComparer

func NewMockPasswordComparer(ctrl *gomock.Controller) *MockPasswordComparer

NewMockPasswordComparer creates a new mock instance

func (*MockPasswordComparer) ComparePassword

func (m *MockPasswordComparer) ComparePassword(arg0 context.Context, arg1 platform.ID, arg2 string) error

ComparePassword mocks base method

func (*MockPasswordComparer) EXPECT

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

type MockPasswordComparerMockRecorder

type MockPasswordComparerMockRecorder struct {
	// contains filtered or unexported fields
}

MockPasswordComparerMockRecorder is the mock recorder for MockPasswordComparer

func (*MockPasswordComparerMockRecorder) ComparePassword

func (mr *MockPasswordComparerMockRecorder) ComparePassword(arg0, arg1, arg2 interface{}) *gomock.Call

ComparePassword indicates an expected call of ComparePassword

type MockPasswordService

type MockPasswordService struct {
	// contains filtered or unexported fields
}

MockPasswordService is a mock of PasswordService interface

func NewMockPasswordService

func NewMockPasswordService(ctrl *gomock.Controller) *MockPasswordService

NewMockPasswordService creates a new mock instance

func (*MockPasswordService) EXPECT

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

func (*MockPasswordService) SetPassword

func (m *MockPasswordService) SetPassword(arg0 context.Context, arg1 platform.ID, arg2 string) error

SetPassword mocks base method

type MockPasswordServiceMockRecorder

type MockPasswordServiceMockRecorder struct {
	// contains filtered or unexported fields
}

MockPasswordServiceMockRecorder is the mock recorder for MockPasswordService

func (*MockPasswordServiceMockRecorder) SetPassword

func (mr *MockPasswordServiceMockRecorder) SetPassword(arg0, arg1, arg2 interface{}) *gomock.Call

SetPassword indicates an expected call of SetPassword

type MockUserFinder

type MockUserFinder struct {
	// contains filtered or unexported fields
}

MockUserFinder is a mock of UserFinder interface

func NewMockUserFinder

func NewMockUserFinder(ctrl *gomock.Controller) *MockUserFinder

NewMockUserFinder creates a new mock instance

func (*MockUserFinder) EXPECT

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

func (*MockUserFinder) FindUserByID

func (m *MockUserFinder) FindUserByID(arg0 context.Context, arg1 platform.ID) (*influxdb.User, error)

FindUserByID mocks base method

type MockUserFinderMockRecorder

type MockUserFinderMockRecorder struct {
	// contains filtered or unexported fields
}

MockUserFinderMockRecorder is the mock recorder for MockUserFinder

func (*MockUserFinderMockRecorder) FindUserByID

func (mr *MockUserFinderMockRecorder) FindUserByID(arg0, arg1 interface{}) *gomock.Call

FindUserByID indicates an expected call of FindUserByID

Jump to

Keyboard shortcuts

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