fabric: github.com/hyperledger/fabric/common/mocks/scc Index | Files

package scc

import "github.com/hyperledger/fabric/common/mocks/scc"

Index

Package Files

sccprovider.go

type MocksccProviderFactory Uses

type MocksccProviderFactory struct {
    Qe                    *lm.MockQueryExecutor
    QErr                  error
    ApplicationConfigRv   channelconfig.Application
    ApplicationConfigBool bool
    PolicyManagerRv       policies.Manager
    PolicyManagerBool     bool
}

func (*MocksccProviderFactory) NewSystemChaincodeProvider Uses

func (c *MocksccProviderFactory) NewSystemChaincodeProvider() sysccprovider.SystemChaincodeProvider

type MocksccProviderImpl Uses

type MocksccProviderImpl struct {
    Qe                    *lm.MockQueryExecutor
    QErr                  error
    ApplicationConfigRv   channelconfig.Application
    ApplicationConfigBool bool
    PolicyManagerRv       policies.Manager
    PolicyManagerBool     bool
    SysCCMap              map[string]bool
}

func (*MocksccProviderImpl) GetApplicationConfig Uses

func (c *MocksccProviderImpl) GetApplicationConfig(cid string) (channelconfig.Application, bool)

func (*MocksccProviderImpl) GetQueryExecutorForLedger Uses

func (c *MocksccProviderImpl) GetQueryExecutorForLedger(cid string) (ledger.QueryExecutor, error)

func (*MocksccProviderImpl) IsSysCC Uses

func (c *MocksccProviderImpl) IsSysCC(name string) bool

func (*MocksccProviderImpl) IsSysCCAndNotInvokableCC2CC Uses

func (c *MocksccProviderImpl) IsSysCCAndNotInvokableCC2CC(name string) bool

func (*MocksccProviderImpl) IsSysCCAndNotInvokableExternal Uses

func (c *MocksccProviderImpl) IsSysCCAndNotInvokableExternal(name string) bool

func (*MocksccProviderImpl) PolicyManager Uses

func (c *MocksccProviderImpl) PolicyManager(channelID string) (policies.Manager, bool)

Package scc imports 5 packages (graph). Updated 2018-03-20. Refresh now. Tools for package owners.