mock

package
v0.0.0-...-bef689d Latest Latest
Warning

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

Go to latest
Published: May 28, 2019 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OrdererConfig

type OrdererConfig struct {
	ConsensusTypeStub func() string

	BatchSizeStub func() *ab.BatchSize

	BatchTimeoutStub func() time.Duration

	MaxChannelsCountStub func() uint64

	KafkaBrokersStub func() []string

	OrganizationsStub func() map[string]channelconfig.Org

	CapabilitiesStub func() channelconfig.OrdererCapabilities
	// contains filtered or unexported fields
}

func (*OrdererConfig) BatchSize

func (fake *OrdererConfig) BatchSize() *ab.BatchSize

func (*OrdererConfig) BatchSizeCallCount

func (fake *OrdererConfig) BatchSizeCallCount() int

func (*OrdererConfig) BatchSizeReturns

func (fake *OrdererConfig) BatchSizeReturns(result1 *ab.BatchSize)

func (*OrdererConfig) BatchSizeReturnsOnCall

func (fake *OrdererConfig) BatchSizeReturnsOnCall(i int, result1 *ab.BatchSize)

func (*OrdererConfig) BatchTimeout

func (fake *OrdererConfig) BatchTimeout() time.Duration

func (*OrdererConfig) BatchTimeoutCallCount

func (fake *OrdererConfig) BatchTimeoutCallCount() int

func (*OrdererConfig) BatchTimeoutReturns

func (fake *OrdererConfig) BatchTimeoutReturns(result1 time.Duration)

func (*OrdererConfig) BatchTimeoutReturnsOnCall

func (fake *OrdererConfig) BatchTimeoutReturnsOnCall(i int, result1 time.Duration)

func (*OrdererConfig) Capabilities

func (fake *OrdererConfig) Capabilities() channelconfig.OrdererCapabilities

func (*OrdererConfig) CapabilitiesCallCount

func (fake *OrdererConfig) CapabilitiesCallCount() int

func (*OrdererConfig) CapabilitiesReturns

func (fake *OrdererConfig) CapabilitiesReturns(result1 channelconfig.OrdererCapabilities)

func (*OrdererConfig) CapabilitiesReturnsOnCall

func (fake *OrdererConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.OrdererCapabilities)

func (*OrdererConfig) ConsensusType

func (fake *OrdererConfig) ConsensusType() string

func (*OrdererConfig) ConsensusTypeCallCount

func (fake *OrdererConfig) ConsensusTypeCallCount() int

func (*OrdererConfig) ConsensusTypeReturns

func (fake *OrdererConfig) ConsensusTypeReturns(result1 string)

func (*OrdererConfig) ConsensusTypeReturnsOnCall

func (fake *OrdererConfig) ConsensusTypeReturnsOnCall(i int, result1 string)

func (*OrdererConfig) Invocations

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

func (*OrdererConfig) KafkaBrokers

func (fake *OrdererConfig) KafkaBrokers() []string

func (*OrdererConfig) KafkaBrokersCallCount

func (fake *OrdererConfig) KafkaBrokersCallCount() int

func (*OrdererConfig) KafkaBrokersReturns

func (fake *OrdererConfig) KafkaBrokersReturns(result1 []string)

func (*OrdererConfig) KafkaBrokersReturnsOnCall

func (fake *OrdererConfig) KafkaBrokersReturnsOnCall(i int, result1 []string)

func (*OrdererConfig) MaxChannelsCount

func (fake *OrdererConfig) MaxChannelsCount() uint64

func (*OrdererConfig) MaxChannelsCountCallCount

func (fake *OrdererConfig) MaxChannelsCountCallCount() int

func (*OrdererConfig) MaxChannelsCountReturns

func (fake *OrdererConfig) MaxChannelsCountReturns(result1 uint64)

func (*OrdererConfig) MaxChannelsCountReturnsOnCall

func (fake *OrdererConfig) MaxChannelsCountReturnsOnCall(i int, result1 uint64)

func (*OrdererConfig) Organizations

func (fake *OrdererConfig) Organizations() map[string]channelconfig.Org

func (*OrdererConfig) OrganizationsCallCount

func (fake *OrdererConfig) OrganizationsCallCount() int

func (*OrdererConfig) OrganizationsReturns

func (fake *OrdererConfig) OrganizationsReturns(result1 map[string]channelconfig.Org)

func (*OrdererConfig) OrganizationsReturnsOnCall

func (fake *OrdererConfig) OrganizationsReturnsOnCall(i int, result1 map[string]channelconfig.Org)

type OrdererConfigFetcher

type OrdererConfigFetcher struct {
	OrdererConfigStub func() (channelconfig.Orderer, bool)
	// contains filtered or unexported fields
}

func (*OrdererConfigFetcher) Invocations

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

func (*OrdererConfigFetcher) OrdererConfig

func (fake *OrdererConfigFetcher) OrdererConfig() (channelconfig.Orderer, bool)

func (*OrdererConfigFetcher) OrdererConfigCallCount

func (fake *OrdererConfigFetcher) OrdererConfigCallCount() int

func (*OrdererConfigFetcher) OrdererConfigReturns

func (fake *OrdererConfigFetcher) OrdererConfigReturns(result1 channelconfig.Orderer, result2 bool)

func (*OrdererConfigFetcher) OrdererConfigReturnsOnCall

func (fake *OrdererConfigFetcher) OrdererConfigReturnsOnCall(i int, result1 channelconfig.Orderer, result2 bool)

Jump to

Keyboard shortcuts

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