mock

package
v1.4.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder added in v1.2.0

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

func (*Builder) Build added in v1.2.0

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

func (*Builder) BuildCallCount added in v1.2.0

func (fake *Builder) BuildCallCount() int

func (*Builder) BuildCalls added in v1.4.0

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

func (*Builder) BuildReturns added in v1.2.0

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

func (*Builder) BuildReturnsOnCall added in v1.2.0

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

func (*Builder) Invocations added in v1.2.0

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

type ExitedFunc added in v1.4.1

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

func (*ExitedFunc) ArgsForCall added in v1.4.1

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

func (*ExitedFunc) CallCount added in v1.4.1

func (fake *ExitedFunc) CallCount() int

func (*ExitedFunc) Calls added in v1.4.1

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

func (*ExitedFunc) Invocations added in v1.4.1

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

func (*ExitedFunc) Spy added in v1.4.1

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

type VM added in v1.2.0

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 added in v1.4.0

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

func (*VM) HealthCheckArgsForCall added in v1.4.0

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

func (*VM) HealthCheckCallCount added in v1.4.0

func (fake *VM) HealthCheckCallCount() int

func (*VM) HealthCheckCalls added in v1.4.0

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

func (*VM) HealthCheckReturns added in v1.4.0

func (fake *VM) HealthCheckReturns(result1 error)

func (*VM) HealthCheckReturnsOnCall added in v1.4.0

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

func (*VM) Invocations added in v1.2.0

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

func (*VM) Start added in v1.2.0

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

func (*VM) StartArgsForCall added in v1.2.0

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

func (*VM) StartCallCount added in v1.2.0

func (fake *VM) StartCallCount() int

func (*VM) StartCalls added in v1.4.0

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

func (*VM) StartReturns added in v1.2.0

func (fake *VM) StartReturns(result1 error)

func (*VM) StartReturnsOnCall added in v1.2.0

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

func (*VM) Stop added in v1.2.0

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

func (*VM) StopArgsForCall added in v1.2.0

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

func (*VM) StopCallCount added in v1.2.0

func (fake *VM) StopCallCount() int

func (*VM) StopCalls added in v1.4.0

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

func (*VM) StopReturns added in v1.2.0

func (fake *VM) StopReturns(result1 error)

func (*VM) StopReturnsOnCall added in v1.2.0

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

func (*VM) Wait added in v1.4.1

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

func (*VM) WaitArgsForCall added in v1.4.1

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

func (*VM) WaitCallCount added in v1.4.1

func (fake *VM) WaitCallCount() int

func (*VM) WaitCalls added in v1.4.1

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

func (*VM) WaitReturns added in v1.4.1

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

func (*VM) WaitReturnsOnCall added in v1.4.1

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

type VMCReq added in v1.2.0

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

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

func (*VMCReq) Do added in v1.2.0

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

func (*VMCReq) DoArgsForCall added in v1.2.0

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

func (*VMCReq) DoCallCount added in v1.2.0

func (fake *VMCReq) DoCallCount() int

func (*VMCReq) DoCalls added in v1.4.0

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

func (*VMCReq) DoReturns added in v1.2.0

func (fake *VMCReq) DoReturns(result1 error)

func (*VMCReq) DoReturnsOnCall added in v1.2.0

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

func (*VMCReq) GetCCID added in v1.2.0

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

func (*VMCReq) GetCCIDCallCount added in v1.2.0

func (fake *VMCReq) GetCCIDCallCount() int

func (*VMCReq) GetCCIDCalls added in v1.4.0

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

func (*VMCReq) GetCCIDReturns added in v1.2.0

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

func (*VMCReq) GetCCIDReturnsOnCall added in v1.2.0

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

func (*VMCReq) Invocations added in v1.2.0

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

type VMProvider added in v1.2.0

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

func (*VMProvider) Invocations added in v1.2.0

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

func (*VMProvider) NewVM added in v1.2.0

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

func (*VMProvider) NewVMCallCount added in v1.2.0

func (fake *VMProvider) NewVMCallCount() int

func (*VMProvider) NewVMCalls added in v1.4.0

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

func (*VMProvider) NewVMReturns added in v1.2.0

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

func (*VMProvider) NewVMReturnsOnCall added in v1.2.0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL