mock

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAuthState

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

MockAuthState is a mock of AuthState interface.

func NewMockAuthState

func NewMockAuthState(ctrl *gomock.Controller) *MockAuthState

NewMockAuthState creates a new mock instance.

func (*MockAuthState) DeleteAuth

func (m *MockAuthState) DeleteAuth(arg0 int64) error

DeleteAuth mocks base method.

func (*MockAuthState) EXPECT

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

func (*MockAuthState) ListAuth

func (m *MockAuthState) ListAuth() ([]*state.AuthStateModel, error)

ListAuth mocks base method.

func (*MockAuthState) SaveAuth

func (m *MockAuthState) SaveAuth(arg0 *state.AuthStateModel) (int64, error)

SaveAuth mocks base method.

func (*MockAuthState) UpdateAuth

func (m *MockAuthState) UpdateAuth(arg0 *state.AuthStateModel) error

UpdateAuth mocks base method.

type MockAuthStateMockRecorder

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

MockAuthStateMockRecorder is the mock recorder for MockAuthState.

func (*MockAuthStateMockRecorder) DeleteAuth

func (mr *MockAuthStateMockRecorder) DeleteAuth(arg0 interface{}) *gomock.Call

DeleteAuth indicates an expected call of DeleteAuth.

func (*MockAuthStateMockRecorder) ListAuth

func (mr *MockAuthStateMockRecorder) ListAuth() *gomock.Call

ListAuth indicates an expected call of ListAuth.

func (*MockAuthStateMockRecorder) SaveAuth

func (mr *MockAuthStateMockRecorder) SaveAuth(arg0 interface{}) *gomock.Call

SaveAuth indicates an expected call of SaveAuth.

func (*MockAuthStateMockRecorder) UpdateAuth

func (mr *MockAuthStateMockRecorder) UpdateAuth(arg0 interface{}) *gomock.Call

UpdateAuth indicates an expected call of UpdateAuth.

Jump to

Keyboard shortcuts

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