Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockConnection ¶ added in v0.0.3
type MockConnection struct {
// contains filtered or unexported fields
}
MockConnection is a mock of Connection interface.
func NewMockConnection ¶ added in v0.0.3
func NewMockConnection(ctrl *gomock.Controller) *MockConnection
NewMockConnection creates a new mock instance.
func (*MockConnection) EXPECT ¶ added in v0.0.3
func (m *MockConnection) EXPECT() *MockConnectionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockConnection) GetConnection ¶ added in v0.0.3
GetConnection mocks base method.
type MockConnectionMockRecorder ¶ added in v0.0.3
type MockConnectionMockRecorder struct {
// contains filtered or unexported fields
}
MockConnectionMockRecorder is the mock recorder for MockConnection.
func (*MockConnectionMockRecorder) GetConnection ¶ added in v0.0.3
func (mr *MockConnectionMockRecorder) GetConnection(arg0 interface{}) *gomock.Call
GetConnection indicates an expected call of GetConnection.
type MockIAuthorizer ¶
type MockIAuthorizer struct {
// contains filtered or unexported fields
}
MockIAuthorizer is a mock of IAuthorizer interface.
func NewMockIAuthorizer ¶
func NewMockIAuthorizer(ctrl *gomock.Controller) *MockIAuthorizer
NewMockIAuthorizer creates a new mock instance.
func (*MockIAuthorizer) Authorize ¶
func (m *MockIAuthorizer) Authorize(arg0, arg1, arg2 interface{}) error
Authorize mocks base method.
func (*MockIAuthorizer) EXPECT ¶
func (m *MockIAuthorizer) EXPECT() *MockIAuthorizerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockIAuthorizerMockRecorder ¶
type MockIAuthorizerMockRecorder struct {
// contains filtered or unexported fields
}
MockIAuthorizerMockRecorder is the mock recorder for MockIAuthorizer.
func (*MockIAuthorizerMockRecorder) Authorize ¶
func (mr *MockIAuthorizerMockRecorder) Authorize(arg0, arg1, arg2 interface{}) *gomock.Call
Authorize indicates an expected call of Authorize.
type MockICache ¶
type MockICache struct {
// contains filtered or unexported fields
}
MockICache is a mock of ICache interface.
func NewMockICache ¶
func NewMockICache(ctrl *gomock.Controller) *MockICache
NewMockICache creates a new mock instance.
func (*MockICache) EXPECT ¶
func (m *MockICache) EXPECT() *MockICacheMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockICache) Get ¶
func (m *MockICache) Get(arg0 context.Context, arg1 string, arg2 protoreflect.ProtoMessage) error
Get mocks base method.
func (*MockICache) Set ¶
func (m *MockICache) Set(arg0 context.Context, arg1 string, arg2 protoreflect.ProtoMessage, arg3 ...time.Duration) error
Set mocks base method.
type MockICacheMockRecorder ¶
type MockICacheMockRecorder struct {
// contains filtered or unexported fields
}
MockICacheMockRecorder is the mock recorder for MockICache.
func (*MockICacheMockRecorder) Get ¶
func (mr *MockICacheMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockICacheMockRecorder) Set ¶
func (mr *MockICacheMockRecorder) Set(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call
Set indicates an expected call of Set.
type MockISession ¶
type MockISession struct {
// contains filtered or unexported fields
}
MockISession is a mock of ISession interface.
func NewMockISession ¶
func NewMockISession(ctrl *gomock.Controller) *MockISession
NewMockISession creates a new mock instance.
func (*MockISession) Claims ¶
func (m *MockISession) Claims(arg0 string) (*jwt.RegisteredClaims, error)
Claims mocks base method.
func (*MockISession) EXPECT ¶
func (m *MockISession) EXPECT() *MockISessionMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockISessionMockRecorder ¶
type MockISessionMockRecorder struct {
// contains filtered or unexported fields
}
MockISessionMockRecorder is the mock recorder for MockISession.
func (*MockISessionMockRecorder) Claims ¶
func (mr *MockISessionMockRecorder) Claims(arg0 interface{}) *gomock.Call
Claims indicates an expected call of Claims.
type MockObserver ¶
type MockObserver struct {
// contains filtered or unexported fields
}
MockObserver is a mock of Observer interface.
func NewMockObserver ¶
func NewMockObserver(ctrl *gomock.Controller) *MockObserver
NewMockObserver creates a new mock instance.
func (*MockObserver) EXPECT ¶
func (m *MockObserver) EXPECT() *MockObserverMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockObserver) Emit ¶
func (m *MockObserver) Emit(arg0 *observer.Event[string]) error
Emit mocks base method.
func (*MockObserver) Unsubscribe ¶
func (m *MockObserver) Unsubscribe(arg0 observer.SourceID)
Unsubscribe mocks base method.
type MockObserverMockRecorder ¶
type MockObserverMockRecorder struct {
// contains filtered or unexported fields
}
MockObserverMockRecorder is the mock recorder for MockObserver.
func (*MockObserverMockRecorder) Emit ¶
func (mr *MockObserverMockRecorder) Emit(arg0 interface{}) *gomock.Call
Emit indicates an expected call of Emit.
func (*MockObserverMockRecorder) Subscribe ¶
func (mr *MockObserverMockRecorder) Subscribe(arg0, arg1 interface{}) *gomock.Call
Subscribe indicates an expected call of Subscribe.
func (*MockObserverMockRecorder) Unsubscribe ¶
func (mr *MockObserverMockRecorder) Unsubscribe(arg0 interface{}) *gomock.Call
Unsubscribe indicates an expected call of Unsubscribe.