Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockAuthRequestCache
- func (m *MockAuthRequestCache) DeleteAuthRequest(arg0 context.Context, arg1 string) error
- func (m *MockAuthRequestCache) EXPECT() *MockAuthRequestCacheMockRecorder
- func (m *MockAuthRequestCache) GetAuthRequestByCode(arg0 context.Context, arg1 string) (*model.AuthRequest, error)
- func (m *MockAuthRequestCache) GetAuthRequestByID(arg0 context.Context, arg1 string) (*model.AuthRequest, error)
- func (m *MockAuthRequestCache) Health(arg0 context.Context) error
- func (m *MockAuthRequestCache) SaveAuthRequest(arg0 context.Context, arg1 *model.AuthRequest) error
- func (m *MockAuthRequestCache) UpdateAuthRequest(arg0 context.Context, arg1 *model.AuthRequest) error
- type MockAuthRequestCacheMockRecorder
- func (mr *MockAuthRequestCacheMockRecorder) DeleteAuthRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthRequestCacheMockRecorder) GetAuthRequestByCode(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthRequestCacheMockRecorder) GetAuthRequestByID(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthRequestCacheMockRecorder) Health(arg0 interface{}) *gomock.Call
- func (mr *MockAuthRequestCacheMockRecorder) SaveAuthRequest(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAuthRequestCacheMockRecorder) UpdateAuthRequest(arg0, arg1 interface{}) *gomock.Call
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
func (m *MockAuthRequestCache) EXPECT() *MockAuthRequestCacheMockRecorder
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