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 ¶
- type CommandRegistrar
- type Loader
- type ResponseParser
- type Stub
- func (_m *Stub) Issue(tokensToIssue []*token.Token, waitTimeout time.Duration) (cmd.StubResponse, error)
- func (_m *Stub) ListTokens() (cmd.StubResponse, error)
- func (_m *Stub) Redeem(tokenIDs []*token.TokenId, quantity string, waitTimeout time.Duration) (cmd.StubResponse, error)
- func (_m *Stub) Setup(configFilePath string, channel string, mspPath string, mspID string) error
- func (_m *Stub) Transfer(tokenIDs []*token.TokenId, shares []*token.RecipientShare, ...) (cmd.StubResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandRegistrar ¶
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 ¶
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) TokenOwner ¶
func (_m *Loader) TokenOwner(s string) (*token.TokenOwner, error)
TokenOwner provides a mock function with given fields: s
type ResponseParser ¶
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 ¶
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