mock

package
v0.104.1 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2020 License: Apache-2.0 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 MockAuthRequestCache added in v0.20.0

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

MockAuthRequestCache is a mock of AuthRequestCache interface

func NewMockAuthRequestCache added in v0.20.0

func NewMockAuthRequestCache(ctrl *gomock.Controller) *MockAuthRequestCache

NewMockAuthRequestCache creates a new mock instance

func (*MockAuthRequestCache) DeleteAuthRequest added in v0.20.0

func (m *MockAuthRequestCache) DeleteAuthRequest(arg0 context.Context, arg1 string) error

DeleteAuthRequest mocks base method

func (*MockAuthRequestCache) EXPECT added in v0.20.0

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

func (*MockAuthRequestCache) GetAuthRequestByCode added in v0.20.0

func (m *MockAuthRequestCache) GetAuthRequestByCode(arg0 context.Context, arg1 string) (*model.AuthRequest, error)

GetAuthRequestByCode mocks base method

func (*MockAuthRequestCache) GetAuthRequestByID added in v0.20.0

func (m *MockAuthRequestCache) GetAuthRequestByID(arg0 context.Context, arg1 string) (*model.AuthRequest, error)

GetAuthRequestByID mocks base method

func (*MockAuthRequestCache) Health added in v0.20.0

func (m *MockAuthRequestCache) Health(arg0 context.Context) error

Health mocks base method

func (*MockAuthRequestCache) SaveAuthRequest added in v0.20.0

func (m *MockAuthRequestCache) SaveAuthRequest(arg0 context.Context, arg1 *model.AuthRequest) error

SaveAuthRequest mocks base method

func (*MockAuthRequestCache) UpdateAuthRequest added in v0.20.0

func (m *MockAuthRequestCache) UpdateAuthRequest(arg0 context.Context, arg1 *model.AuthRequest) error

UpdateAuthRequest mocks base method

type MockAuthRequestCacheMockRecorder added in v0.20.0

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

MockAuthRequestCacheMockRecorder is the mock recorder for MockAuthRequestCache

func (*MockAuthRequestCacheMockRecorder) DeleteAuthRequest added in v0.20.0

func (mr *MockAuthRequestCacheMockRecorder) DeleteAuthRequest(arg0, arg1 interface{}) *gomock.Call

DeleteAuthRequest indicates an expected call of DeleteAuthRequest

func (*MockAuthRequestCacheMockRecorder) GetAuthRequestByCode added in v0.20.0

func (mr *MockAuthRequestCacheMockRecorder) GetAuthRequestByCode(arg0, arg1 interface{}) *gomock.Call

GetAuthRequestByCode indicates an expected call of GetAuthRequestByCode

func (*MockAuthRequestCacheMockRecorder) GetAuthRequestByID added in v0.20.0

func (mr *MockAuthRequestCacheMockRecorder) GetAuthRequestByID(arg0, arg1 interface{}) *gomock.Call

GetAuthRequestByID indicates an expected call of GetAuthRequestByID

func (*MockAuthRequestCacheMockRecorder) Health added in v0.20.0

func (mr *MockAuthRequestCacheMockRecorder) Health(arg0 interface{}) *gomock.Call

Health indicates an expected call of Health

func (*MockAuthRequestCacheMockRecorder) SaveAuthRequest added in v0.20.0

func (mr *MockAuthRequestCacheMockRecorder) SaveAuthRequest(arg0, arg1 interface{}) *gomock.Call

SaveAuthRequest indicates an expected call of SaveAuthRequest

func (*MockAuthRequestCacheMockRecorder) UpdateAuthRequest added in v0.20.0

func (mr *MockAuthRequestCacheMockRecorder) UpdateAuthRequest(arg0, arg1 interface{}) *gomock.Call

UpdateAuthRequest indicates an expected call of UpdateAuthRequest

Jump to

Keyboard shortcuts

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