mocks

package
v0.20.2-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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 MockModule

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

MockModule is a mock of Module interface.

func NewMockModule

func NewMockModule(ctrl *gomock.Controller) *MockModule

NewMockModule creates a new mock instance.

func (*MockModule) AuthNew

func (m *MockModule) AuthNew(arg0 context.Context, arg1 []auth.Permission) (string, error)

AuthNew mocks base method.

func (*MockModule) AuthVerify

func (m *MockModule) AuthVerify(arg0 context.Context, arg1 string) ([]auth.Permission, error)

AuthVerify mocks base method.

func (*MockModule) EXPECT

func (m *MockModule) EXPECT() *MockModuleMockRecorder

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

func (*MockModule) Info

func (m *MockModule) Info(arg0 context.Context) (node.Info, error)

Info mocks base method.

func (*MockModule) LogLevelSet

func (m *MockModule) LogLevelSet(arg0 context.Context, arg1, arg2 string) error

LogLevelSet mocks base method.

func (*MockModule) Ready added in v0.20.2

func (m *MockModule) Ready(arg0 context.Context) (bool, error)

Ready mocks base method.

type MockModuleMockRecorder

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

MockModuleMockRecorder is the mock recorder for MockModule.

func (*MockModuleMockRecorder) AuthNew

func (mr *MockModuleMockRecorder) AuthNew(arg0, arg1 interface{}) *gomock.Call

AuthNew indicates an expected call of AuthNew.

func (*MockModuleMockRecorder) AuthVerify

func (mr *MockModuleMockRecorder) AuthVerify(arg0, arg1 interface{}) *gomock.Call

AuthVerify indicates an expected call of AuthVerify.

func (*MockModuleMockRecorder) Info

func (mr *MockModuleMockRecorder) Info(arg0 interface{}) *gomock.Call

Info indicates an expected call of Info.

func (*MockModuleMockRecorder) LogLevelSet

func (mr *MockModuleMockRecorder) LogLevelSet(arg0, arg1, arg2 interface{}) *gomock.Call

LogLevelSet indicates an expected call of LogLevelSet.

func (*MockModuleMockRecorder) Ready added in v0.20.2

func (mr *MockModuleMockRecorder) Ready(arg0 interface{}) *gomock.Call

Ready indicates an expected call of Ready.

Jump to

Keyboard shortcuts

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