mocks

package
v0.0.0-...-ea48f79 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Code generated by mockery v1.0.0. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommandRegistrar

type CommandRegistrar struct {
	mock.Mock
}

CommandRegistrar is an autogenerated mock type for the CommandRegistrar type

func (*CommandRegistrar) Command

func (_m *CommandRegistrar) Command(name string, help string, onCommand common.CLICommand) *kingpin.CmdClause

Command provides a mock function with given fields: name, help, onCommand

type Loader

type Loader struct {
	mock.Mock
}

Loader is an autogenerated mock type for the Loader type

func (*Loader) Shares

func (_m *Loader) Shares(s string) ([]*token.RecipientShare, error)

Shares provides a mock function with given fields: s

func (*Loader) TokenIDs

func (_m *Loader) TokenIDs(s string) ([]*token.TokenId, error)

TokenIDs provides a mock function with given fields: s

func (*Loader) TokenOwner

func (_m *Loader) TokenOwner(s string) (*token.TokenOwner, error)

TokenOwner provides a mock function with given fields: s

type ResponseParser

type ResponseParser struct {
	mock.Mock
}

ResponseParser is an autogenerated mock type for the ResponseParser type

func (*ResponseParser) ParseResponse

func (_m *ResponseParser) ParseResponse(response token.StubResponse) error

ParseResponse provides a mock function with given fields: response

type Stub

type Stub struct {
	mock.Mock
}

Stub is an autogenerated mock type for the Stub type

func (*Stub) Issue

func (_m *Stub) Issue(tokensToIssue []*token.Token, waitTimeout time.Duration) (cmd.StubResponse, error)

Issue provides a mock function with given fields: tokensToIssue, waitTimeout

func (*Stub) ListTokens

func (_m *Stub) ListTokens() (cmd.StubResponse, error)

ListTokens provides a mock function with given fields:

func (*Stub) Redeem

func (_m *Stub) Redeem(tokenIDs []*token.TokenId, quantity string, waitTimeout time.Duration) (cmd.StubResponse, error)

Redeem provides a mock function with given fields: tokenIDs, quantity, waitTimeout

func (*Stub) Setup

func (_m *Stub) Setup(configFilePath string, channel string, mspPath string, mspID string) error

Setup provides a mock function with given fields: configFilePath, channel, mspPath, mspID

func (*Stub) Transfer

func (_m *Stub) Transfer(tokenIDs []*token.TokenId, shares []*token.RecipientShare, waitTimeout time.Duration) (cmd.StubResponse, error)

Transfer provides a mock function with given fields: tokenIDs, shares, waitTimeout

Jump to

Keyboard shortcuts

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