mock

package
v0.0.0-...-f6c84cd Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 3 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 ACLProvider

type ACLProvider struct {
	CheckACLStub func(resName string, channelID string, idinfo interface{}) error
	// contains filtered or unexported fields
}

func (*ACLProvider) CheckACL

func (fake *ACLProvider) CheckACL(resName string, channelID string, idinfo interface{}) error

func (*ACLProvider) CheckACLArgsForCall

func (fake *ACLProvider) CheckACLArgsForCall(i int) (string, string, interface{})

func (*ACLProvider) CheckACLCallCount

func (fake *ACLProvider) CheckACLCallCount() int

func (*ACLProvider) CheckACLReturns

func (fake *ACLProvider) CheckACLReturns(result1 error)

func (*ACLProvider) CheckACLReturnsOnCall

func (fake *ACLProvider) CheckACLReturnsOnCall(i int, result1 error)

func (*ACLProvider) Invocations

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

type ConfigManager

type ConfigManager struct {
	GetChannelConfigStub func(channel string) config.Config
	// contains filtered or unexported fields
}

func (*ConfigManager) GetChannelConfig

func (fake *ConfigManager) GetChannelConfig(channel string) config.Config

func (*ConfigManager) GetChannelConfigArgsForCall

func (fake *ConfigManager) GetChannelConfigArgsForCall(i int) string

func (*ConfigManager) GetChannelConfigCallCount

func (fake *ConfigManager) GetChannelConfigCallCount() int

func (*ConfigManager) GetChannelConfigReturns

func (fake *ConfigManager) GetChannelConfigReturns(result1 config.Config)

func (*ConfigManager) GetChannelConfigReturnsOnCall

func (fake *ConfigManager) GetChannelConfigReturnsOnCall(i int, result1 config.Config)

func (*ConfigManager) Invocations

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

type ConfigtxValidator

type ConfigtxValidator struct {
	ValidateStub func(configEnv *cb.ConfigEnvelope) error

	ProposeConfigUpdateStub func(configtx *cb.Envelope) (*cb.ConfigEnvelope, error)

	ChainIDStub func() string

	ConfigProtoStub func() *cb.Config

	SequenceStub func() uint64
	// contains filtered or unexported fields
}

func (*ConfigtxValidator) ChainID

func (fake *ConfigtxValidator) ChainID() string

func (*ConfigtxValidator) ChainIDCallCount

func (fake *ConfigtxValidator) ChainIDCallCount() int

func (*ConfigtxValidator) ChainIDReturns

func (fake *ConfigtxValidator) ChainIDReturns(result1 string)

func (*ConfigtxValidator) ChainIDReturnsOnCall

func (fake *ConfigtxValidator) ChainIDReturnsOnCall(i int, result1 string)

func (*ConfigtxValidator) ConfigProto

func (fake *ConfigtxValidator) ConfigProto() *cb.Config

func (*ConfigtxValidator) ConfigProtoCallCount

func (fake *ConfigtxValidator) ConfigProtoCallCount() int

func (*ConfigtxValidator) ConfigProtoReturns

func (fake *ConfigtxValidator) ConfigProtoReturns(result1 *cb.Config)

func (*ConfigtxValidator) ConfigProtoReturnsOnCall

func (fake *ConfigtxValidator) ConfigProtoReturnsOnCall(i int, result1 *cb.Config)

func (*ConfigtxValidator) Invocations

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

func (*ConfigtxValidator) ProposeConfigUpdate

func (fake *ConfigtxValidator) ProposeConfigUpdate(configtx *cb.Envelope) (*cb.ConfigEnvelope, error)

func (*ConfigtxValidator) ProposeConfigUpdateArgsForCall

func (fake *ConfigtxValidator) ProposeConfigUpdateArgsForCall(i int) *cb.Envelope

func (*ConfigtxValidator) ProposeConfigUpdateCallCount

func (fake *ConfigtxValidator) ProposeConfigUpdateCallCount() int

func (*ConfigtxValidator) ProposeConfigUpdateReturns

func (fake *ConfigtxValidator) ProposeConfigUpdateReturns(result1 *cb.ConfigEnvelope, result2 error)

func (*ConfigtxValidator) ProposeConfigUpdateReturnsOnCall

func (fake *ConfigtxValidator) ProposeConfigUpdateReturnsOnCall(i int, result1 *cb.ConfigEnvelope, result2 error)

func (*ConfigtxValidator) Sequence

func (fake *ConfigtxValidator) Sequence() uint64

func (*ConfigtxValidator) SequenceCallCount

func (fake *ConfigtxValidator) SequenceCallCount() int

func (*ConfigtxValidator) SequenceReturns

func (fake *ConfigtxValidator) SequenceReturns(result1 uint64)

func (*ConfigtxValidator) SequenceReturnsOnCall

func (fake *ConfigtxValidator) SequenceReturnsOnCall(i int, result1 uint64)

func (*ConfigtxValidator) Validate

func (fake *ConfigtxValidator) Validate(configEnv *cb.ConfigEnvelope) error

func (*ConfigtxValidator) ValidateArgsForCall

func (fake *ConfigtxValidator) ValidateArgsForCall(i int) *cb.ConfigEnvelope

func (*ConfigtxValidator) ValidateCallCount

func (fake *ConfigtxValidator) ValidateCallCount() int

func (*ConfigtxValidator) ValidateReturns

func (fake *ConfigtxValidator) ValidateReturns(result1 error)

func (*ConfigtxValidator) ValidateReturnsOnCall

func (fake *ConfigtxValidator) ValidateReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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