fakes

package
v2.159.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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 FakeAgentClient

type FakeAgentClient struct {
	PingStub func() (string, error)

	StopStub func() error

	DrainStub func(string) (int64, error)

	ApplyStub func(applyspec.ApplySpec) error

	StartStub func() error

	GetStateStub func() (agentclient.AgentState, error)

	MountDiskStub func(string) error

	UnmountDiskStub func(string) error

	ListDiskStub func() ([]string, error)

	MigrateDiskStub func() error

	CompilePackageStub func(packageSource agentclient.BlobRef, compiledPackageDependencies []agentclient.BlobRef) (compiledPackageRef agentclient.BlobRef, err error)

	DeleteARPEntriesStub func(ips []string) error

	SyncDNSStub func(blobID, sha1 string, version uint64) (string, error)

	RunScriptStub func(scriptName string, options map[string]interface{}) error
	// contains filtered or unexported fields
}

func (*FakeAgentClient) Apply

func (fake *FakeAgentClient) Apply(arg1 applyspec.ApplySpec) error

func (*FakeAgentClient) ApplyArgsForCall

func (fake *FakeAgentClient) ApplyArgsForCall(i int) applyspec.ApplySpec

func (*FakeAgentClient) ApplyCallCount

func (fake *FakeAgentClient) ApplyCallCount() int

func (*FakeAgentClient) ApplyReturns

func (fake *FakeAgentClient) ApplyReturns(result1 error)

func (*FakeAgentClient) ApplyReturnsOnCall

func (fake *FakeAgentClient) ApplyReturnsOnCall(i int, result1 error)

func (*FakeAgentClient) CompilePackage

func (fake *FakeAgentClient) CompilePackage(packageSource agentclient.BlobRef, compiledPackageDependencies []agentclient.BlobRef) (compiledPackageRef agentclient.BlobRef, err error)

func (*FakeAgentClient) CompilePackageArgsForCall

func (fake *FakeAgentClient) CompilePackageArgsForCall(i int) (agentclient.BlobRef, []agentclient.BlobRef)

func (*FakeAgentClient) CompilePackageCallCount

func (fake *FakeAgentClient) CompilePackageCallCount() int

func (*FakeAgentClient) CompilePackageReturns

func (fake *FakeAgentClient) CompilePackageReturns(result1 agentclient.BlobRef, result2 error)

func (*FakeAgentClient) CompilePackageReturnsOnCall

func (fake *FakeAgentClient) CompilePackageReturnsOnCall(i int, result1 agentclient.BlobRef, result2 error)

func (*FakeAgentClient) DeleteARPEntries

func (fake *FakeAgentClient) DeleteARPEntries(ips []string) error

func (*FakeAgentClient) DeleteARPEntriesArgsForCall

func (fake *FakeAgentClient) DeleteARPEntriesArgsForCall(i int) []string

func (*FakeAgentClient) DeleteARPEntriesCallCount

func (fake *FakeAgentClient) DeleteARPEntriesCallCount() int

func (*FakeAgentClient) DeleteARPEntriesReturns

func (fake *FakeAgentClient) DeleteARPEntriesReturns(result1 error)

func (*FakeAgentClient) DeleteARPEntriesReturnsOnCall

func (fake *FakeAgentClient) DeleteARPEntriesReturnsOnCall(i int, result1 error)

func (*FakeAgentClient) Drain

func (fake *FakeAgentClient) Drain(arg1 string) (int64, error)

func (*FakeAgentClient) DrainArgsForCall

func (fake *FakeAgentClient) DrainArgsForCall(i int) string

func (*FakeAgentClient) DrainCallCount

func (fake *FakeAgentClient) DrainCallCount() int

func (*FakeAgentClient) DrainReturns

func (fake *FakeAgentClient) DrainReturns(result1 int64, result2 error)

func (*FakeAgentClient) DrainReturnsOnCall

func (fake *FakeAgentClient) DrainReturnsOnCall(i int, result1 int64, result2 error)

func (*FakeAgentClient) GetState

func (fake *FakeAgentClient) GetState() (agentclient.AgentState, error)

func (*FakeAgentClient) GetStateCallCount

func (fake *FakeAgentClient) GetStateCallCount() int

func (*FakeAgentClient) GetStateReturns

func (fake *FakeAgentClient) GetStateReturns(result1 agentclient.AgentState, result2 error)

func (*FakeAgentClient) GetStateReturnsOnCall

func (fake *FakeAgentClient) GetStateReturnsOnCall(i int, result1 agentclient.AgentState, result2 error)

func (*FakeAgentClient) Invocations

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

func (*FakeAgentClient) ListDisk

func (fake *FakeAgentClient) ListDisk() ([]string, error)

func (*FakeAgentClient) ListDiskCallCount

func (fake *FakeAgentClient) ListDiskCallCount() int

func (*FakeAgentClient) ListDiskReturns

func (fake *FakeAgentClient) ListDiskReturns(result1 []string, result2 error)

func (*FakeAgentClient) ListDiskReturnsOnCall

func (fake *FakeAgentClient) ListDiskReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeAgentClient) MigrateDisk

func (fake *FakeAgentClient) MigrateDisk() error

func (*FakeAgentClient) MigrateDiskCallCount

func (fake *FakeAgentClient) MigrateDiskCallCount() int

func (*FakeAgentClient) MigrateDiskReturns

func (fake *FakeAgentClient) MigrateDiskReturns(result1 error)

func (*FakeAgentClient) MigrateDiskReturnsOnCall

func (fake *FakeAgentClient) MigrateDiskReturnsOnCall(i int, result1 error)

func (*FakeAgentClient) MountDisk

func (fake *FakeAgentClient) MountDisk(arg1 string) error

func (*FakeAgentClient) MountDiskArgsForCall

func (fake *FakeAgentClient) MountDiskArgsForCall(i int) string

func (*FakeAgentClient) MountDiskCallCount

func (fake *FakeAgentClient) MountDiskCallCount() int

func (*FakeAgentClient) MountDiskReturns

func (fake *FakeAgentClient) MountDiskReturns(result1 error)

func (*FakeAgentClient) MountDiskReturnsOnCall

func (fake *FakeAgentClient) MountDiskReturnsOnCall(i int, result1 error)

func (*FakeAgentClient) Ping

func (fake *FakeAgentClient) Ping() (string, error)

func (*FakeAgentClient) PingCallCount

func (fake *FakeAgentClient) PingCallCount() int

func (*FakeAgentClient) PingReturns

func (fake *FakeAgentClient) PingReturns(result1 string, result2 error)

func (*FakeAgentClient) PingReturnsOnCall

func (fake *FakeAgentClient) PingReturnsOnCall(i int, result1 string, result2 error)

func (*FakeAgentClient) RunScript

func (fake *FakeAgentClient) RunScript(scriptName string, options map[string]interface{}) error

func (*FakeAgentClient) RunScriptArgsForCall

func (fake *FakeAgentClient) RunScriptArgsForCall(i int) (string, map[string]interface{})

func (*FakeAgentClient) RunScriptCallCount

func (fake *FakeAgentClient) RunScriptCallCount() int

func (*FakeAgentClient) RunScriptReturns

func (fake *FakeAgentClient) RunScriptReturns(result1 error)

func (*FakeAgentClient) RunScriptReturnsOnCall

func (fake *FakeAgentClient) RunScriptReturnsOnCall(i int, result1 error)

func (*FakeAgentClient) Start

func (fake *FakeAgentClient) Start() error

func (*FakeAgentClient) StartCallCount

func (fake *FakeAgentClient) StartCallCount() int

func (*FakeAgentClient) StartReturns

func (fake *FakeAgentClient) StartReturns(result1 error)

func (*FakeAgentClient) StartReturnsOnCall

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

func (*FakeAgentClient) Stop

func (fake *FakeAgentClient) Stop() error

func (*FakeAgentClient) StopCallCount

func (fake *FakeAgentClient) StopCallCount() int

func (*FakeAgentClient) StopReturns

func (fake *FakeAgentClient) StopReturns(result1 error)

func (*FakeAgentClient) StopReturnsOnCall

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

func (*FakeAgentClient) SyncDNS

func (fake *FakeAgentClient) SyncDNS(blobID string, sha1 string, version uint64) (string, error)

func (*FakeAgentClient) SyncDNSArgsForCall

func (fake *FakeAgentClient) SyncDNSArgsForCall(i int) (string, string, uint64)

func (*FakeAgentClient) SyncDNSCallCount

func (fake *FakeAgentClient) SyncDNSCallCount() int

func (*FakeAgentClient) SyncDNSReturns

func (fake *FakeAgentClient) SyncDNSReturns(result1 string, result2 error)

func (*FakeAgentClient) SyncDNSReturnsOnCall

func (fake *FakeAgentClient) SyncDNSReturnsOnCall(i int, result1 string, result2 error)

func (*FakeAgentClient) UnmountDisk

func (fake *FakeAgentClient) UnmountDisk(arg1 string) error

func (*FakeAgentClient) UnmountDiskArgsForCall

func (fake *FakeAgentClient) UnmountDiskArgsForCall(i int) string

func (*FakeAgentClient) UnmountDiskCallCount

func (fake *FakeAgentClient) UnmountDiskCallCount() int

func (*FakeAgentClient) UnmountDiskReturns

func (fake *FakeAgentClient) UnmountDiskReturns(result1 error)

func (*FakeAgentClient) UnmountDiskReturnsOnCall

func (fake *FakeAgentClient) UnmountDiskReturnsOnCall(i int, result1 error)

Jump to

Keyboard shortcuts

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