keychainmock

package
v1.11.12-rc.8 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package keychainmock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ledger

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

Ledger is a mock of Ledger interface.

func NewLedger

func NewLedger(ctrl *gomock.Controller) *Ledger

NewLedger creates a new mock instance.

func (*Ledger) Address

func (m *Ledger) Address(arg0 string, arg1 uint32) (ids.ShortID, error)

Address mocks base method.

func (*Ledger) Addresses

func (m *Ledger) Addresses(arg0 []uint32) ([]ids.ShortID, error)

Addresses mocks base method.

func (*Ledger) Disconnect

func (m *Ledger) Disconnect() error

Disconnect mocks base method.

func (*Ledger) EXPECT

func (m *Ledger) EXPECT() *LedgerMockRecorder

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

func (*Ledger) Sign

func (m *Ledger) Sign(arg0 []byte, arg1 []uint32) ([][]byte, error)

Sign mocks base method.

func (*Ledger) SignHash

func (m *Ledger) SignHash(arg0 []byte, arg1 []uint32) ([][]byte, error)

SignHash mocks base method.

func (*Ledger) Version

func (m *Ledger) Version() (*version.Semantic, error)

Version mocks base method.

type LedgerMockRecorder

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

LedgerMockRecorder is the mock recorder for Ledger.

func (*LedgerMockRecorder) Address

func (mr *LedgerMockRecorder) Address(arg0, arg1 any) *gomock.Call

Address indicates an expected call of Address.

func (*LedgerMockRecorder) Addresses

func (mr *LedgerMockRecorder) Addresses(arg0 any) *gomock.Call

Addresses indicates an expected call of Addresses.

func (*LedgerMockRecorder) Disconnect

func (mr *LedgerMockRecorder) Disconnect() *gomock.Call

Disconnect indicates an expected call of Disconnect.

func (*LedgerMockRecorder) Sign

func (mr *LedgerMockRecorder) Sign(arg0, arg1 any) *gomock.Call

Sign indicates an expected call of Sign.

func (*LedgerMockRecorder) SignHash

func (mr *LedgerMockRecorder) SignHash(arg0, arg1 any) *gomock.Call

SignHash indicates an expected call of SignHash.

func (*LedgerMockRecorder) Version

func (mr *LedgerMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version.

Jump to

Keyboard shortcuts

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