mocks

package
v0.67.0 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 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 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) Close

func (m *MockTokenStore) Close()

Close mocks base method.

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

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

Jump to

Keyboard shortcuts

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