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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (_m *ServiceResponse) Raw() *protosdiscovery.Response
Raw provides a mock function with given fields: