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.
Index ¶
- type DockerBuilder
- func (fake *DockerBuilder) Build(arg1 string, arg2 *persistence.ChaincodePackageMetadata, arg3 io.Reader) (container.Instance, error)
- func (fake *DockerBuilder) BuildArgsForCall(i int) (string, *persistence.ChaincodePackageMetadata, io.Reader)
- func (fake *DockerBuilder) BuildCallCount() int
- func (fake *DockerBuilder) BuildCalls(...)
- func (fake *DockerBuilder) BuildReturns(result1 container.Instance, result2 error)
- func (fake *DockerBuilder) BuildReturnsOnCall(i int, result1 container.Instance, result2 error)
- func (fake *DockerBuilder) Invocations() map[string][][]interface{}
- type ExternalBuilder
- func (fake *ExternalBuilder) Build(arg1 string, arg2 []byte, arg3 io.Reader) (container.Instance, error)
- func (fake *ExternalBuilder) BuildArgsForCall(i int) (string, []byte, io.Reader)
- func (fake *ExternalBuilder) BuildCallCount() int
- func (fake *ExternalBuilder) BuildCalls(stub func(string, []byte, io.Reader) (container.Instance, error))
- func (fake *ExternalBuilder) BuildReturns(result1 container.Instance, result2 error)
- func (fake *ExternalBuilder) BuildReturnsOnCall(i int, result1 container.Instance, result2 error)
- func (fake *ExternalBuilder) Invocations() map[string][][]interface{}
- type Instance
- func (fake *Instance) ChaincodeServerInfo() (*ccintf.ChaincodeServerInfo, error)
- func (fake *Instance) ChaincodeServerInfoCallCount() int
- func (fake *Instance) ChaincodeServerInfoCalls(stub func() (*ccintf.ChaincodeServerInfo, error))
- func (fake *Instance) ChaincodeServerInfoReturns(result1 *ccintf.ChaincodeServerInfo, result2 error)
- func (fake *Instance) ChaincodeServerInfoReturnsOnCall(i int, result1 *ccintf.ChaincodeServerInfo, result2 error)
- 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, []byte, 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 []byte, ...)
- func (fake *PackageProvider) GetChaincodePackageReturnsOnCall(i int, result1 *persistence.ChaincodePackageMetadata, result2 []byte, ...)
- func (fake *PackageProvider) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerBuilder ¶
type DockerBuilder struct { BuildStub func(string, *persistence.ChaincodePackageMetadata, io.Reader) (container.Instance, error) // contains filtered or unexported fields }
func (*DockerBuilder) Build ¶
func (fake *DockerBuilder) Build(arg1 string, arg2 *persistence.ChaincodePackageMetadata, arg3 io.Reader) (container.Instance, error)
func (*DockerBuilder) BuildArgsForCall ¶
func (fake *DockerBuilder) BuildArgsForCall(i int) (string, *persistence.ChaincodePackageMetadata, io.Reader)
func (*DockerBuilder) BuildCallCount ¶
func (fake *DockerBuilder) BuildCallCount() int
func (*DockerBuilder) BuildCalls ¶
func (fake *DockerBuilder) BuildCalls(stub func(string, *persistence.ChaincodePackageMetadata, io.Reader) (container.Instance, error))
func (*DockerBuilder) BuildReturns ¶
func (fake *DockerBuilder) BuildReturns(result1 container.Instance, result2 error)
func (*DockerBuilder) BuildReturnsOnCall ¶
func (fake *DockerBuilder) BuildReturnsOnCall(i int, result1 container.Instance, result2 error)
func (*DockerBuilder) Invocations ¶
func (fake *DockerBuilder) Invocations() map[string][][]interface{}
type ExternalBuilder ¶
type ExternalBuilder struct { BuildStub func(string, []byte, io.Reader) (container.Instance, error) // contains filtered or unexported fields }
func (*ExternalBuilder) Build ¶
func (*ExternalBuilder) BuildArgsForCall ¶
func (*ExternalBuilder) BuildCallCount ¶
func (fake *ExternalBuilder) BuildCallCount() int
func (*ExternalBuilder) BuildCalls ¶
func (*ExternalBuilder) BuildReturns ¶
func (fake *ExternalBuilder) BuildReturns(result1 container.Instance, result2 error)
func (*ExternalBuilder) BuildReturnsOnCall ¶
func (fake *ExternalBuilder) BuildReturnsOnCall(i int, result1 container.Instance, result2 error)
func (*ExternalBuilder) Invocations ¶
func (fake *ExternalBuilder) Invocations() map[string][][]interface{}
type Instance ¶
type Instance struct { ChaincodeServerInfoStub func() (*ccintf.ChaincodeServerInfo, error) StartStub func(*ccintf.PeerConnection) error StopStub func() error WaitStub func() (int, error) // contains filtered or unexported fields }
func (*Instance) ChaincodeServerInfo ¶
func (fake *Instance) ChaincodeServerInfo() (*ccintf.ChaincodeServerInfo, error)
func (*Instance) ChaincodeServerInfoCallCount ¶
func (*Instance) ChaincodeServerInfoCalls ¶
func (fake *Instance) ChaincodeServerInfoCalls(stub func() (*ccintf.ChaincodeServerInfo, error))
func (*Instance) ChaincodeServerInfoReturns ¶
func (fake *Instance) ChaincodeServerInfoReturns(result1 *ccintf.ChaincodeServerInfo, result2 error)
func (*Instance) ChaincodeServerInfoReturnsOnCall ¶
func (fake *Instance) ChaincodeServerInfoReturnsOnCall(i int, result1 *ccintf.ChaincodeServerInfo, result2 error)
func (*Instance) Start ¶
func (fake *Instance) Start(arg1 *ccintf.PeerConnection) error
func (*Instance) StartArgsForCall ¶
func (fake *Instance) StartArgsForCall(i int) *ccintf.PeerConnection
func (*Instance) StartCalls ¶
func (fake *Instance) StartCalls(stub func(*ccintf.PeerConnection) error)
func (*Instance) StartReturnsOnCall ¶
type PackageProvider ¶
type PackageProvider struct { GetChaincodePackageStub func(string) (*persistence.ChaincodePackageMetadata, []byte, io.ReadCloser, error) // contains filtered or unexported fields }
func (*PackageProvider) GetChaincodePackage ¶
func (fake *PackageProvider) GetChaincodePackage(arg1 string) (*persistence.ChaincodePackageMetadata, []byte, 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, []byte, io.ReadCloser, error))
func (*PackageProvider) GetChaincodePackageReturns ¶
func (fake *PackageProvider) GetChaincodePackageReturns(result1 *persistence.ChaincodePackageMetadata, result2 []byte, result3 io.ReadCloser, result4 error)
func (*PackageProvider) GetChaincodePackageReturnsOnCall ¶
func (fake *PackageProvider) GetChaincodePackageReturnsOnCall(i int, result1 *persistence.ChaincodePackageMetadata, result2 []byte, result3 io.ReadCloser, result4 error)
func (*PackageProvider) Invocations ¶
func (fake *PackageProvider) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.