ChannelResponse is an autogenerated mock type for the ChannelResponse type
type ChannelResponse struct { mock.Mock }
func (_m *ChannelResponse) Config() (*discovery.ConfigResult, error)
Config provides a mock function with given fields:
func (_m *ChannelResponse) Endorsers(invocationChain client.InvocationChain, f client.Filter) (client.Endorsers, error)
Endorsers provides a mock function with given fields: invocationChain, f
func (_m *ChannelResponse) Peers(invocationChain ...*discovery.ChaincodeCall) ([]*client.Peer, error)
Peers provides a mock function with given fields: invocationChain
CommandRegistrar is an autogenerated mock type for the CommandRegistrar type
type CommandRegistrar struct { mock.Mock }
func (_m *CommandRegistrar) Command(name string, help string, onCommand common.CLICommand) *kingpin.CmdClause
Command provides a mock function with given fields: name, help, onCommand
LocalResponse is an autogenerated mock type for the LocalResponse type
type LocalResponse struct { mock.Mock }
func (_m *LocalResponse) Peers() ([]*discovery.Peer, error)
Peers provides a mock function with given fields:
ResponseParser is an autogenerated mock type for the ResponseParser type
type ResponseParser struct { mock.Mock }
func (_m *ResponseParser) ParseResponse(channel string, response discovery.ServiceResponse) error
ParseResponse provides a mock function with given fields: channel, response
ServiceResponse is an autogenerated mock type for the ServiceResponse type
type ServiceResponse struct { mock.Mock }
func (_m *ServiceResponse) ForChannel(_a0 string) discovery.ChannelResponse
ForChannel provides a mock function with given fields: _a0
func (_m *ServiceResponse) ForLocal() discovery.LocalResponse
ForLocal provides a mock function with given fields:
func (_m *ServiceResponse) Raw() *protosdiscovery.Response
Raw provides a mock function with given fields:
Stub is an autogenerated mock type for the Stub type
type Stub struct { mock.Mock }
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