Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type ConfigService
- func (fake *ConfigService) AddUpdateHandler(handler config.UpdateHandler)
- func (fake *ConfigService) AddUpdateHandlerArgsForCall(i int) config.UpdateHandler
- func (fake *ConfigService) AddUpdateHandlerCallCount() int
- func (fake *ConfigService) Get(key *config.Key) (*config.Value, error)
- func (fake *ConfigService) GetArgsForCall(i int) *config.Key
- func (fake *ConfigService) GetCallCount() int
- func (fake *ConfigService) GetReturns(result1 *config.Value, result2 error)
- func (fake *ConfigService) GetReturnsOnCall(i int, result1 *config.Value, result2 error)
- func (fake *ConfigService) Invocations() map[string][][]interface{}
- func (fake *ConfigService) Query(criteria *config.Criteria) ([]*config.KeyValue, error)
- func (fake *ConfigService) QueryArgsForCall(i int) *config.Criteria
- func (fake *ConfigService) QueryCallCount() int
- func (fake *ConfigService) QueryReturns(result1 []*config.KeyValue, result2 error)
- func (fake *ConfigService) QueryReturnsOnCall(i int, result1 []*config.KeyValue, result2 error)
- type ConfigServiceProvider
- func (fake *ConfigServiceProvider) ForChannel(channelID string) ledgerconfig.Service
- func (fake *ConfigServiceProvider) ForChannelArgsForCall(i int) string
- func (fake *ConfigServiceProvider) ForChannelCallCount() int
- func (fake *ConfigServiceProvider) ForChannelReturns(result1 ledgerconfig.Service)
- func (fake *ConfigServiceProvider) ForChannelReturnsOnCall(i int, result1 ledgerconfig.Service)
- func (fake *ConfigServiceProvider) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigService ¶
type ConfigService struct { GetStub func(key *config.Key) (*config.Value, error) QueryStub func(criteria *config.Criteria) ([]*config.KeyValue, error) AddUpdateHandlerStub func(handler config.UpdateHandler) // contains filtered or unexported fields }
func (*ConfigService) AddUpdateHandler ¶
func (fake *ConfigService) AddUpdateHandler(handler config.UpdateHandler)
func (*ConfigService) AddUpdateHandlerArgsForCall ¶
func (fake *ConfigService) AddUpdateHandlerArgsForCall(i int) config.UpdateHandler
func (*ConfigService) AddUpdateHandlerCallCount ¶
func (fake *ConfigService) AddUpdateHandlerCallCount() int
func (*ConfigService) GetArgsForCall ¶
func (fake *ConfigService) GetArgsForCall(i int) *config.Key
func (*ConfigService) GetCallCount ¶
func (fake *ConfigService) GetCallCount() int
func (*ConfigService) GetReturns ¶
func (fake *ConfigService) GetReturns(result1 *config.Value, result2 error)
func (*ConfigService) GetReturnsOnCall ¶
func (fake *ConfigService) GetReturnsOnCall(i int, result1 *config.Value, result2 error)
func (*ConfigService) Invocations ¶
func (fake *ConfigService) Invocations() map[string][][]interface{}
func (*ConfigService) QueryArgsForCall ¶
func (fake *ConfigService) QueryArgsForCall(i int) *config.Criteria
func (*ConfigService) QueryCallCount ¶
func (fake *ConfigService) QueryCallCount() int
func (*ConfigService) QueryReturns ¶
func (fake *ConfigService) QueryReturns(result1 []*config.KeyValue, result2 error)
func (*ConfigService) QueryReturnsOnCall ¶
func (fake *ConfigService) QueryReturnsOnCall(i int, result1 []*config.KeyValue, result2 error)
type ConfigServiceProvider ¶
type ConfigServiceProvider struct { ForChannelStub func(channelID string) ledgerconfig.Service // contains filtered or unexported fields }
func (*ConfigServiceProvider) ForChannel ¶
func (fake *ConfigServiceProvider) ForChannel(channelID string) ledgerconfig.Service
func (*ConfigServiceProvider) ForChannelArgsForCall ¶
func (fake *ConfigServiceProvider) ForChannelArgsForCall(i int) string
func (*ConfigServiceProvider) ForChannelCallCount ¶
func (fake *ConfigServiceProvider) ForChannelCallCount() int
func (*ConfigServiceProvider) ForChannelReturns ¶
func (fake *ConfigServiceProvider) ForChannelReturns(result1 ledgerconfig.Service)
func (*ConfigServiceProvider) ForChannelReturnsOnCall ¶
func (fake *ConfigServiceProvider) ForChannelReturnsOnCall(i int, result1 ledgerconfig.Service)
func (*ConfigServiceProvider) Invocations ¶
func (fake *ConfigServiceProvider) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.