Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockSessionStore
- func (m *MockSessionStore) DeleteSession(arg0 context.Context, arg1 connections.Token) error
- func (m *MockSessionStore) EXPECT() *MockSessionStoreMockRecorder
- func (m *MockSessionStore) ListSessions(arg0 context.Context) ([]connections.Session, error)
- func (m *MockSessionStore) TrackSession(arg0 connections.Session) error
- type MockSessionStoreMockRecorder
- type MockTimeService
- type MockTimeServiceMockRecorder
- type MockTokenStore
- func (m *MockTokenStore) DeleteToken(arg0 connections.Token) error
- func (m *MockTokenStore) DescribeToken(arg0 connections.Token) (connections.TokenDescription, error)
- func (m *MockTokenStore) EXPECT() *MockTokenStoreMockRecorder
- func (m *MockTokenStore) ListTokens() ([]connections.TokenSummary, error)
- func (m *MockTokenStore) OnUpdate(arg0 func(context.Context, ...connections.TokenDescription))
- func (m *MockTokenStore) SaveToken(arg0 connections.TokenDescription) error
- func (m *MockTokenStore) TokenExists(arg0 connections.Token) (bool, error)
- type MockTokenStoreMockRecorder
- func (mr *MockTokenStoreMockRecorder) DeleteToken(arg0 interface{}) *gomock.Call
- func (mr *MockTokenStoreMockRecorder) DescribeToken(arg0 interface{}) *gomock.Call
- func (mr *MockTokenStoreMockRecorder) ListTokens() *gomock.Call
- func (mr *MockTokenStoreMockRecorder) OnUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockTokenStoreMockRecorder) SaveToken(arg0 interface{}) *gomock.Call
- func (mr *MockTokenStoreMockRecorder) TokenExists(arg0 interface{}) *gomock.Call
- type MockWalletStore
- func (m *MockWalletStore) EXPECT() *MockWalletStoreMockRecorder
- func (m *MockWalletStore) GetWallet(arg0 context.Context, arg1 string) (wallet.Wallet, error)
- func (m *MockWalletStore) IsWalletAlreadyUnlocked(arg0 context.Context, arg1 string) (bool, error)
- func (m *MockWalletStore) OnUpdate(arg0 func(context.Context, wallet.Event))
- func (m *MockWalletStore) UnlockWallet(arg0 context.Context, arg1, arg2 string) error
- func (m *MockWalletStore) WalletExists(arg0 context.Context, arg1 string) (bool, error)
- type MockWalletStoreMockRecorder
- func (mr *MockWalletStoreMockRecorder) GetWallet(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) IsWalletAlreadyUnlocked(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) OnUpdate(arg0 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) UnlockWallet(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockWalletStoreMockRecorder) WalletExists(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSessionStore ¶ added in v0.72.0
type MockSessionStore struct {
// contains filtered or unexported fields
}
MockSessionStore is a mock of SessionStore interface.
func NewMockSessionStore ¶ added in v0.72.0
func NewMockSessionStore(ctrl *gomock.Controller) *MockSessionStore
NewMockSessionStore creates a new mock instance.
func (*MockSessionStore) DeleteSession ¶ added in v0.72.0
func (m *MockSessionStore) DeleteSession(arg0 context.Context, arg1 connections.Token) error
DeleteSession mocks base method.
func (*MockSessionStore) EXPECT ¶ added in v0.72.0
func (m *MockSessionStore) EXPECT() *MockSessionStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSessionStore) ListSessions ¶ added in v0.72.0
func (m *MockSessionStore) ListSessions(arg0 context.Context) ([]connections.Session, error)
ListSessions mocks base method.
func (*MockSessionStore) TrackSession ¶ added in v0.72.0
func (m *MockSessionStore) TrackSession(arg0 connections.Session) error
TrackSession mocks base method.
type MockSessionStoreMockRecorder ¶ added in v0.72.0
type MockSessionStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockSessionStoreMockRecorder is the mock recorder for MockSessionStore.
func (*MockSessionStoreMockRecorder) DeleteSession ¶ added in v0.72.0
func (mr *MockSessionStoreMockRecorder) DeleteSession(arg0, arg1 interface{}) *gomock.Call
DeleteSession indicates an expected call of DeleteSession.
func (*MockSessionStoreMockRecorder) ListSessions ¶ added in v0.72.0
func (mr *MockSessionStoreMockRecorder) ListSessions(arg0 interface{}) *gomock.Call
ListSessions indicates an expected call of ListSessions.
func (*MockSessionStoreMockRecorder) TrackSession ¶ added in v0.72.0
func (mr *MockSessionStoreMockRecorder) TrackSession(arg0 interface{}) *gomock.Call
TrackSession indicates an expected call of TrackSession.
type MockTimeService ¶
type MockTimeService struct {
// contains filtered or unexported fields
}
MockTimeService is a mock of TimeService interface.
func NewMockTimeService ¶
func NewMockTimeService(ctrl *gomock.Controller) *MockTimeService
NewMockTimeService creates a new mock instance.
func (*MockTimeService) EXPECT ¶
func (m *MockTimeService) EXPECT() *MockTimeServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockTimeServiceMockRecorder ¶
type MockTimeServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockTimeServiceMockRecorder is the mock recorder for MockTimeService.
func (*MockTimeServiceMockRecorder) Now ¶
func (mr *MockTimeServiceMockRecorder) Now() *gomock.Call
Now indicates an expected call of Now.
type MockTokenStore ¶
type MockTokenStore struct {
// contains filtered or unexported fields
}
MockTokenStore is a mock of TokenStore interface.
func NewMockTokenStore ¶
func NewMockTokenStore(ctrl *gomock.Controller) *MockTokenStore
NewMockTokenStore creates a new mock instance.
func (*MockTokenStore) DeleteToken ¶
func (m *MockTokenStore) DeleteToken(arg0 connections.Token) error
DeleteToken mocks base method.
func (*MockTokenStore) DescribeToken ¶
func (m *MockTokenStore) DescribeToken(arg0 connections.Token) (connections.TokenDescription, error)
DescribeToken mocks base method.
func (*MockTokenStore) EXPECT ¶
func (m *MockTokenStore) EXPECT() *MockTokenStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockTokenStore) ListTokens ¶
func (m *MockTokenStore) ListTokens() ([]connections.TokenSummary, error)
ListTokens mocks base method.
func (*MockTokenStore) OnUpdate ¶
func (m *MockTokenStore) OnUpdate(arg0 func(context.Context, ...connections.TokenDescription))
OnUpdate mocks base method.
func (*MockTokenStore) SaveToken ¶
func (m *MockTokenStore) SaveToken(arg0 connections.TokenDescription) error
SaveToken mocks base method.
func (*MockTokenStore) TokenExists ¶
func (m *MockTokenStore) TokenExists(arg0 connections.Token) (bool, error)
TokenExists mocks base method.
type MockTokenStoreMockRecorder ¶
type MockTokenStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockTokenStoreMockRecorder is the mock recorder for MockTokenStore.
func (*MockTokenStoreMockRecorder) DeleteToken ¶
func (mr *MockTokenStoreMockRecorder) DeleteToken(arg0 interface{}) *gomock.Call
DeleteToken indicates an expected call of DeleteToken.
func (*MockTokenStoreMockRecorder) DescribeToken ¶
func (mr *MockTokenStoreMockRecorder) DescribeToken(arg0 interface{}) *gomock.Call
DescribeToken indicates an expected call of DescribeToken.
func (*MockTokenStoreMockRecorder) ListTokens ¶
func (mr *MockTokenStoreMockRecorder) ListTokens() *gomock.Call
ListTokens indicates an expected call of ListTokens.
func (*MockTokenStoreMockRecorder) OnUpdate ¶
func (mr *MockTokenStoreMockRecorder) OnUpdate(arg0 interface{}) *gomock.Call
OnUpdate indicates an expected call of OnUpdate.
func (*MockTokenStoreMockRecorder) SaveToken ¶
func (mr *MockTokenStoreMockRecorder) SaveToken(arg0 interface{}) *gomock.Call
SaveToken indicates an expected call of SaveToken.
func (*MockTokenStoreMockRecorder) TokenExists ¶
func (mr *MockTokenStoreMockRecorder) TokenExists(arg0 interface{}) *gomock.Call
TokenExists indicates an expected call of TokenExists.
type MockWalletStore ¶
type MockWalletStore struct {
// contains filtered or unexported fields
}
MockWalletStore is a mock of WalletStore interface.
func NewMockWalletStore ¶
func NewMockWalletStore(ctrl *gomock.Controller) *MockWalletStore
NewMockWalletStore creates a new mock instance.
func (*MockWalletStore) EXPECT ¶
func (m *MockWalletStore) EXPECT() *MockWalletStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockWalletStore) IsWalletAlreadyUnlocked ¶ added in v0.72.0
IsWalletAlreadyUnlocked mocks base method.
func (*MockWalletStore) OnUpdate ¶
func (m *MockWalletStore) OnUpdate(arg0 func(context.Context, wallet.Event))
OnUpdate mocks base method.
func (*MockWalletStore) UnlockWallet ¶
func (m *MockWalletStore) UnlockWallet(arg0 context.Context, arg1, arg2 string) error
UnlockWallet mocks base method.
func (*MockWalletStore) WalletExists ¶ added in v0.72.0
WalletExists mocks base method.
type MockWalletStoreMockRecorder ¶
type MockWalletStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockWalletStoreMockRecorder is the mock recorder for MockWalletStore.
func (*MockWalletStoreMockRecorder) GetWallet ¶
func (mr *MockWalletStoreMockRecorder) GetWallet(arg0, arg1 interface{}) *gomock.Call
GetWallet indicates an expected call of GetWallet.
func (*MockWalletStoreMockRecorder) IsWalletAlreadyUnlocked ¶ added in v0.72.0
func (mr *MockWalletStoreMockRecorder) IsWalletAlreadyUnlocked(arg0, arg1 interface{}) *gomock.Call
IsWalletAlreadyUnlocked indicates an expected call of IsWalletAlreadyUnlocked.
func (*MockWalletStoreMockRecorder) OnUpdate ¶
func (mr *MockWalletStoreMockRecorder) OnUpdate(arg0 interface{}) *gomock.Call
OnUpdate indicates an expected call of OnUpdate.
func (*MockWalletStoreMockRecorder) UnlockWallet ¶
func (mr *MockWalletStoreMockRecorder) UnlockWallet(arg0, arg1, arg2 interface{}) *gomock.Call
UnlockWallet indicates an expected call of UnlockWallet.
func (*MockWalletStoreMockRecorder) WalletExists ¶ added in v0.72.0
func (mr *MockWalletStoreMockRecorder) WalletExists(arg0, arg1 interface{}) *gomock.Call
WalletExists indicates an expected call of WalletExists.