mocks

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

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) Get

func (fake *ConfigService) Get(key *config.Key) (*config.Value, error)

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) Query

func (fake *ConfigService) Query(criteria *config.Criteria) ([]*config.KeyValue, error)

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{}

Jump to

Keyboard shortcuts

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