Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type IOReadWriter
- func (fake *IOReadWriter) Invocations() map[string][][]interface{}
- func (fake *IOReadWriter) ReadDir(arg1 string) ([]os.FileInfo, error)
- func (fake *IOReadWriter) ReadDirArgsForCall(i int) string
- func (fake *IOReadWriter) ReadDirCallCount() int
- func (fake *IOReadWriter) ReadDirReturns(result1 []os.FileInfo, result2 error)
- func (fake *IOReadWriter) ReadDirReturnsOnCall(i int, result1 []os.FileInfo, result2 error)
- func (fake *IOReadWriter) ReadFile(arg1 string) ([]byte, error)
- func (fake *IOReadWriter) ReadFileArgsForCall(i int) string
- func (fake *IOReadWriter) ReadFileCallCount() int
- func (fake *IOReadWriter) ReadFileReturns(result1 []byte, result2 error)
- func (fake *IOReadWriter) ReadFileReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *IOReadWriter) Remove(name string) error
- func (fake *IOReadWriter) RemoveArgsForCall(i int) string
- func (fake *IOReadWriter) RemoveCallCount() int
- func (fake *IOReadWriter) RemoveReturns(result1 error)
- func (fake *IOReadWriter) RemoveReturnsOnCall(i int, result1 error)
- func (fake *IOReadWriter) Stat(arg1 string) (os.FileInfo, error)
- func (fake *IOReadWriter) StatArgsForCall(i int) string
- func (fake *IOReadWriter) StatCallCount() int
- func (fake *IOReadWriter) StatReturns(result1 os.FileInfo, result2 error)
- func (fake *IOReadWriter) StatReturnsOnCall(i int, result1 os.FileInfo, result2 error)
- func (fake *IOReadWriter) WriteFile(arg1 string, arg2 []byte, arg3 os.FileMode) error
- func (fake *IOReadWriter) WriteFileArgsForCall(i int) (string, []byte, os.FileMode)
- func (fake *IOReadWriter) WriteFileCallCount() int
- func (fake *IOReadWriter) WriteFileReturns(result1 error)
- func (fake *IOReadWriter) WriteFileReturnsOnCall(i int, result1 error)
- type LegacyPackageProvider
- func (fake *LegacyPackageProvider) GetChaincodeCodePackage(name string, version string) (codePackage []byte, err error)
- func (fake *LegacyPackageProvider) GetChaincodeCodePackageArgsForCall(i int) (string, string)
- func (fake *LegacyPackageProvider) GetChaincodeCodePackageCallCount() int
- func (fake *LegacyPackageProvider) GetChaincodeCodePackageReturns(result1 []byte, result2 error)
- func (fake *LegacyPackageProvider) GetChaincodeCodePackageReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *LegacyPackageProvider) Invocations() map[string][][]interface{}
- func (fake *LegacyPackageProvider) ListInstalledChaincodes(dir string, de ccprovider.DirEnumerator, ce ccprovider.ChaincodeExtractor) ([]chaincode.InstalledChaincode, error)
- func (fake *LegacyPackageProvider) ListInstalledChaincodesArgsForCall(i int) (string, ccprovider.DirEnumerator, ccprovider.ChaincodeExtractor)
- func (fake *LegacyPackageProvider) ListInstalledChaincodesCallCount() int
- func (fake *LegacyPackageProvider) ListInstalledChaincodesReturns(result1 []chaincode.InstalledChaincode, result2 error)
- func (fake *LegacyPackageProvider) ListInstalledChaincodesReturnsOnCall(i int, result1 []chaincode.InstalledChaincode, result2 error)
- type OSFileInfo
- func (fake *OSFileInfo) Invocations() map[string][][]interface{}
- func (fake *OSFileInfo) IsDir() bool
- func (fake *OSFileInfo) IsDirCallCount() int
- func (fake *OSFileInfo) IsDirReturns(result1 bool)
- func (fake *OSFileInfo) IsDirReturnsOnCall(i int, result1 bool)
- func (fake *OSFileInfo) ModTime() time.Time
- func (fake *OSFileInfo) ModTimeCallCount() int
- func (fake *OSFileInfo) ModTimeReturns(result1 time.Time)
- func (fake *OSFileInfo) ModTimeReturnsOnCall(i int, result1 time.Time)
- func (fake *OSFileInfo) Mode() os.FileMode
- func (fake *OSFileInfo) ModeCallCount() int
- func (fake *OSFileInfo) ModeReturns(result1 os.FileMode)
- func (fake *OSFileInfo) ModeReturnsOnCall(i int, result1 os.FileMode)
- func (fake *OSFileInfo) Name() string
- func (fake *OSFileInfo) NameCallCount() int
- func (fake *OSFileInfo) NameReturns(result1 string)
- func (fake *OSFileInfo) NameReturnsOnCall(i int, result1 string)
- func (fake *OSFileInfo) Size() int64
- func (fake *OSFileInfo) SizeCallCount() int
- func (fake *OSFileInfo) SizeReturns(result1 int64)
- func (fake *OSFileInfo) SizeReturnsOnCall(i int, result1 int64)
- func (fake *OSFileInfo) Sys() interface{}
- func (fake *OSFileInfo) SysCallCount() int
- func (fake *OSFileInfo) SysReturns(result1 interface{})
- func (fake *OSFileInfo) SysReturnsOnCall(i int, result1 interface{})
- type PackageParser
- func (fake *PackageParser) Invocations() map[string][][]interface{}
- func (fake *PackageParser) Parse(data []byte) (*persistence_test.ChaincodePackage, error)
- func (fake *PackageParser) ParseArgsForCall(i int) []byte
- func (fake *PackageParser) ParseCallCount() int
- func (fake *PackageParser) ParseReturns(result1 *persistence_test.ChaincodePackage, result2 error)
- func (fake *PackageParser) ParseReturnsOnCall(i int, result1 *persistence_test.ChaincodePackage, result2 error)
- type StorePackageProvider
- func (fake *StorePackageProvider) GetChaincodeInstallPath() string
- func (fake *StorePackageProvider) GetChaincodeInstallPathCallCount() int
- func (fake *StorePackageProvider) GetChaincodeInstallPathReturns(result1 string)
- func (fake *StorePackageProvider) GetChaincodeInstallPathReturnsOnCall(i int, result1 string)
- func (fake *StorePackageProvider) Invocations() map[string][][]interface{}
- func (fake *StorePackageProvider) ListInstalledChaincodes() ([]chaincode.InstalledChaincode, error)
- func (fake *StorePackageProvider) ListInstalledChaincodesCallCount() int
- func (fake *StorePackageProvider) ListInstalledChaincodesReturns(result1 []chaincode.InstalledChaincode, result2 error)
- func (fake *StorePackageProvider) ListInstalledChaincodesReturnsOnCall(i int, result1 []chaincode.InstalledChaincode, result2 error)
- func (fake *StorePackageProvider) Load(hash []byte) (codePackage []byte, name, version string, err error)
- func (fake *StorePackageProvider) LoadArgsForCall(i int) []byte
- func (fake *StorePackageProvider) LoadCallCount() int
- func (fake *StorePackageProvider) LoadReturns(result1 []byte, result2 string, result3 string, result4 error)
- func (fake *StorePackageProvider) LoadReturnsOnCall(i int, result1 []byte, result2 string, result3 string, result4 error)
- func (fake *StorePackageProvider) RetrieveHash(name string, version string) (hash []byte, err error)
- func (fake *StorePackageProvider) RetrieveHashArgsForCall(i int) (string, string)
- func (fake *StorePackageProvider) RetrieveHashCallCount() int
- func (fake *StorePackageProvider) RetrieveHashReturns(result1 []byte, result2 error)
- func (fake *StorePackageProvider) RetrieveHashReturnsOnCall(i int, result1 []byte, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IOReadWriter ¶
type IOReadWriter struct { ReadDirStub func(string) ([]os.FileInfo, error) ReadFileStub func(string) ([]byte, error) RemoveStub func(name string) error StatStub func(string) (os.FileInfo, error) WriteFileStub func(string, []byte, os.FileMode) error // contains filtered or unexported fields }
func (*IOReadWriter) Invocations ¶
func (fake *IOReadWriter) Invocations() map[string][][]interface{}
func (*IOReadWriter) ReadDir ¶
func (fake *IOReadWriter) ReadDir(arg1 string) ([]os.FileInfo, error)
func (*IOReadWriter) ReadDirArgsForCall ¶
func (fake *IOReadWriter) ReadDirArgsForCall(i int) string
func (*IOReadWriter) ReadDirCallCount ¶
func (fake *IOReadWriter) ReadDirCallCount() int
func (*IOReadWriter) ReadDirReturns ¶
func (fake *IOReadWriter) ReadDirReturns(result1 []os.FileInfo, result2 error)
func (*IOReadWriter) ReadDirReturnsOnCall ¶
func (fake *IOReadWriter) ReadDirReturnsOnCall(i int, result1 []os.FileInfo, result2 error)
func (*IOReadWriter) ReadFileArgsForCall ¶
func (fake *IOReadWriter) ReadFileArgsForCall(i int) string
func (*IOReadWriter) ReadFileCallCount ¶
func (fake *IOReadWriter) ReadFileCallCount() int
func (*IOReadWriter) ReadFileReturns ¶
func (fake *IOReadWriter) ReadFileReturns(result1 []byte, result2 error)
func (*IOReadWriter) ReadFileReturnsOnCall ¶
func (fake *IOReadWriter) ReadFileReturnsOnCall(i int, result1 []byte, result2 error)
func (*IOReadWriter) Remove ¶
func (fake *IOReadWriter) Remove(name string) error
func (*IOReadWriter) RemoveArgsForCall ¶
func (fake *IOReadWriter) RemoveArgsForCall(i int) string
func (*IOReadWriter) RemoveCallCount ¶
func (fake *IOReadWriter) RemoveCallCount() int
func (*IOReadWriter) RemoveReturns ¶
func (fake *IOReadWriter) RemoveReturns(result1 error)
func (*IOReadWriter) RemoveReturnsOnCall ¶
func (fake *IOReadWriter) RemoveReturnsOnCall(i int, result1 error)
func (*IOReadWriter) StatArgsForCall ¶
func (fake *IOReadWriter) StatArgsForCall(i int) string
func (*IOReadWriter) StatCallCount ¶
func (fake *IOReadWriter) StatCallCount() int
func (*IOReadWriter) StatReturns ¶
func (fake *IOReadWriter) StatReturns(result1 os.FileInfo, result2 error)
func (*IOReadWriter) StatReturnsOnCall ¶
func (fake *IOReadWriter) StatReturnsOnCall(i int, result1 os.FileInfo, result2 error)
func (*IOReadWriter) WriteFileArgsForCall ¶
func (*IOReadWriter) WriteFileCallCount ¶
func (fake *IOReadWriter) WriteFileCallCount() int
func (*IOReadWriter) WriteFileReturns ¶
func (fake *IOReadWriter) WriteFileReturns(result1 error)
func (*IOReadWriter) WriteFileReturnsOnCall ¶
func (fake *IOReadWriter) WriteFileReturnsOnCall(i int, result1 error)
type LegacyPackageProvider ¶
type LegacyPackageProvider struct { GetChaincodeCodePackageStub func(name, version string) (codePackage []byte, err error) ListInstalledChaincodesStub func(dir string, de ccprovider.DirEnumerator, ce ccprovider.ChaincodeExtractor) ([]chaincode.InstalledChaincode, error) // contains filtered or unexported fields }
func (*LegacyPackageProvider) GetChaincodeCodePackage ¶
func (fake *LegacyPackageProvider) GetChaincodeCodePackage(name string, version string) (codePackage []byte, err error)
func (*LegacyPackageProvider) GetChaincodeCodePackageArgsForCall ¶
func (fake *LegacyPackageProvider) GetChaincodeCodePackageArgsForCall(i int) (string, string)
func (*LegacyPackageProvider) GetChaincodeCodePackageCallCount ¶
func (fake *LegacyPackageProvider) GetChaincodeCodePackageCallCount() int
func (*LegacyPackageProvider) GetChaincodeCodePackageReturns ¶
func (fake *LegacyPackageProvider) GetChaincodeCodePackageReturns(result1 []byte, result2 error)
func (*LegacyPackageProvider) GetChaincodeCodePackageReturnsOnCall ¶
func (fake *LegacyPackageProvider) GetChaincodeCodePackageReturnsOnCall(i int, result1 []byte, result2 error)
func (*LegacyPackageProvider) Invocations ¶
func (fake *LegacyPackageProvider) Invocations() map[string][][]interface{}
func (*LegacyPackageProvider) ListInstalledChaincodes ¶
func (fake *LegacyPackageProvider) ListInstalledChaincodes(dir string, de ccprovider.DirEnumerator, ce ccprovider.ChaincodeExtractor) ([]chaincode.InstalledChaincode, error)
func (*LegacyPackageProvider) ListInstalledChaincodesArgsForCall ¶
func (fake *LegacyPackageProvider) ListInstalledChaincodesArgsForCall(i int) (string, ccprovider.DirEnumerator, ccprovider.ChaincodeExtractor)
func (*LegacyPackageProvider) ListInstalledChaincodesCallCount ¶
func (fake *LegacyPackageProvider) ListInstalledChaincodesCallCount() int
func (*LegacyPackageProvider) ListInstalledChaincodesReturns ¶
func (fake *LegacyPackageProvider) ListInstalledChaincodesReturns(result1 []chaincode.InstalledChaincode, result2 error)
func (*LegacyPackageProvider) ListInstalledChaincodesReturnsOnCall ¶
func (fake *LegacyPackageProvider) ListInstalledChaincodesReturnsOnCall(i int, result1 []chaincode.InstalledChaincode, result2 error)
type OSFileInfo ¶
type OSFileInfo struct { NameStub func() string SizeStub func() int64 ModeStub func() os.FileMode ModTimeStub func() time.Time IsDirStub func() bool SysStub func() interface{} // contains filtered or unexported fields }
func (*OSFileInfo) Invocations ¶
func (fake *OSFileInfo) Invocations() map[string][][]interface{}
func (*OSFileInfo) IsDir ¶
func (fake *OSFileInfo) IsDir() bool
func (*OSFileInfo) IsDirCallCount ¶
func (fake *OSFileInfo) IsDirCallCount() int
func (*OSFileInfo) IsDirReturns ¶
func (fake *OSFileInfo) IsDirReturns(result1 bool)
func (*OSFileInfo) IsDirReturnsOnCall ¶
func (fake *OSFileInfo) IsDirReturnsOnCall(i int, result1 bool)
func (*OSFileInfo) ModTime ¶
func (fake *OSFileInfo) ModTime() time.Time
func (*OSFileInfo) ModTimeCallCount ¶
func (fake *OSFileInfo) ModTimeCallCount() int
func (*OSFileInfo) ModTimeReturns ¶
func (fake *OSFileInfo) ModTimeReturns(result1 time.Time)
func (*OSFileInfo) ModTimeReturnsOnCall ¶
func (fake *OSFileInfo) ModTimeReturnsOnCall(i int, result1 time.Time)
func (*OSFileInfo) Mode ¶
func (fake *OSFileInfo) Mode() os.FileMode
func (*OSFileInfo) ModeCallCount ¶
func (fake *OSFileInfo) ModeCallCount() int
func (*OSFileInfo) ModeReturns ¶
func (fake *OSFileInfo) ModeReturns(result1 os.FileMode)
func (*OSFileInfo) ModeReturnsOnCall ¶
func (fake *OSFileInfo) ModeReturnsOnCall(i int, result1 os.FileMode)
func (*OSFileInfo) Name ¶
func (fake *OSFileInfo) Name() string
func (*OSFileInfo) NameCallCount ¶
func (fake *OSFileInfo) NameCallCount() int
func (*OSFileInfo) NameReturns ¶
func (fake *OSFileInfo) NameReturns(result1 string)
func (*OSFileInfo) NameReturnsOnCall ¶
func (fake *OSFileInfo) NameReturnsOnCall(i int, result1 string)
func (*OSFileInfo) Size ¶
func (fake *OSFileInfo) Size() int64
func (*OSFileInfo) SizeCallCount ¶
func (fake *OSFileInfo) SizeCallCount() int
func (*OSFileInfo) SizeReturns ¶
func (fake *OSFileInfo) SizeReturns(result1 int64)
func (*OSFileInfo) SizeReturnsOnCall ¶
func (fake *OSFileInfo) SizeReturnsOnCall(i int, result1 int64)
func (*OSFileInfo) Sys ¶
func (fake *OSFileInfo) Sys() interface{}
func (*OSFileInfo) SysCallCount ¶
func (fake *OSFileInfo) SysCallCount() int
func (*OSFileInfo) SysReturns ¶
func (fake *OSFileInfo) SysReturns(result1 interface{})
func (*OSFileInfo) SysReturnsOnCall ¶
func (fake *OSFileInfo) SysReturnsOnCall(i int, result1 interface{})
type PackageParser ¶
type PackageParser struct { ParseStub func(data []byte) (*persistence_test.ChaincodePackage, error) // contains filtered or unexported fields }
func (*PackageParser) Invocations ¶
func (fake *PackageParser) Invocations() map[string][][]interface{}
func (*PackageParser) Parse ¶
func (fake *PackageParser) Parse(data []byte) (*persistence_test.ChaincodePackage, error)
func (*PackageParser) ParseArgsForCall ¶
func (fake *PackageParser) ParseArgsForCall(i int) []byte
func (*PackageParser) ParseCallCount ¶
func (fake *PackageParser) ParseCallCount() int
func (*PackageParser) ParseReturns ¶
func (fake *PackageParser) ParseReturns(result1 *persistence_test.ChaincodePackage, result2 error)
func (*PackageParser) ParseReturnsOnCall ¶
func (fake *PackageParser) ParseReturnsOnCall(i int, result1 *persistence_test.ChaincodePackage, result2 error)
type StorePackageProvider ¶
type StorePackageProvider struct { GetChaincodeInstallPathStub func() string ListInstalledChaincodesStub func() ([]chaincode.InstalledChaincode, error) LoadStub func(hash []byte) (codePackage []byte, name, version string, err error) RetrieveHashStub func(name, version string) (hash []byte, err error) // contains filtered or unexported fields }
func (*StorePackageProvider) GetChaincodeInstallPath ¶
func (fake *StorePackageProvider) GetChaincodeInstallPath() string
func (*StorePackageProvider) GetChaincodeInstallPathCallCount ¶
func (fake *StorePackageProvider) GetChaincodeInstallPathCallCount() int
func (*StorePackageProvider) GetChaincodeInstallPathReturns ¶
func (fake *StorePackageProvider) GetChaincodeInstallPathReturns(result1 string)
func (*StorePackageProvider) GetChaincodeInstallPathReturnsOnCall ¶
func (fake *StorePackageProvider) GetChaincodeInstallPathReturnsOnCall(i int, result1 string)
func (*StorePackageProvider) Invocations ¶
func (fake *StorePackageProvider) Invocations() map[string][][]interface{}
func (*StorePackageProvider) ListInstalledChaincodes ¶
func (fake *StorePackageProvider) ListInstalledChaincodes() ([]chaincode.InstalledChaincode, error)
func (*StorePackageProvider) ListInstalledChaincodesCallCount ¶
func (fake *StorePackageProvider) ListInstalledChaincodesCallCount() int
func (*StorePackageProvider) ListInstalledChaincodesReturns ¶
func (fake *StorePackageProvider) ListInstalledChaincodesReturns(result1 []chaincode.InstalledChaincode, result2 error)
func (*StorePackageProvider) ListInstalledChaincodesReturnsOnCall ¶
func (fake *StorePackageProvider) ListInstalledChaincodesReturnsOnCall(i int, result1 []chaincode.InstalledChaincode, result2 error)
func (*StorePackageProvider) Load ¶
func (fake *StorePackageProvider) Load(hash []byte) (codePackage []byte, name, version string, err error)
func (*StorePackageProvider) LoadArgsForCall ¶
func (fake *StorePackageProvider) LoadArgsForCall(i int) []byte
func (*StorePackageProvider) LoadCallCount ¶
func (fake *StorePackageProvider) LoadCallCount() int
func (*StorePackageProvider) LoadReturns ¶
func (fake *StorePackageProvider) LoadReturns(result1 []byte, result2 string, result3 string, result4 error)
func (*StorePackageProvider) LoadReturnsOnCall ¶
func (*StorePackageProvider) RetrieveHash ¶
func (fake *StorePackageProvider) RetrieveHash(name string, version string) (hash []byte, err error)
func (*StorePackageProvider) RetrieveHashArgsForCall ¶
func (fake *StorePackageProvider) RetrieveHashArgsForCall(i int) (string, string)
func (*StorePackageProvider) RetrieveHashCallCount ¶
func (fake *StorePackageProvider) RetrieveHashCallCount() int
func (*StorePackageProvider) RetrieveHashReturns ¶
func (fake *StorePackageProvider) RetrieveHashReturns(result1 []byte, result2 error)
func (*StorePackageProvider) RetrieveHashReturnsOnCall ¶
func (fake *StorePackageProvider) RetrieveHashReturnsOnCall(i int, result1 []byte, result2 error)
Click to show internal directories.
Click to hide internal directories.