Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockTimeService
- type MockTimeServiceMockRecorder
- type MockTokenStore
- func (m *MockTokenStore) Close()
- 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) Close() *gomock.Call
- 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) OnUpdate(arg0 func(context.Context, wallet.Wallet))
- func (m *MockWalletStore) UnlockWallet(arg0 context.Context, arg1, arg2 string) error
- type MockWalletStoreMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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) Close ¶
func (mr *MockTokenStoreMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
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) OnUpdate ¶
func (m *MockWalletStore) OnUpdate(arg0 func(context.Context, wallet.Wallet))
OnUpdate mocks base method.
func (*MockWalletStore) UnlockWallet ¶
func (m *MockWalletStore) UnlockWallet(arg0 context.Context, arg1, arg2 string) error
UnlockWallet 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) 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.