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

package lscc

import "github.com/hyperledger/fabric/core/mocks/scc/lscc"

Index

Package Files

support.go

type MockSupport Uses

type MockSupport struct {
    PutChaincodeToLocalStorageErr    error
    GetChaincodeFromLocalStorageRv   ccprovider.CCPackage
    GetChaincodeFromLocalStorageErr  error
    GetChaincodesFromLocalStorageRv  *peer.ChaincodeQueryResponse
    GetChaincodesFromLocalStorageErr error
    GetInstantiationPolicyRv         []byte
    GetInstantiationPolicyErr        error
    CheckInstantiationPolicyErr      error
    GetInstantiationPolicyMap        map[string][]byte
    CheckInstantiationPolicyMap      map[string]error
    CheckCollectionConfigErr         error
}

func (*MockSupport) CheckCollectionConfig Uses

func (s *MockSupport) CheckCollectionConfig(collectionConfig *common.CollectionConfig, channelName string) error

func (*MockSupport) CheckInstantiationPolicy Uses

func (s *MockSupport) CheckInstantiationPolicy(signedProp *peer.SignedProposal, chainName string, instantiationPolicy []byte) error

func (*MockSupport) GetChaincodeFromLocalStorage Uses

func (s *MockSupport) GetChaincodeFromLocalStorage(ccname string, ccversion string) (ccprovider.CCPackage, error)

func (*MockSupport) GetChaincodesFromLocalStorage Uses

func (s *MockSupport) GetChaincodesFromLocalStorage() (*peer.ChaincodeQueryResponse, error)

func (*MockSupport) GetInstantiationPolicy Uses

func (s *MockSupport) GetInstantiationPolicy(channel string, ccpack ccprovider.CCPackage) ([]byte, error)

func (*MockSupport) PutChaincodeToLocalStorage Uses

func (s *MockSupport) PutChaincodeToLocalStorage(ccpack ccprovider.CCPackage) error

Package lscc imports 3 packages (graph). Updated 2018-08-04. Refresh now. Tools for package owners.