Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockModule
- func (m *MockModule) AuthNew(arg0 context.Context, arg1 []auth.Permission) (string, error)
- func (m *MockModule) AuthVerify(arg0 context.Context, arg1 string) ([]auth.Permission, error)
- func (m *MockModule) EXPECT() *MockModuleMockRecorder
- func (m *MockModule) Info(arg0 context.Context) (node.Info, error)
- func (m *MockModule) LogLevelSet(arg0 context.Context, arg1, arg2 string) error
- func (m *MockModule) Ready(arg0 context.Context) (bool, error)
- type MockModuleMockRecorder
- func (mr *MockModuleMockRecorder) AuthNew(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) AuthVerify(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) Info(arg0 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) LogLevelSet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockModuleMockRecorder) Ready(arg0 interface{}) *gomock.Call
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) LogLevelSet ¶
func (m *MockModule) LogLevelSet(arg0 context.Context, arg1, arg2 string) error
LogLevelSet 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 ¶
func (mr *MockModuleMockRecorder) Ready(arg0 interface{}) *gomock.Call
Ready indicates an expected call of Ready.
Click to show internal directories.
Click to hide internal directories.