Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type OrdererConfig
- func (fake *OrdererConfig) BatchSize() *orderer.BatchSize
- func (fake *OrdererConfig) BatchSizeCallCount() int
- func (fake *OrdererConfig) BatchSizeCalls(stub func() *orderer.BatchSize)
- func (fake *OrdererConfig) BatchSizeReturns(result1 *orderer.BatchSize)
- func (fake *OrdererConfig) BatchSizeReturnsOnCall(i int, result1 *orderer.BatchSize)
- func (fake *OrdererConfig) BatchTimeout() time.Duration
- func (fake *OrdererConfig) BatchTimeoutCallCount() int
- func (fake *OrdererConfig) BatchTimeoutCalls(stub func() time.Duration)
- func (fake *OrdererConfig) BatchTimeoutReturns(result1 time.Duration)
- func (fake *OrdererConfig) BatchTimeoutReturnsOnCall(i int, result1 time.Duration)
- func (fake *OrdererConfig) Capabilities() channelconfig.OrdererCapabilities
- func (fake *OrdererConfig) CapabilitiesCallCount() int
- func (fake *OrdererConfig) CapabilitiesCalls(stub func() channelconfig.OrdererCapabilities)
- func (fake *OrdererConfig) CapabilitiesReturns(result1 channelconfig.OrdererCapabilities)
- func (fake *OrdererConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.OrdererCapabilities)
- func (fake *OrdererConfig) ConsensusMetadata() []byte
- func (fake *OrdererConfig) ConsensusMetadataCallCount() int
- func (fake *OrdererConfig) ConsensusMetadataCalls(stub func() []byte)
- func (fake *OrdererConfig) ConsensusMetadataReturns(result1 []byte)
- func (fake *OrdererConfig) ConsensusMetadataReturnsOnCall(i int, result1 []byte)
- func (fake *OrdererConfig) ConsensusState() orderer.ConsensusType_State
- func (fake *OrdererConfig) ConsensusStateCallCount() int
- func (fake *OrdererConfig) ConsensusStateCalls(stub func() orderer.ConsensusType_State)
- func (fake *OrdererConfig) ConsensusStateReturns(result1 orderer.ConsensusType_State)
- func (fake *OrdererConfig) ConsensusStateReturnsOnCall(i int, result1 orderer.ConsensusType_State)
- func (fake *OrdererConfig) ConsensusType() string
- func (fake *OrdererConfig) ConsensusTypeCallCount() int
- func (fake *OrdererConfig) ConsensusTypeCalls(stub func() string)
- func (fake *OrdererConfig) ConsensusTypeReturns(result1 string)
- func (fake *OrdererConfig) ConsensusTypeReturnsOnCall(i int, result1 string)
- func (fake *OrdererConfig) Invocations() map[string][][]interface{}
- func (fake *OrdererConfig) KafkaBrokers() []string
- func (fake *OrdererConfig) KafkaBrokersCallCount() int
- func (fake *OrdererConfig) KafkaBrokersCalls(stub func() []string)
- func (fake *OrdererConfig) KafkaBrokersReturns(result1 []string)
- func (fake *OrdererConfig) KafkaBrokersReturnsOnCall(i int, result1 []string)
- func (fake *OrdererConfig) MaxChannelsCount() uint64
- func (fake *OrdererConfig) MaxChannelsCountCallCount() int
- func (fake *OrdererConfig) MaxChannelsCountCalls(stub func() uint64)
- func (fake *OrdererConfig) MaxChannelsCountReturns(result1 uint64)
- func (fake *OrdererConfig) MaxChannelsCountReturnsOnCall(i int, result1 uint64)
- func (fake *OrdererConfig) Organizations() map[string]channelconfig.OrdererOrg
- func (fake *OrdererConfig) OrganizationsCallCount() int
- func (fake *OrdererConfig) OrganizationsCalls(stub func() map[string]channelconfig.OrdererOrg)
- func (fake *OrdererConfig) OrganizationsReturns(result1 map[string]channelconfig.OrdererOrg)
- func (fake *OrdererConfig) OrganizationsReturnsOnCall(i int, result1 map[string]channelconfig.OrdererOrg)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrdererConfig ¶
type OrdererConfig struct { BatchSizeStub func() *orderer.BatchSize BatchTimeoutStub func() time.Duration CapabilitiesStub func() channelconfig.OrdererCapabilities ConsensusMetadataStub func() []byte ConsensusStateStub func() orderer.ConsensusType_State ConsensusTypeStub func() string KafkaBrokersStub func() []string MaxChannelsCountStub func() uint64 OrganizationsStub func() map[string]channelconfig.OrdererOrg // contains filtered or unexported fields }
func (*OrdererConfig) BatchSize ¶
func (fake *OrdererConfig) BatchSize() *orderer.BatchSize
func (*OrdererConfig) BatchSizeCallCount ¶
func (fake *OrdererConfig) BatchSizeCallCount() int
func (*OrdererConfig) BatchSizeCalls ¶
func (fake *OrdererConfig) BatchSizeCalls(stub func() *orderer.BatchSize)
func (*OrdererConfig) BatchSizeReturns ¶
func (fake *OrdererConfig) BatchSizeReturns(result1 *orderer.BatchSize)
func (*OrdererConfig) BatchSizeReturnsOnCall ¶
func (fake *OrdererConfig) BatchSizeReturnsOnCall(i int, result1 *orderer.BatchSize)
func (*OrdererConfig) BatchTimeout ¶
func (fake *OrdererConfig) BatchTimeout() time.Duration
func (*OrdererConfig) BatchTimeoutCallCount ¶
func (fake *OrdererConfig) BatchTimeoutCallCount() int
func (*OrdererConfig) BatchTimeoutCalls ¶
func (fake *OrdererConfig) BatchTimeoutCalls(stub func() time.Duration)
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) CapabilitiesCalls ¶
func (fake *OrdererConfig) CapabilitiesCalls(stub func() channelconfig.OrdererCapabilities)
func (*OrdererConfig) CapabilitiesReturns ¶
func (fake *OrdererConfig) CapabilitiesReturns(result1 channelconfig.OrdererCapabilities)
func (*OrdererConfig) CapabilitiesReturnsOnCall ¶
func (fake *OrdererConfig) CapabilitiesReturnsOnCall(i int, result1 channelconfig.OrdererCapabilities)
func (*OrdererConfig) ConsensusMetadata ¶
func (fake *OrdererConfig) ConsensusMetadata() []byte
func (*OrdererConfig) ConsensusMetadataCallCount ¶
func (fake *OrdererConfig) ConsensusMetadataCallCount() int
func (*OrdererConfig) ConsensusMetadataCalls ¶
func (fake *OrdererConfig) ConsensusMetadataCalls(stub func() []byte)
func (*OrdererConfig) ConsensusMetadataReturns ¶
func (fake *OrdererConfig) ConsensusMetadataReturns(result1 []byte)
func (*OrdererConfig) ConsensusMetadataReturnsOnCall ¶
func (fake *OrdererConfig) ConsensusMetadataReturnsOnCall(i int, result1 []byte)
func (*OrdererConfig) ConsensusState ¶
func (fake *OrdererConfig) ConsensusState() orderer.ConsensusType_State
func (*OrdererConfig) ConsensusStateCallCount ¶
func (fake *OrdererConfig) ConsensusStateCallCount() int
func (*OrdererConfig) ConsensusStateCalls ¶
func (fake *OrdererConfig) ConsensusStateCalls(stub func() orderer.ConsensusType_State)
func (*OrdererConfig) ConsensusStateReturns ¶
func (fake *OrdererConfig) ConsensusStateReturns(result1 orderer.ConsensusType_State)
func (*OrdererConfig) ConsensusStateReturnsOnCall ¶
func (fake *OrdererConfig) ConsensusStateReturnsOnCall(i int, result1 orderer.ConsensusType_State)
func (*OrdererConfig) ConsensusType ¶
func (fake *OrdererConfig) ConsensusType() string
func (*OrdererConfig) ConsensusTypeCallCount ¶
func (fake *OrdererConfig) ConsensusTypeCallCount() int
func (*OrdererConfig) ConsensusTypeCalls ¶
func (fake *OrdererConfig) ConsensusTypeCalls(stub func() string)
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) KafkaBrokersCalls ¶
func (fake *OrdererConfig) KafkaBrokersCalls(stub func() []string)
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) MaxChannelsCountCalls ¶
func (fake *OrdererConfig) MaxChannelsCountCalls(stub func() uint64)
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.OrdererOrg
func (*OrdererConfig) OrganizationsCallCount ¶
func (fake *OrdererConfig) OrganizationsCallCount() int
func (*OrdererConfig) OrganizationsCalls ¶
func (fake *OrdererConfig) OrganizationsCalls(stub func() map[string]channelconfig.OrdererOrg)
func (*OrdererConfig) OrganizationsReturns ¶
func (fake *OrdererConfig) OrganizationsReturns(result1 map[string]channelconfig.OrdererOrg)
func (*OrdererConfig) OrganizationsReturnsOnCall ¶
func (fake *OrdererConfig) OrganizationsReturnsOnCall(i int, result1 map[string]channelconfig.OrdererOrg)
Click to show internal directories.
Click to hide internal directories.