mock

package
v0.0.0-...-523a819 Latest Latest
Warning

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

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

Documentation

Overview

此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。

此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。

此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。

此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。

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

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

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

func (*VM) HealthCheck

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

func (*VM) HealthCheckArgsForCall

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

func (*VM) HealthCheckCallCount

func (fake *VM) HealthCheckCallCount() int

func (*VM) HealthCheckCalls

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

func (*VM) HealthCheckReturns

func (fake *VM) HealthCheckReturns(result1 error)

func (*VM) HealthCheckReturnsOnCall

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

func (*VM) Invocations

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

func (*VM) Start

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

func (*VM) StartArgsForCall

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

func (*VM) StartCallCount

func (fake *VM) StartCallCount() int

func (*VM) StartCalls

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

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(arg1 ccintf.CCID, arg2 uint, arg3 bool, arg4 bool) error

func (*VM) StopArgsForCall

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

func (*VM) StopCallCount

func (fake *VM) StopCallCount() int

func (*VM) StopCalls

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

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(container.VM) error

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

func (*VMCReq) Do

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

func (*VMCReq) DoArgsForCall

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

func (*VMCReq) DoCallCount

func (fake *VMCReq) DoCallCount() int

func (*VMCReq) DoCalls

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

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

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

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

func (*VMProvider) Invocations

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

func (*VMProvider) NewVM

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

func (*VMProvider) NewVMCallCount

func (fake *VMProvider) NewVMCallCount() int

func (*VMProvider) NewVMCalls

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

func (*VMProvider) NewVMReturns

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

func (*VMProvider) NewVMReturnsOnCall

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