mocks

package
v0.0.0-...-d7b48f7 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2019 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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 ChainReplicator

type ChainReplicator struct {
	mock.Mock
}

ChainReplicator is an autogenerated mock type for the ChainReplicator type

func (*ChainReplicator) ReplicateChains

func (_m *ChainReplicator) ReplicateChains(lastConfigBlock *common.Block, chains []string) []string

ReplicateChains provides a mock function with given fields: lastConfigBlock, chains

type Factory

type Factory struct {
	mock.Mock
}

Factory is an autogenerated mock type for the Factory type

func (*Factory) ChainIDs

func (_m *Factory) ChainIDs() []string

ChainIDs provides a mock function with given fields:

func (*Factory) Close

func (_m *Factory) Close()

Close provides a mock function with given fields:

func (*Factory) GetOrCreate

func (_m *Factory) GetOrCreate(chainID string) (blockledger.ReadWriter, error)

GetOrCreate provides a mock function with given fields: chainID

type HealthChecker

type HealthChecker struct {
	RegisterCheckerStub func(string, healthz.HealthChecker) error
	// contains filtered or unexported fields
}

func (*HealthChecker) Invocations

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

func (*HealthChecker) RegisterChecker

func (fake *HealthChecker) RegisterChecker(arg1 string, arg2 healthz.HealthChecker) error

func (*HealthChecker) RegisterCheckerArgsForCall

func (fake *HealthChecker) RegisterCheckerArgsForCall(i int) (string, healthz.HealthChecker)

func (*HealthChecker) RegisterCheckerCallCount

func (fake *HealthChecker) RegisterCheckerCallCount() int

func (*HealthChecker) RegisterCheckerCalls

func (fake *HealthChecker) RegisterCheckerCalls(stub func(string, healthz.HealthChecker) error)

func (*HealthChecker) RegisterCheckerReturns

func (fake *HealthChecker) RegisterCheckerReturns(result1 error)

func (*HealthChecker) RegisterCheckerReturnsOnCall

func (fake *HealthChecker) RegisterCheckerReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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