Package mock
import "github.com/hyperledger/fabric/core/container/mock"
- Overview
- Index
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.
- 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
- func (fake *ExitedFunc) ArgsForCall(i int) (int, error)
- func (fake *ExitedFunc) CallCount() int
- func (fake *ExitedFunc) Calls(stub func(int, error))
- func (fake *ExitedFunc) Invocations() map[string][][]interface{}
- func (fake *ExitedFunc) Spy(arg1 int, arg2 error)
- type VM
- func (fake *VM) HealthCheck(arg1 context.Context) error
- func (fake *VM) HealthCheckArgsForCall(i int) context.Context
- func (fake *VM) HealthCheckCallCount() int
- func (fake *VM) HealthCheckCalls(stub func(context.Context) error)
- func (fake *VM) HealthCheckReturns(result1 error)
- func (fake *VM) HealthCheckReturnsOnCall(i int, result1 error)
- func (fake *VM) Invocations() map[string][][]interface{}
- func (fake *VM) Start(arg1 ccintf.CCID, arg2 []string, arg3 []string, arg4 map[string][]byte, arg5 container.Builder) error
- func (fake *VM) StartArgsForCall(i int) (ccintf.CCID, []string, []string, map[string][]byte, container.Builder)
- func (fake *VM) StartCallCount() int
- func (fake *VM) StartCalls(stub func(ccintf.CCID, []string, []string, map[string][]byte, container.Builder) error)
- func (fake *VM) StartReturns(result1 error)
- func (fake *VM) StartReturnsOnCall(i int, result1 error)
- func (fake *VM) Stop(arg1 ccintf.CCID, arg2 uint, arg3 bool, arg4 bool) error
- func (fake *VM) StopArgsForCall(i int) (ccintf.CCID, uint, bool, bool)
- func (fake *VM) StopCallCount() int
- func (fake *VM) StopCalls(stub func(ccintf.CCID, uint, bool, bool) error)
- func (fake *VM) StopReturns(result1 error)
- func (fake *VM) StopReturnsOnCall(i int, result1 error)
- func (fake *VM) Wait(arg1 ccintf.CCID) (int, error)
- func (fake *VM) WaitArgsForCall(i int) ccintf.CCID
- func (fake *VM) WaitCallCount() int
- func (fake *VM) WaitCalls(stub func(ccintf.CCID) (int, error))
- func (fake *VM) WaitReturns(result1 int, result2 error)
- func (fake *VM) WaitReturnsOnCall(i int, result1 int, result2 error)
- 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)
Package files
builder.go
exitedfunc.go
vm.go
vm_provider.go
vm_req.go
type Builder struct {
BuildStub func() (io.Reader, error)
}
func (*Builder) Build
¶
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 struct {
Stub func(int, error)
}
func (fake *ExitedFunc) ArgsForCall(i int) (int, error)
func (fake *ExitedFunc) CallCount() int
func (*ExitedFunc) Calls
¶
func (fake *ExitedFunc) Calls(stub func(int, error))
func (fake *ExitedFunc) Invocations() map[string][][]interface{}
func (*ExitedFunc) Spy
¶
func (fake *ExitedFunc) Spy(arg1 int, arg2 error)
type VM struct {
HealthCheckStub func(context.Context) error
StartStub func(ccintf.CCID, []string, []string, map[string][]byte, container.Builder) error
StopStub func(ccintf.CCID, uint, bool, bool) error
WaitStub func(ccintf.CCID) (int, error)
}
func (fake *VM) HealthCheck(arg1 context.Context) error
func (fake *VM) HealthCheckArgsForCall(i int) context.Context
func (fake *VM) HealthCheckCallCount() int
func (fake *VM) HealthCheckCalls(stub func(context.Context) error)
func (fake *VM) HealthCheckReturns(result1 error)
func (fake *VM) HealthCheckReturnsOnCall(i int, result1 error)
func (fake *VM) Invocations() map[string][][]interface{}
func (fake *VM) Start(arg1 ccintf.CCID, arg2 []string, arg3 []string, arg4 map[string][]byte, arg5 container.Builder) error
func (fake *VM) StartArgsForCall(i int) (ccintf.CCID, []string, []string, map[string][]byte, container.Builder)
func (fake *VM) StartCallCount() int
func (fake *VM) StartCalls(stub func(ccintf.CCID, []string, []string, map[string][]byte, container.Builder) error)
func (fake *VM) StartReturns(result1 error)
func (fake *VM) StartReturnsOnCall(i int, result1 error)
func (*VM) Stop
¶
func (fake *VM) Stop(arg1 ccintf.CCID, arg2 uint, arg3 bool, arg4 bool) error
func (fake *VM) StopArgsForCall(i int) (ccintf.CCID, uint, bool, bool)
func (fake *VM) StopCallCount() int
func (fake *VM) StopCalls(stub func(ccintf.CCID, uint, bool, bool) error)
func (fake *VM) StopReturns(result1 error)
func (fake *VM) StopReturnsOnCall(i int, result1 error)
func (*VM) Wait
¶
func (fake *VM) Wait(arg1 ccintf.CCID) (int, error)
func (fake *VM) WaitArgsForCall(i int) ccintf.CCID
func (fake *VM) WaitCallCount() int
func (fake *VM) WaitCalls(stub func(ccintf.CCID) (int, error))
func (fake *VM) WaitReturns(result1 int, result2 error)
func (fake *VM) WaitReturnsOnCall(i int, result1 int, result2 error)
type VMCReq struct {
DoStub func(container.VM) error
GetCCIDStub func() ccintf.CCID
}
func (*VMCReq) Do
¶
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 struct {
NewVMStub func() container.VM
}
func (fake *VMProvider) Invocations() map[string][][]interface{}
func (*VMProvider) NewVM
¶
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)