Documentation ¶
Index ¶
- type Builder
- func (fake *Builder) Build() (io.Reader, error)
- func (fake *Builder) BuildCallCount() int
- func (fake *Builder) BuildCalls(stub func() (io.Reader, error))
- func (fake *Builder) BuildReturns(result1 io.Reader, result2 error)
- func (fake *Builder) BuildReturnsOnCall(i int, result1 io.Reader, result2 error)
- func (fake *Builder) Invocations() map[string][][]interface{}
- type ExitedFunc
- type Instance
- func (fake *Instance) Invocations() map[string][][]interface{}
- func (fake *Instance) Start(arg1 *ccintf.PeerConnection) error
- func (fake *Instance) StartArgsForCall(i int) *ccintf.PeerConnection
- func (fake *Instance) StartCallCount() int
- func (fake *Instance) StartCalls(stub func(*ccintf.PeerConnection) error)
- func (fake *Instance) StartReturns(result1 error)
- func (fake *Instance) StartReturnsOnCall(i int, result1 error)
- func (fake *Instance) Stop() error
- func (fake *Instance) StopCallCount() int
- func (fake *Instance) StopCalls(stub func() error)
- func (fake *Instance) StopReturns(result1 error)
- func (fake *Instance) StopReturnsOnCall(i int, result1 error)
- func (fake *Instance) Wait() (int, error)
- func (fake *Instance) WaitCallCount() int
- func (fake *Instance) WaitCalls(stub func() (int, error))
- func (fake *Instance) WaitReturns(result1 int, result2 error)
- func (fake *Instance) WaitReturnsOnCall(i int, result1 int, result2 error)
- type PackageProvider
- func (fake *PackageProvider) GetChaincodePackage(arg1 string) (*persistence.ChaincodePackageMetadata, io.ReadCloser, error)
- func (fake *PackageProvider) GetChaincodePackageArgsForCall(i int) string
- func (fake *PackageProvider) GetChaincodePackageCallCount() int
- func (fake *PackageProvider) GetChaincodePackageCalls(...)
- func (fake *PackageProvider) GetChaincodePackageReturns(result1 *persistence.ChaincodePackageMetadata, result2 io.ReadCloser, ...)
- func (fake *PackageProvider) GetChaincodePackageReturnsOnCall(i int, result1 *persistence.ChaincodePackageMetadata, result2 io.ReadCloser, ...)
- func (fake *PackageProvider) Invocations() map[string][][]interface{}
- type VM
- func (fake *VM) Build(arg1 string, arg2 *persistence.ChaincodePackageMetadata, arg3 io.Reader) (container.Instance, error)
- func (fake *VM) BuildArgsForCall(i int) (string, *persistence.ChaincodePackageMetadata, io.Reader)
- func (fake *VM) BuildCallCount() int
- func (fake *VM) BuildCalls(...)
- func (fake *VM) BuildReturns(result1 container.Instance, result2 error)
- func (fake *VM) BuildReturnsOnCall(i int, result1 container.Instance, result2 error)
- func (fake *VM) Invocations() map[string][][]interface{}
- type VMCReq
- func (fake *VMCReq) Do(arg1 container.VM) error
- func (fake *VMCReq) DoArgsForCall(i int) container.VM
- func (fake *VMCReq) DoCallCount() int
- func (fake *VMCReq) DoCalls(stub func(container.VM) error)
- func (fake *VMCReq) DoReturns(result1 error)
- func (fake *VMCReq) DoReturnsOnCall(i int, result1 error)
- func (fake *VMCReq) GetCCID() ccintf.CCID
- func (fake *VMCReq) GetCCIDCallCount() int
- func (fake *VMCReq) GetCCIDCalls(stub func() ccintf.CCID)
- func (fake *VMCReq) GetCCIDReturns(result1 ccintf.CCID)
- func (fake *VMCReq) GetCCIDReturnsOnCall(i int, result1 ccintf.CCID)
- func (fake *VMCReq) Invocations() map[string][][]interface{}
- type VMProvider
- func (fake *VMProvider) Invocations() map[string][][]interface{}
- func (fake *VMProvider) NewVM() container.VM
- func (fake *VMProvider) NewVMCallCount() int
- func (fake *VMProvider) NewVMCalls(stub func() container.VM)
- func (fake *VMProvider) NewVMReturns(result1 container.VM)
- func (fake *VMProvider) NewVMReturnsOnCall(i int, result1 container.VM)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct { BuildStub func() (io.Reader, error) // contains filtered or unexported fields }
func (*Builder) BuildCallCount ¶
func (*Builder) BuildReturnsOnCall ¶
func (*Builder) Invocations ¶
type ExitedFunc ¶
func (*ExitedFunc) ArgsForCall ¶
func (fake *ExitedFunc) ArgsForCall(i int) (int, error)
func (*ExitedFunc) CallCount ¶
func (fake *ExitedFunc) CallCount() int
func (*ExitedFunc) Calls ¶
func (fake *ExitedFunc) Calls(stub func(int, error))
func (*ExitedFunc) Invocations ¶
func (fake *ExitedFunc) Invocations() map[string][][]interface{}
func (*ExitedFunc) Spy ¶
func (fake *ExitedFunc) Spy(arg1 int, arg2 error)
type Instance ¶
type Instance struct { StartStub func(*ccintf.PeerConnection) error StopStub func() error WaitStub func() (int, error) // contains filtered or unexported fields }
func (*Instance) Invocations ¶
func (*Instance) StartArgsForCall ¶
func (fake *Instance) StartArgsForCall(i int) *ccintf.PeerConnection
func (*Instance) StartCallCount ¶
func (*Instance) StartCalls ¶
func (fake *Instance) StartCalls(stub func(*ccintf.PeerConnection) error)
func (*Instance) StartReturns ¶
func (*Instance) StartReturnsOnCall ¶
func (*Instance) StopCallCount ¶
func (*Instance) StopReturns ¶
func (*Instance) StopReturnsOnCall ¶
func (*Instance) WaitCallCount ¶
func (*Instance) WaitReturns ¶
type PackageProvider ¶
type PackageProvider struct { GetChaincodePackageStub func(string) (*persistence.ChaincodePackageMetadata, io.ReadCloser, error) // contains filtered or unexported fields }
func (*PackageProvider) GetChaincodePackage ¶
func (fake *PackageProvider) GetChaincodePackage(arg1 string) (*persistence.ChaincodePackageMetadata, io.ReadCloser, error)
func (*PackageProvider) GetChaincodePackageArgsForCall ¶
func (fake *PackageProvider) GetChaincodePackageArgsForCall(i int) string
func (*PackageProvider) GetChaincodePackageCallCount ¶
func (fake *PackageProvider) GetChaincodePackageCallCount() int
func (*PackageProvider) GetChaincodePackageCalls ¶
func (fake *PackageProvider) GetChaincodePackageCalls(stub func(string) (*persistence.ChaincodePackageMetadata, io.ReadCloser, error))
func (*PackageProvider) GetChaincodePackageReturns ¶
func (fake *PackageProvider) GetChaincodePackageReturns(result1 *persistence.ChaincodePackageMetadata, result2 io.ReadCloser, result3 error)
func (*PackageProvider) GetChaincodePackageReturnsOnCall ¶
func (fake *PackageProvider) GetChaincodePackageReturnsOnCall(i int, result1 *persistence.ChaincodePackageMetadata, result2 io.ReadCloser, result3 error)
func (*PackageProvider) Invocations ¶
func (fake *PackageProvider) Invocations() map[string][][]interface{}
type VM ¶
type VM struct { BuildStub func(string, *persistence.ChaincodePackageMetadata, io.Reader) (container.Instance, error) // contains filtered or unexported fields }
func (*VM) Build ¶
func (fake *VM) Build(arg1 string, arg2 *persistence.ChaincodePackageMetadata, arg3 io.Reader) (container.Instance, error)
func (*VM) BuildArgsForCall ¶
func (fake *VM) BuildArgsForCall(i int) (string, *persistence.ChaincodePackageMetadata, io.Reader)
func (*VM) BuildCallCount ¶
func (*VM) BuildCalls ¶
func (fake *VM) BuildCalls(stub func(string, *persistence.ChaincodePackageMetadata, io.Reader) (container.Instance, error))
func (*VM) BuildReturnsOnCall ¶
func (*VM) Invocations ¶
type VMCReq ¶
type VMCReq struct { DoStub func(container.VM) error GetCCIDStub func() ccintf.CCID // contains filtered or unexported fields }
func (*VMCReq) DoCallCount ¶
func (*VMCReq) DoReturnsOnCall ¶
func (*VMCReq) GetCCIDCallCount ¶
func (*VMCReq) GetCCIDCalls ¶
func (*VMCReq) GetCCIDReturns ¶
func (*VMCReq) GetCCIDReturnsOnCall ¶
func (*VMCReq) Invocations ¶
type VMProvider ¶
func (*VMProvider) Invocations ¶
func (fake *VMProvider) Invocations() map[string][][]interface{}
func (*VMProvider) NewVM ¶
func (fake *VMProvider) NewVM() container.VM
func (*VMProvider) NewVMCallCount ¶
func (fake *VMProvider) NewVMCallCount() int
func (*VMProvider) NewVMCalls ¶
func (fake *VMProvider) NewVMCalls(stub func() container.VM)
func (*VMProvider) NewVMReturns ¶
func (fake *VMProvider) NewVMReturns(result1 container.VM)
func (*VMProvider) NewVMReturnsOnCall ¶
func (fake *VMProvider) NewVMReturnsOnCall(i int, result1 container.VM)
Click to show internal directories.
Click to hide internal directories.