fakes

package
v2.80.0+incompatible Latest Latest
Warning

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

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

Documentation

Overview

This file was generated by counterfeiter

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

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

Jump to

Keyboard shortcuts

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