Documentation ¶
Index ¶
- type MockSupport
- func (s *MockSupport) CheckInstantiationPolicy(signedProp *peer.SignedProposal, chainName string, instantiationPolicy []byte) error
- func (s *MockSupport) GetChaincodeFromLocalStorage(ccname string, ccversion string) (ccprovider.CCPackage, error)
- func (s *MockSupport) GetChaincodesFromLocalStorage() (*peer.ChaincodeQueryResponse, error)
- func (s *MockSupport) GetInstantiationPolicy(channel string, ccpack ccprovider.CCPackage) ([]byte, error)
- func (s *MockSupport) PutChaincodeToLocalStorage(ccpack ccprovider.CCPackage) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSupport ¶
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 }
func (*MockSupport) CheckInstantiationPolicy ¶
func (s *MockSupport) CheckInstantiationPolicy(signedProp *peer.SignedProposal, chainName string, instantiationPolicy []byte) error
func (*MockSupport) GetChaincodeFromLocalStorage ¶
func (s *MockSupport) GetChaincodeFromLocalStorage(ccname string, ccversion string) (ccprovider.CCPackage, error)
func (*MockSupport) GetChaincodesFromLocalStorage ¶
func (s *MockSupport) GetChaincodesFromLocalStorage() (*peer.ChaincodeQueryResponse, error)
func (*MockSupport) GetInstantiationPolicy ¶
func (s *MockSupport) GetInstantiationPolicy(channel string, ccpack ccprovider.CCPackage) ([]byte, error)
func (*MockSupport) PutChaincodeToLocalStorage ¶
func (s *MockSupport) PutChaincodeToLocalStorage(ccpack ccprovider.CCPackage) error
Click to show internal directories.
Click to hide internal directories.