mocks

package
v0.0.0-...-602d9af Latest Latest
Warning

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

Go to latest
Published: Jun 12, 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.

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 ChannelResponse

type ChannelResponse struct {
	mock.Mock
}

ChannelResponse is an autogenerated mock type for the ChannelResponse type

func (*ChannelResponse) Config

func (_m *ChannelResponse) Config() (*discovery.ConfigResult, error)

Config provides a mock function with given fields:

func (*ChannelResponse) Endorsers

func (_m *ChannelResponse) Endorsers(invocationChain client.InvocationChain, f client.Filter) (client.Endorsers, error)

Endorsers provides a mock function with given fields: invocationChain, f

func (*ChannelResponse) Peers

func (_m *ChannelResponse) Peers(invocationChain ...*discovery.ChaincodeCall) ([]*client.Peer, error)

Peers provides a mock function with given fields: invocationChain

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 LocalResponse

type LocalResponse struct {
	mock.Mock
}

LocalResponse is an autogenerated mock type for the LocalResponse type

func (*LocalResponse) Peers

func (_m *LocalResponse) Peers() ([]*discovery.Peer, error)

Peers provides a mock function with given fields:

type ResponseParser

type ResponseParser struct {
	mock.Mock
}

ResponseParser is an autogenerated mock type for the ResponseParser type

func (*ResponseParser) ParseResponse

func (_m *ResponseParser) ParseResponse(channel string, response discovery.ServiceResponse) error

ParseResponse provides a mock function with given fields: channel, response

type ServiceResponse

type ServiceResponse struct {
	mock.Mock
}

ServiceResponse is an autogenerated mock type for the ServiceResponse type

func (*ServiceResponse) ForChannel

func (_m *ServiceResponse) ForChannel(_a0 string) discovery.ChannelResponse

ForChannel provides a mock function with given fields: _a0

func (*ServiceResponse) ForLocal

func (_m *ServiceResponse) ForLocal() discovery.LocalResponse

ForLocal provides a mock function with given fields:

func (*ServiceResponse) Raw

Raw provides a mock function with given fields:

type Stub

type Stub struct {
	mock.Mock
}

Stub is an autogenerated mock type for the Stub type

func (*Stub) Send

func (_m *Stub) Send(server string, conf common.Config, req *discovery.Request) (cmd.ServiceResponse, error)

Send provides a mock function with given fields: server, conf, req

Jump to

Keyboard shortcuts

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