Documentation ¶
Overview ¶
伪造者生成的代码。不要编辑。
伪造者生成的代码。不要编辑。
伪造者生成的代码。不要编辑。
伪造者生成的代码。不要编辑。
伪造者生成的代码。不要编辑。
伪造者生成的代码。不要编辑。
Index ¶
- type ABServer
- func (fake *ABServer) Context() context.Context
- func (fake *ABServer) ContextCallCount() int
- func (fake *ABServer) ContextReturns(result1 context.Context)
- func (fake *ABServer) ContextReturnsOnCall(i int, result1 context.Context)
- func (fake *ABServer) Invocations() map[string][][]interface{}
- func (fake *ABServer) Recv() (*common.Envelope, error)
- func (fake *ABServer) RecvCallCount() int
- func (fake *ABServer) RecvMsg(m interface{}) error
- func (fake *ABServer) RecvMsgArgsForCall(i int) interface{}
- func (fake *ABServer) RecvMsgCallCount() int
- func (fake *ABServer) RecvMsgReturns(result1 error)
- func (fake *ABServer) RecvMsgReturnsOnCall(i int, result1 error)
- func (fake *ABServer) RecvReturns(result1 *common.Envelope, result2 error)
- func (fake *ABServer) RecvReturnsOnCall(i int, result1 *common.Envelope, result2 error)
- func (fake *ABServer) Send(arg1 *orderer.BroadcastResponse) error
- func (fake *ABServer) SendArgsForCall(i int) *orderer.BroadcastResponse
- func (fake *ABServer) SendCallCount() int
- func (fake *ABServer) SendHeader(arg1 metadata.MD) error
- func (fake *ABServer) SendHeaderArgsForCall(i int) metadata.MD
- func (fake *ABServer) SendHeaderCallCount() int
- func (fake *ABServer) SendHeaderReturns(result1 error)
- func (fake *ABServer) SendHeaderReturnsOnCall(i int, result1 error)
- func (fake *ABServer) SendMsg(m interface{}) error
- func (fake *ABServer) SendMsgArgsForCall(i int) interface{}
- func (fake *ABServer) SendMsgCallCount() int
- func (fake *ABServer) SendMsgReturns(result1 error)
- func (fake *ABServer) SendMsgReturnsOnCall(i int, result1 error)
- func (fake *ABServer) SendReturns(result1 error)
- func (fake *ABServer) SendReturnsOnCall(i int, result1 error)
- func (fake *ABServer) SetHeader(arg1 metadata.MD) error
- func (fake *ABServer) SetHeaderArgsForCall(i int) metadata.MD
- func (fake *ABServer) SetHeaderCallCount() int
- func (fake *ABServer) SetHeaderReturns(result1 error)
- func (fake *ABServer) SetHeaderReturnsOnCall(i int, result1 error)
- func (fake *ABServer) SetTrailer(arg1 metadata.MD)
- func (fake *ABServer) SetTrailerArgsForCall(i int) metadata.MD
- func (fake *ABServer) SetTrailerCallCount() int
- type ChannelSupport
- func (fake *ChannelSupport) ClassifyMsg(chdr *cb.ChannelHeader) msgprocessor.Classification
- func (fake *ChannelSupport) ClassifyMsgArgsForCall(i int) *cb.ChannelHeader
- func (fake *ChannelSupport) ClassifyMsgCallCount() int
- func (fake *ChannelSupport) ClassifyMsgReturns(result1 msgprocessor.Classification)
- func (fake *ChannelSupport) ClassifyMsgReturnsOnCall(i int, result1 msgprocessor.Classification)
- func (fake *ChannelSupport) Configure(config *cb.Envelope, configSeq uint64) error
- func (fake *ChannelSupport) ConfigureArgsForCall(i int) (*cb.Envelope, uint64)
- func (fake *ChannelSupport) ConfigureCallCount() int
- func (fake *ChannelSupport) ConfigureReturns(result1 error)
- func (fake *ChannelSupport) ConfigureReturnsOnCall(i int, result1 error)
- func (fake *ChannelSupport) Invocations() map[string][][]interface{}
- func (fake *ChannelSupport) Order(env *cb.Envelope, configSeq uint64) error
- func (fake *ChannelSupport) OrderArgsForCall(i int) (*cb.Envelope, uint64)
- func (fake *ChannelSupport) OrderCallCount() int
- func (fake *ChannelSupport) OrderReturns(result1 error)
- func (fake *ChannelSupport) OrderReturnsOnCall(i int, result1 error)
- func (fake *ChannelSupport) ProcessConfigMsg(env *cb.Envelope) (*cb.Envelope, uint64, error)
- func (fake *ChannelSupport) ProcessConfigMsgArgsForCall(i int) *cb.Envelope
- func (fake *ChannelSupport) ProcessConfigMsgCallCount() int
- func (fake *ChannelSupport) ProcessConfigMsgReturns(result1 *cb.Envelope, result2 uint64, result3 error)
- func (fake *ChannelSupport) ProcessConfigMsgReturnsOnCall(i int, result1 *cb.Envelope, result2 uint64, result3 error)
- func (fake *ChannelSupport) ProcessConfigUpdateMsg(env *cb.Envelope) (config *cb.Envelope, configSeq uint64, err error)
- func (fake *ChannelSupport) ProcessConfigUpdateMsgArgsForCall(i int) *cb.Envelope
- func (fake *ChannelSupport) ProcessConfigUpdateMsgCallCount() int
- func (fake *ChannelSupport) ProcessConfigUpdateMsgReturns(result1 *cb.Envelope, result2 uint64, result3 error)
- func (fake *ChannelSupport) ProcessConfigUpdateMsgReturnsOnCall(i int, result1 *cb.Envelope, result2 uint64, result3 error)
- func (fake *ChannelSupport) ProcessNormalMsg(env *cb.Envelope) (configSeq uint64, err error)
- func (fake *ChannelSupport) ProcessNormalMsgArgsForCall(i int) *cb.Envelope
- func (fake *ChannelSupport) ProcessNormalMsgCallCount() int
- func (fake *ChannelSupport) ProcessNormalMsgReturns(result1 uint64, result2 error)
- func (fake *ChannelSupport) ProcessNormalMsgReturnsOnCall(i int, result1 uint64, result2 error)
- func (fake *ChannelSupport) WaitReady() error
- func (fake *ChannelSupport) WaitReadyCallCount() int
- func (fake *ChannelSupport) WaitReadyReturns(result1 error)
- func (fake *ChannelSupport) WaitReadyReturnsOnCall(i int, result1 error)
- type ChannelSupportRegistrar
- func (fake *ChannelSupportRegistrar) BroadcastChannelSupport(msg *cb.Envelope) (*cb.ChannelHeader, bool, broadcast.ChannelSupport, error)
- func (fake *ChannelSupportRegistrar) BroadcastChannelSupportArgsForCall(i int) *cb.Envelope
- func (fake *ChannelSupportRegistrar) BroadcastChannelSupportCallCount() int
- func (fake *ChannelSupportRegistrar) BroadcastChannelSupportReturns(result1 *cb.ChannelHeader, result2 bool, result3 broadcast.ChannelSupport, ...)
- func (fake *ChannelSupportRegistrar) BroadcastChannelSupportReturnsOnCall(i int, result1 *cb.ChannelHeader, result2 bool, ...)
- func (fake *ChannelSupportRegistrar) Invocations() map[string][][]interface{}
- type MetricsCounter
- func (fake *MetricsCounter) Add(delta float64)
- func (fake *MetricsCounter) AddArgsForCall(i int) float64
- func (fake *MetricsCounter) AddCallCount() int
- func (fake *MetricsCounter) Invocations() map[string][][]interface{}
- func (fake *MetricsCounter) With(labelValues ...string) metrics.Counter
- func (fake *MetricsCounter) WithArgsForCall(i int) []string
- func (fake *MetricsCounter) WithCallCount() int
- func (fake *MetricsCounter) WithReturns(result1 metrics.Counter)
- func (fake *MetricsCounter) WithReturnsOnCall(i int, result1 metrics.Counter)
- type MetricsHistogram
- func (fake *MetricsHistogram) Invocations() map[string][][]interface{}
- func (fake *MetricsHistogram) Observe(value float64)
- func (fake *MetricsHistogram) ObserveArgsForCall(i int) float64
- func (fake *MetricsHistogram) ObserveCallCount() int
- func (fake *MetricsHistogram) With(labelValues ...string) metrics.Histogram
- func (fake *MetricsHistogram) WithArgsForCall(i int) []string
- func (fake *MetricsHistogram) WithCallCount() int
- func (fake *MetricsHistogram) WithReturns(result1 metrics.Histogram)
- func (fake *MetricsHistogram) WithReturnsOnCall(i int, result1 metrics.Histogram)
- type MetricsProvider
- func (fake *MetricsProvider) Invocations() map[string][][]interface{}
- func (fake *MetricsProvider) NewCounter(arg1 metrics.CounterOpts) metrics.Counter
- func (fake *MetricsProvider) NewCounterArgsForCall(i int) metrics.CounterOpts
- func (fake *MetricsProvider) NewCounterCallCount() int
- func (fake *MetricsProvider) NewCounterReturns(result1 metrics.Counter)
- func (fake *MetricsProvider) NewCounterReturnsOnCall(i int, result1 metrics.Counter)
- func (fake *MetricsProvider) NewGauge(arg1 metrics.GaugeOpts) metrics.Gauge
- func (fake *MetricsProvider) NewGaugeArgsForCall(i int) metrics.GaugeOpts
- func (fake *MetricsProvider) NewGaugeCallCount() int
- func (fake *MetricsProvider) NewGaugeReturns(result1 metrics.Gauge)
- func (fake *MetricsProvider) NewGaugeReturnsOnCall(i int, result1 metrics.Gauge)
- func (fake *MetricsProvider) NewHistogram(arg1 metrics.HistogramOpts) metrics.Histogram
- func (fake *MetricsProvider) NewHistogramArgsForCall(i int) metrics.HistogramOpts
- func (fake *MetricsProvider) NewHistogramCallCount() int
- func (fake *MetricsProvider) NewHistogramReturns(result1 metrics.Histogram)
- func (fake *MetricsProvider) NewHistogramReturnsOnCall(i int, result1 metrics.Histogram)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ABServer ¶
type ABServer struct { SendStub func(*orderer.BroadcastResponse) error RecvStub func() (*common.Envelope, error) SetHeaderStub func(metadata.MD) error SendHeaderStub func(metadata.MD) error SetTrailerStub func(metadata.MD) ContextStub func() context.Context SendMsgStub func(m interface{}) error RecvMsgStub func(m interface{}) error // contains filtered or unexported fields }
func (*ABServer) ContextCallCount ¶
func (*ABServer) ContextReturns ¶
func (*ABServer) ContextReturnsOnCall ¶
func (*ABServer) Invocations ¶
func (*ABServer) RecvCallCount ¶
func (*ABServer) RecvMsgArgsForCall ¶
func (*ABServer) RecvMsgCallCount ¶
func (*ABServer) RecvMsgReturns ¶
func (*ABServer) RecvMsgReturnsOnCall ¶
func (*ABServer) RecvReturns ¶
func (*ABServer) RecvReturnsOnCall ¶
func (*ABServer) SendArgsForCall ¶
func (fake *ABServer) SendArgsForCall(i int) *orderer.BroadcastResponse
func (*ABServer) SendCallCount ¶
func (*ABServer) SendHeaderArgsForCall ¶
func (*ABServer) SendHeaderCallCount ¶
func (*ABServer) SendHeaderReturns ¶
func (*ABServer) SendHeaderReturnsOnCall ¶
func (*ABServer) SendMsgArgsForCall ¶
func (*ABServer) SendMsgCallCount ¶
func (*ABServer) SendMsgReturns ¶
func (*ABServer) SendMsgReturnsOnCall ¶
func (*ABServer) SendReturns ¶
func (*ABServer) SendReturnsOnCall ¶
func (*ABServer) SetHeaderArgsForCall ¶
func (*ABServer) SetHeaderCallCount ¶
func (*ABServer) SetHeaderReturns ¶
func (*ABServer) SetHeaderReturnsOnCall ¶
func (*ABServer) SetTrailer ¶
func (*ABServer) SetTrailerArgsForCall ¶
func (*ABServer) SetTrailerCallCount ¶
type ChannelSupport ¶
type ChannelSupport struct { ClassifyMsgStub func(chdr *cb.ChannelHeader) msgprocessor.Classification ProcessNormalMsgStub func(env *cb.Envelope) (configSeq uint64, err error) ProcessConfigUpdateMsgStub func(env *cb.Envelope) (config *cb.Envelope, configSeq uint64, err error) ProcessConfigMsgStub func(env *cb.Envelope) (*cb.Envelope, uint64, error) OrderStub func(env *cb.Envelope, configSeq uint64) error ConfigureStub func(config *cb.Envelope, configSeq uint64) error WaitReadyStub func() error // contains filtered or unexported fields }
func (*ChannelSupport) ClassifyMsg ¶
func (fake *ChannelSupport) ClassifyMsg(chdr *cb.ChannelHeader) msgprocessor.Classification
func (*ChannelSupport) ClassifyMsgArgsForCall ¶
func (fake *ChannelSupport) ClassifyMsgArgsForCall(i int) *cb.ChannelHeader
func (*ChannelSupport) ClassifyMsgCallCount ¶
func (fake *ChannelSupport) ClassifyMsgCallCount() int
func (*ChannelSupport) ClassifyMsgReturns ¶
func (fake *ChannelSupport) ClassifyMsgReturns(result1 msgprocessor.Classification)
func (*ChannelSupport) ClassifyMsgReturnsOnCall ¶
func (fake *ChannelSupport) ClassifyMsgReturnsOnCall(i int, result1 msgprocessor.Classification)
func (*ChannelSupport) Configure ¶
func (fake *ChannelSupport) Configure(config *cb.Envelope, configSeq uint64) error
func (*ChannelSupport) ConfigureArgsForCall ¶
func (fake *ChannelSupport) ConfigureArgsForCall(i int) (*cb.Envelope, uint64)
func (*ChannelSupport) ConfigureCallCount ¶
func (fake *ChannelSupport) ConfigureCallCount() int
func (*ChannelSupport) ConfigureReturns ¶
func (fake *ChannelSupport) ConfigureReturns(result1 error)
func (*ChannelSupport) ConfigureReturnsOnCall ¶
func (fake *ChannelSupport) ConfigureReturnsOnCall(i int, result1 error)
func (*ChannelSupport) Invocations ¶
func (fake *ChannelSupport) Invocations() map[string][][]interface{}
func (*ChannelSupport) Order ¶
func (fake *ChannelSupport) Order(env *cb.Envelope, configSeq uint64) error
func (*ChannelSupport) OrderArgsForCall ¶
func (fake *ChannelSupport) OrderArgsForCall(i int) (*cb.Envelope, uint64)
func (*ChannelSupport) OrderCallCount ¶
func (fake *ChannelSupport) OrderCallCount() int
func (*ChannelSupport) OrderReturns ¶
func (fake *ChannelSupport) OrderReturns(result1 error)
func (*ChannelSupport) OrderReturnsOnCall ¶
func (fake *ChannelSupport) OrderReturnsOnCall(i int, result1 error)
func (*ChannelSupport) ProcessConfigMsg ¶
func (*ChannelSupport) ProcessConfigMsgArgsForCall ¶
func (fake *ChannelSupport) ProcessConfigMsgArgsForCall(i int) *cb.Envelope
func (*ChannelSupport) ProcessConfigMsgCallCount ¶
func (fake *ChannelSupport) ProcessConfigMsgCallCount() int
func (*ChannelSupport) ProcessConfigMsgReturns ¶
func (fake *ChannelSupport) ProcessConfigMsgReturns(result1 *cb.Envelope, result2 uint64, result3 error)
func (*ChannelSupport) ProcessConfigMsgReturnsOnCall ¶
func (*ChannelSupport) ProcessConfigUpdateMsg ¶
func (*ChannelSupport) ProcessConfigUpdateMsgArgsForCall ¶
func (fake *ChannelSupport) ProcessConfigUpdateMsgArgsForCall(i int) *cb.Envelope
func (*ChannelSupport) ProcessConfigUpdateMsgCallCount ¶
func (fake *ChannelSupport) ProcessConfigUpdateMsgCallCount() int
func (*ChannelSupport) ProcessConfigUpdateMsgReturns ¶
func (fake *ChannelSupport) ProcessConfigUpdateMsgReturns(result1 *cb.Envelope, result2 uint64, result3 error)
func (*ChannelSupport) ProcessConfigUpdateMsgReturnsOnCall ¶
func (*ChannelSupport) ProcessNormalMsg ¶
func (fake *ChannelSupport) ProcessNormalMsg(env *cb.Envelope) (configSeq uint64, err error)
func (*ChannelSupport) ProcessNormalMsgArgsForCall ¶
func (fake *ChannelSupport) ProcessNormalMsgArgsForCall(i int) *cb.Envelope
func (*ChannelSupport) ProcessNormalMsgCallCount ¶
func (fake *ChannelSupport) ProcessNormalMsgCallCount() int
func (*ChannelSupport) ProcessNormalMsgReturns ¶
func (fake *ChannelSupport) ProcessNormalMsgReturns(result1 uint64, result2 error)
func (*ChannelSupport) ProcessNormalMsgReturnsOnCall ¶
func (fake *ChannelSupport) ProcessNormalMsgReturnsOnCall(i int, result1 uint64, result2 error)
func (*ChannelSupport) WaitReady ¶
func (fake *ChannelSupport) WaitReady() error
func (*ChannelSupport) WaitReadyCallCount ¶
func (fake *ChannelSupport) WaitReadyCallCount() int
func (*ChannelSupport) WaitReadyReturns ¶
func (fake *ChannelSupport) WaitReadyReturns(result1 error)
func (*ChannelSupport) WaitReadyReturnsOnCall ¶
func (fake *ChannelSupport) WaitReadyReturnsOnCall(i int, result1 error)
type ChannelSupportRegistrar ¶
type ChannelSupportRegistrar struct { BroadcastChannelSupportStub func(msg *cb.Envelope) (*cb.ChannelHeader, bool, broadcast.ChannelSupport, error) // contains filtered or unexported fields }
func (*ChannelSupportRegistrar) BroadcastChannelSupport ¶
func (fake *ChannelSupportRegistrar) BroadcastChannelSupport(msg *cb.Envelope) (*cb.ChannelHeader, bool, broadcast.ChannelSupport, error)
func (*ChannelSupportRegistrar) BroadcastChannelSupportArgsForCall ¶
func (fake *ChannelSupportRegistrar) BroadcastChannelSupportArgsForCall(i int) *cb.Envelope
func (*ChannelSupportRegistrar) BroadcastChannelSupportCallCount ¶
func (fake *ChannelSupportRegistrar) BroadcastChannelSupportCallCount() int
func (*ChannelSupportRegistrar) BroadcastChannelSupportReturns ¶
func (fake *ChannelSupportRegistrar) BroadcastChannelSupportReturns(result1 *cb.ChannelHeader, result2 bool, result3 broadcast.ChannelSupport, result4 error)
func (*ChannelSupportRegistrar) BroadcastChannelSupportReturnsOnCall ¶
func (fake *ChannelSupportRegistrar) BroadcastChannelSupportReturnsOnCall(i int, result1 *cb.ChannelHeader, result2 bool, result3 broadcast.ChannelSupport, result4 error)
func (*ChannelSupportRegistrar) Invocations ¶
func (fake *ChannelSupportRegistrar) Invocations() map[string][][]interface{}
type MetricsCounter ¶
type MetricsCounter struct { WithStub func(labelValues ...string) metrics.Counter AddStub func(delta float64) // contains filtered or unexported fields }
func (*MetricsCounter) Add ¶
func (fake *MetricsCounter) Add(delta float64)
func (*MetricsCounter) AddArgsForCall ¶
func (fake *MetricsCounter) AddArgsForCall(i int) float64
func (*MetricsCounter) AddCallCount ¶
func (fake *MetricsCounter) AddCallCount() int
func (*MetricsCounter) Invocations ¶
func (fake *MetricsCounter) Invocations() map[string][][]interface{}
func (*MetricsCounter) With ¶
func (fake *MetricsCounter) With(labelValues ...string) metrics.Counter
func (*MetricsCounter) WithArgsForCall ¶
func (fake *MetricsCounter) WithArgsForCall(i int) []string
func (*MetricsCounter) WithCallCount ¶
func (fake *MetricsCounter) WithCallCount() int
func (*MetricsCounter) WithReturns ¶
func (fake *MetricsCounter) WithReturns(result1 metrics.Counter)
func (*MetricsCounter) WithReturnsOnCall ¶
func (fake *MetricsCounter) WithReturnsOnCall(i int, result1 metrics.Counter)
type MetricsHistogram ¶
type MetricsHistogram struct { WithStub func(labelValues ...string) metrics.Histogram ObserveStub func(value float64) // contains filtered or unexported fields }
func (*MetricsHistogram) Invocations ¶
func (fake *MetricsHistogram) Invocations() map[string][][]interface{}
func (*MetricsHistogram) Observe ¶
func (fake *MetricsHistogram) Observe(value float64)
func (*MetricsHistogram) ObserveArgsForCall ¶
func (fake *MetricsHistogram) ObserveArgsForCall(i int) float64
func (*MetricsHistogram) ObserveCallCount ¶
func (fake *MetricsHistogram) ObserveCallCount() int
func (*MetricsHistogram) With ¶
func (fake *MetricsHistogram) With(labelValues ...string) metrics.Histogram
func (*MetricsHistogram) WithArgsForCall ¶
func (fake *MetricsHistogram) WithArgsForCall(i int) []string
func (*MetricsHistogram) WithCallCount ¶
func (fake *MetricsHistogram) WithCallCount() int
func (*MetricsHistogram) WithReturns ¶
func (fake *MetricsHistogram) WithReturns(result1 metrics.Histogram)
func (*MetricsHistogram) WithReturnsOnCall ¶
func (fake *MetricsHistogram) WithReturnsOnCall(i int, result1 metrics.Histogram)
type MetricsProvider ¶
type MetricsProvider struct { NewCounterStub func(metrics.CounterOpts) metrics.Counter NewGaugeStub func(metrics.GaugeOpts) metrics.Gauge NewHistogramStub func(metrics.HistogramOpts) metrics.Histogram // contains filtered or unexported fields }
func (*MetricsProvider) Invocations ¶
func (fake *MetricsProvider) Invocations() map[string][][]interface{}
func (*MetricsProvider) NewCounter ¶
func (fake *MetricsProvider) NewCounter(arg1 metrics.CounterOpts) metrics.Counter
func (*MetricsProvider) NewCounterArgsForCall ¶
func (fake *MetricsProvider) NewCounterArgsForCall(i int) metrics.CounterOpts
func (*MetricsProvider) NewCounterCallCount ¶
func (fake *MetricsProvider) NewCounterCallCount() int
func (*MetricsProvider) NewCounterReturns ¶
func (fake *MetricsProvider) NewCounterReturns(result1 metrics.Counter)
func (*MetricsProvider) NewCounterReturnsOnCall ¶
func (fake *MetricsProvider) NewCounterReturnsOnCall(i int, result1 metrics.Counter)
func (*MetricsProvider) NewGauge ¶
func (fake *MetricsProvider) NewGauge(arg1 metrics.GaugeOpts) metrics.Gauge
func (*MetricsProvider) NewGaugeArgsForCall ¶
func (fake *MetricsProvider) NewGaugeArgsForCall(i int) metrics.GaugeOpts
func (*MetricsProvider) NewGaugeCallCount ¶
func (fake *MetricsProvider) NewGaugeCallCount() int
func (*MetricsProvider) NewGaugeReturns ¶
func (fake *MetricsProvider) NewGaugeReturns(result1 metrics.Gauge)
func (*MetricsProvider) NewGaugeReturnsOnCall ¶
func (fake *MetricsProvider) NewGaugeReturnsOnCall(i int, result1 metrics.Gauge)
func (*MetricsProvider) NewHistogram ¶
func (fake *MetricsProvider) NewHistogram(arg1 metrics.HistogramOpts) metrics.Histogram
func (*MetricsProvider) NewHistogramArgsForCall ¶
func (fake *MetricsProvider) NewHistogramArgsForCall(i int) metrics.HistogramOpts
func (*MetricsProvider) NewHistogramCallCount ¶
func (fake *MetricsProvider) NewHistogramCallCount() int
func (*MetricsProvider) NewHistogramReturns ¶
func (fake *MetricsProvider) NewHistogramReturns(result1 metrics.Histogram)
func (*MetricsProvider) NewHistogramReturnsOnCall ¶
func (fake *MetricsProvider) NewHistogramReturnsOnCall(i int, result1 metrics.Histogram)
Click to show internal directories.
Click to hide internal directories.