fabric: github.com/hyperledger/fabric/core/scc/cscc/mock Index | Files

package mock

import "github.com/hyperledger/fabric/core/scc/cscc/mock"

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Package Files

acl_provider.go config_manager.go configtx_validator.go

type ACLProvider Uses

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

func (*ACLProvider) CheckACL Uses

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

func (*ACLProvider) CheckACLArgsForCall Uses

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

func (*ACLProvider) CheckACLCallCount Uses

func (fake *ACLProvider) CheckACLCallCount() int

func (*ACLProvider) CheckACLReturns Uses

func (fake *ACLProvider) CheckACLReturns(result1 error)

func (*ACLProvider) CheckACLReturnsOnCall Uses

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

func (*ACLProvider) Invocations Uses

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

type ConfigManager Uses

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

func (*ConfigManager) GetChannelConfig Uses

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

func (*ConfigManager) GetChannelConfigArgsForCall Uses

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

func (*ConfigManager) GetChannelConfigCallCount Uses

func (fake *ConfigManager) GetChannelConfigCallCount() int

func (*ConfigManager) GetChannelConfigReturns Uses

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

func (*ConfigManager) GetChannelConfigReturnsOnCall Uses

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

func (*ConfigManager) Invocations Uses

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

type ConfigtxValidator Uses

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 Uses

func (fake *ConfigtxValidator) ChainID() string

func (*ConfigtxValidator) ChainIDCallCount Uses

func (fake *ConfigtxValidator) ChainIDCallCount() int

func (*ConfigtxValidator) ChainIDReturns Uses

func (fake *ConfigtxValidator) ChainIDReturns(result1 string)

func (*ConfigtxValidator) ChainIDReturnsOnCall Uses

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

func (*ConfigtxValidator) ConfigProto Uses

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

func (*ConfigtxValidator) ConfigProtoCallCount Uses

func (fake *ConfigtxValidator) ConfigProtoCallCount() int

func (*ConfigtxValidator) ConfigProtoReturns Uses

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

func (*ConfigtxValidator) ConfigProtoReturnsOnCall Uses

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

func (*ConfigtxValidator) Invocations Uses

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

func (*ConfigtxValidator) ProposeConfigUpdate Uses

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

func (*ConfigtxValidator) ProposeConfigUpdateArgsForCall Uses

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

func (*ConfigtxValidator) ProposeConfigUpdateCallCount Uses

func (fake *ConfigtxValidator) ProposeConfigUpdateCallCount() int

func (*ConfigtxValidator) ProposeConfigUpdateReturns Uses

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

func (*ConfigtxValidator) ProposeConfigUpdateReturnsOnCall Uses

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

func (*ConfigtxValidator) Sequence Uses

func (fake *ConfigtxValidator) Sequence() uint64

func (*ConfigtxValidator) SequenceCallCount Uses

func (fake *ConfigtxValidator) SequenceCallCount() int

func (*ConfigtxValidator) SequenceReturns Uses

func (fake *ConfigtxValidator) SequenceReturns(result1 uint64)

func (*ConfigtxValidator) SequenceReturnsOnCall Uses

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

func (*ConfigtxValidator) Validate Uses

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

func (*ConfigtxValidator) ValidateArgsForCall Uses

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

func (*ConfigtxValidator) ValidateCallCount Uses

func (fake *ConfigtxValidator) ValidateCallCount() int

func (*ConfigtxValidator) ValidateReturns Uses

func (fake *ConfigtxValidator) ValidateReturns(result1 error)

func (*ConfigtxValidator) ValidateReturnsOnCall Uses

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

Package mock imports 3 packages (graph). Updated 2018-07-07. Refresh now. Tools for package owners.