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: 4 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

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) config.Service
	// contains filtered or unexported fields
}

func (*ConfigServiceProvider) ForChannel

func (fake *ConfigServiceProvider) ForChannel(channelID string) config.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 config.Service)

func (*ConfigServiceProvider) ForChannelReturnsOnCall

func (fake *ConfigServiceProvider) ForChannelReturnsOnCall(i int, result1 config.Service)

func (*ConfigServiceProvider) Invocations

func (fake *ConfigServiceProvider) Invocations() map[string][][]interface{}

type TxnClient

type TxnClient struct {
	QueryStub func(request channel.Request, options ...channel.RequestOption) (channel.Response, error)

	ExecuteStub func(request channel.Request, options ...channel.RequestOption) (channel.Response, error)
	// contains filtered or unexported fields
}

func (*TxnClient) Execute

func (fake *TxnClient) Execute(request channel.Request, options ...channel.RequestOption) (channel.Response, error)

func (*TxnClient) ExecuteArgsForCall

func (fake *TxnClient) ExecuteArgsForCall(i int) (channel.Request, []channel.RequestOption)

func (*TxnClient) ExecuteCallCount

func (fake *TxnClient) ExecuteCallCount() int

func (*TxnClient) ExecuteReturns

func (fake *TxnClient) ExecuteReturns(result1 channel.Response, result2 error)

func (*TxnClient) ExecuteReturnsOnCall

func (fake *TxnClient) ExecuteReturnsOnCall(i int, result1 channel.Response, result2 error)

func (*TxnClient) Invocations

func (fake *TxnClient) Invocations() map[string][][]interface{}

func (*TxnClient) Query

func (fake *TxnClient) Query(request channel.Request, options ...channel.RequestOption) (channel.Response, error)

func (*TxnClient) QueryArgsForCall

func (fake *TxnClient) QueryArgsForCall(i int) (channel.Request, []channel.RequestOption)

func (*TxnClient) QueryCallCount

func (fake *TxnClient) QueryCallCount() int

func (*TxnClient) QueryReturns

func (fake *TxnClient) QueryReturns(result1 channel.Response, result2 error)

func (*TxnClient) QueryReturnsOnCall

func (fake *TxnClient) QueryReturnsOnCall(i int, result1 channel.Response, result2 error)

Jump to

Keyboard shortcuts

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