fabric: github.com/hyperledger/fabric/core/container/mock Index | Files

package mock

import "github.com/hyperledger/fabric/core/container/mock"

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

Package Files

builder.go exitedfunc.go vm.go vm_provider.go vm_req.go

type Builder Uses

type Builder struct {
    BuildStub func() (io.Reader, error)
    // contains filtered or unexported fields
}

func (*Builder) Build Uses

func (fake *Builder) Build() (io.Reader, error)

func (*Builder) BuildCallCount Uses

func (fake *Builder) BuildCallCount() int

func (*Builder) BuildCalls Uses

func (fake *Builder) BuildCalls(stub func() (io.Reader, error))

func (*Builder) BuildReturns Uses

func (fake *Builder) BuildReturns(result1 io.Reader, result2 error)

func (*Builder) BuildReturnsOnCall Uses

func (fake *Builder) BuildReturnsOnCall(i int, result1 io.Reader, result2 error)

func (*Builder) Invocations Uses

func (fake *Builder) Invocations() map[string][][]interface{}

type ExitedFunc Uses

type ExitedFunc struct {
    Stub func(int, error)
    // contains filtered or unexported fields
}

func (*ExitedFunc) ArgsForCall Uses

func (fake *ExitedFunc) ArgsForCall(i int) (int, error)

func (*ExitedFunc) CallCount Uses

func (fake *ExitedFunc) CallCount() int

func (*ExitedFunc) Calls Uses

func (fake *ExitedFunc) Calls(stub func(int, error))

func (*ExitedFunc) Invocations Uses

func (fake *ExitedFunc) Invocations() map[string][][]interface{}

func (*ExitedFunc) Spy Uses

func (fake *ExitedFunc) Spy(arg1 int, arg2 error)

type VM Uses

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)
    // contains filtered or unexported fields
}

func (*VM) HealthCheck Uses

func (fake *VM) HealthCheck(arg1 context.Context) error

func (*VM) HealthCheckArgsForCall Uses

func (fake *VM) HealthCheckArgsForCall(i int) context.Context

func (*VM) HealthCheckCallCount Uses

func (fake *VM) HealthCheckCallCount() int

func (*VM) HealthCheckCalls Uses

func (fake *VM) HealthCheckCalls(stub func(context.Context) error)

func (*VM) HealthCheckReturns Uses

func (fake *VM) HealthCheckReturns(result1 error)

func (*VM) HealthCheckReturnsOnCall Uses

func (fake *VM) HealthCheckReturnsOnCall(i int, result1 error)

func (*VM) Invocations Uses

func (fake *VM) Invocations() map[string][][]interface{}

func (*VM) Start Uses

func (fake *VM) Start(arg1 ccintf.CCID, arg2 []string, arg3 []string, arg4 map[string][]byte, arg5 container.Builder) error

func (*VM) StartArgsForCall Uses

func (fake *VM) StartArgsForCall(i int) (ccintf.CCID, []string, []string, map[string][]byte, container.Builder)

func (*VM) StartCallCount Uses

func (fake *VM) StartCallCount() int

func (*VM) StartCalls Uses

func (fake *VM) StartCalls(stub func(ccintf.CCID, []string, []string, map[string][]byte, container.Builder) error)

func (*VM) StartReturns Uses

func (fake *VM) StartReturns(result1 error)

func (*VM) StartReturnsOnCall Uses

func (fake *VM) StartReturnsOnCall(i int, result1 error)

func (*VM) Stop Uses

func (fake *VM) Stop(arg1 ccintf.CCID, arg2 uint, arg3 bool, arg4 bool) error

func (*VM) StopArgsForCall Uses

func (fake *VM) StopArgsForCall(i int) (ccintf.CCID, uint, bool, bool)

func (*VM) StopCallCount Uses

func (fake *VM) StopCallCount() int

func (*VM) StopCalls Uses

func (fake *VM) StopCalls(stub func(ccintf.CCID, uint, bool, bool) error)

func (*VM) StopReturns Uses

func (fake *VM) StopReturns(result1 error)

func (*VM) StopReturnsOnCall Uses

func (fake *VM) StopReturnsOnCall(i int, result1 error)

func (*VM) Wait Uses

func (fake *VM) Wait(arg1 ccintf.CCID) (int, error)

func (*VM) WaitArgsForCall Uses

func (fake *VM) WaitArgsForCall(i int) ccintf.CCID

func (*VM) WaitCallCount Uses

func (fake *VM) WaitCallCount() int

func (*VM) WaitCalls Uses

func (fake *VM) WaitCalls(stub func(ccintf.CCID) (int, error))

func (*VM) WaitReturns Uses

func (fake *VM) WaitReturns(result1 int, result2 error)

func (*VM) WaitReturnsOnCall Uses

func (fake *VM) WaitReturnsOnCall(i int, result1 int, result2 error)

type VMCReq Uses

type VMCReq struct {
    DoStub func(container.VM) error

    GetCCIDStub func() ccintf.CCID
    // contains filtered or unexported fields
}

func (*VMCReq) Do Uses

func (fake *VMCReq) Do(arg1 container.VM) error

func (*VMCReq) DoArgsForCall Uses

func (fake *VMCReq) DoArgsForCall(i int) container.VM

func (*VMCReq) DoCallCount Uses

func (fake *VMCReq) DoCallCount() int

func (*VMCReq) DoCalls Uses

func (fake *VMCReq) DoCalls(stub func(container.VM) error)

func (*VMCReq) DoReturns Uses

func (fake *VMCReq) DoReturns(result1 error)

func (*VMCReq) DoReturnsOnCall Uses

func (fake *VMCReq) DoReturnsOnCall(i int, result1 error)

func (*VMCReq) GetCCID Uses

func (fake *VMCReq) GetCCID() ccintf.CCID

func (*VMCReq) GetCCIDCallCount Uses

func (fake *VMCReq) GetCCIDCallCount() int

func (*VMCReq) GetCCIDCalls Uses

func (fake *VMCReq) GetCCIDCalls(stub func() ccintf.CCID)

func (*VMCReq) GetCCIDReturns Uses

func (fake *VMCReq) GetCCIDReturns(result1 ccintf.CCID)

func (*VMCReq) GetCCIDReturnsOnCall Uses

func (fake *VMCReq) GetCCIDReturnsOnCall(i int, result1 ccintf.CCID)

func (*VMCReq) Invocations Uses

func (fake *VMCReq) Invocations() map[string][][]interface{}

type VMProvider Uses

type VMProvider struct {
    NewVMStub func() container.VM
    // contains filtered or unexported fields
}

func (*VMProvider) Invocations Uses

func (fake *VMProvider) Invocations() map[string][][]interface{}

func (*VMProvider) NewVM Uses

func (fake *VMProvider) NewVM() container.VM

func (*VMProvider) NewVMCallCount Uses

func (fake *VMProvider) NewVMCallCount() int

func (*VMProvider) NewVMCalls Uses

func (fake *VMProvider) NewVMCalls(stub func() container.VM)

func (*VMProvider) NewVMReturns Uses

func (fake *VMProvider) NewVMReturns(result1 container.VM)

func (*VMProvider) NewVMReturnsOnCall Uses

func (fake *VMProvider) NewVMReturnsOnCall(i int, result1 container.VM)

Package mock imports 5 packages (graph). Updated 2019-03-18. Refresh now. Tools for package owners.