mocks

package
v0.73.0-preview.3 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

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 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

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

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

func (*MockTimeService) Now

func (m *MockTimeService) Now() time.Time

Now mocks base method.

type MockTimeServiceMockRecorder

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

MockTimeServiceMockRecorder is the mock recorder for MockTimeService.

func (*MockTimeServiceMockRecorder) Now

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

DescribeToken mocks base method.

func (*MockTokenStore) EXPECT

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

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

func (*MockWalletStore) GetWallet

func (m *MockWalletStore) GetWallet(arg0 context.Context, arg1 string) (wallet.Wallet, error)

GetWallet mocks base method.

func (*MockWalletStore) IsWalletAlreadyUnlocked added in v0.72.0

func (m *MockWalletStore) IsWalletAlreadyUnlocked(arg0 context.Context, arg1 string) (bool, error)

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

func (m *MockWalletStore) WalletExists(arg0 context.Context, arg1 string) (bool, error)

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.

Jump to

Keyboard shortcuts

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