mock

package
v1.2.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2018 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.

Index

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) Build

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

func (*Builder) BuildCallCount

func (fake *Builder) BuildCallCount() int

func (*Builder) BuildReturns

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

func (*Builder) BuildReturnsOnCall

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

func (*Builder) Invocations

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

type VM

type VM struct {
	StartStub func(ctxt context.Context, ccid ccintf.CCID, args []string, env []string, filesToUpload map[string][]byte, builder container_test.Builder) error

	StopStub func(ctxt context.Context, ccid ccintf.CCID, timeout uint, dontkill bool, dontremove bool) error
	// contains filtered or unexported fields
}

func (*VM) Invocations

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

func (*VM) Start

func (fake *VM) Start(ctxt context.Context, ccid ccintf.CCID, args []string, env []string, filesToUpload map[string][]byte, builder container_test.Builder) error

func (*VM) StartArgsForCall

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

func (*VM) StartCallCount

func (fake *VM) StartCallCount() int

func (*VM) StartReturns

func (fake *VM) StartReturns(result1 error)

func (*VM) StartReturnsOnCall

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

func (*VM) Stop

func (fake *VM) Stop(ctxt context.Context, ccid ccintf.CCID, timeout uint, dontkill bool, dontremove bool) error

func (*VM) StopArgsForCall

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

func (*VM) StopCallCount

func (fake *VM) StopCallCount() int

func (*VM) StopReturns

func (fake *VM) StopReturns(result1 error)

func (*VM) StopReturnsOnCall

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

type VMCReq

type VMCReq struct {
	DoStub func(ctxt context.Context, v container_test.VM) error

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

func (*VMCReq) Do

func (fake *VMCReq) Do(ctxt context.Context, v container_test.VM) error

func (*VMCReq) DoArgsForCall

func (fake *VMCReq) DoArgsForCall(i int) (context.Context, container_test.VM)

func (*VMCReq) DoCallCount

func (fake *VMCReq) DoCallCount() int

func (*VMCReq) DoReturns

func (fake *VMCReq) DoReturns(result1 error)

func (*VMCReq) DoReturnsOnCall

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

func (*VMCReq) GetCCID

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

func (*VMCReq) GetCCIDCallCount

func (fake *VMCReq) GetCCIDCallCount() int

func (*VMCReq) GetCCIDReturns

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

func (*VMCReq) GetCCIDReturnsOnCall

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

func (*VMCReq) Invocations

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

type VMProvider

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

func (*VMProvider) Invocations

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

func (*VMProvider) NewVM

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

func (*VMProvider) NewVMCallCount

func (fake *VMProvider) NewVMCallCount() int

func (*VMProvider) NewVMReturns

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

func (*VMProvider) NewVMReturnsOnCall

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

Jump to

Keyboard shortcuts

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