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: 4 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 MockAuthService

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

MockAuthService is a mock of AuthService interface.

func NewMockAuthService

func NewMockAuthService(ctrl *gomock.Controller) *MockAuthService

NewMockAuthService creates a new mock instance.

func (*MockAuthService) DeleteKey

func (m *MockAuthService) DeleteKey(arg0 int64) error

DeleteKey mocks base method.

func (*MockAuthService) EXPECT

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

func (*MockAuthService) GenerateNewKey

func (m *MockAuthService) GenerateNewKey(arg0, arg1 string) (*state.AuthStateModel, error)

GenerateNewKey mocks base method.

func (*MockAuthService) ListKeys

func (m *MockAuthService) ListKeys() ([]*state.AuthStateModel, error)

ListKeys mocks base method.

func (*MockAuthService) Stream

Stream mocks base method.

func (*MockAuthService) Unary

Unary mocks base method.

func (*MockAuthService) UpdateKey

func (m *MockAuthService) UpdateKey(arg0 int64, arg1, arg2 string) error

UpdateKey mocks base method.

type MockAuthServiceMockRecorder

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

MockAuthServiceMockRecorder is the mock recorder for MockAuthService.

func (*MockAuthServiceMockRecorder) DeleteKey

func (mr *MockAuthServiceMockRecorder) DeleteKey(arg0 interface{}) *gomock.Call

DeleteKey indicates an expected call of DeleteKey.

func (*MockAuthServiceMockRecorder) GenerateNewKey

func (mr *MockAuthServiceMockRecorder) GenerateNewKey(arg0, arg1 interface{}) *gomock.Call

GenerateNewKey indicates an expected call of GenerateNewKey.

func (*MockAuthServiceMockRecorder) ListKeys

func (mr *MockAuthServiceMockRecorder) ListKeys() *gomock.Call

ListKeys indicates an expected call of ListKeys.

func (*MockAuthServiceMockRecorder) Stream

func (mr *MockAuthServiceMockRecorder) Stream() *gomock.Call

Stream indicates an expected call of Stream.

func (*MockAuthServiceMockRecorder) Unary

Unary indicates an expected call of Unary.

func (*MockAuthServiceMockRecorder) UpdateKey

func (mr *MockAuthServiceMockRecorder) UpdateKey(arg0, arg1, arg2 interface{}) *gomock.Call

UpdateKey indicates an expected call of UpdateKey.

Jump to

Keyboard shortcuts

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