fakes

package
v2.215.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2019 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 {
	AddPersistentDiskStub func(string, interface{}) error

	ApplyStub func(applyspec.ApplySpec) error

	CompilePackageStub func(agentclient.BlobRef, []agentclient.BlobRef) (agentclient.BlobRef, error)

	DeleteARPEntriesStub func([]string) error

	DrainStub func(string) (int64, error)

	GetStateStub func() (agentclient.AgentState, error)

	ListDiskStub func() ([]string, error)

	MigrateDiskStub func() error

	MountDiskStub func(string) error

	PingStub func() (string, error)

	RemovePersistentDiskStub func(string) error

	RunScriptStub func(string, map[string]interface{}) error

	StartStub func() error

	StopStub func() error

	SyncDNSStub func(string, string, uint64) (string, error)

	UnmountDiskStub func(string) error
	// contains filtered or unexported fields
}

func (*FakeAgentClient) AddPersistentDisk

func (fake *FakeAgentClient) AddPersistentDisk(arg1 string, arg2 interface{}) error

func (*FakeAgentClient) AddPersistentDiskArgsForCall

func (fake *FakeAgentClient) AddPersistentDiskArgsForCall(i int) (string, interface{})

func (*FakeAgentClient) AddPersistentDiskCallCount

func (fake *FakeAgentClient) AddPersistentDiskCallCount() int

func (*FakeAgentClient) AddPersistentDiskCalls

func (fake *FakeAgentClient) AddPersistentDiskCalls(stub func(string, interface{}) error)

func (*FakeAgentClient) AddPersistentDiskReturns

func (fake *FakeAgentClient) AddPersistentDiskReturns(result1 error)

func (*FakeAgentClient) AddPersistentDiskReturnsOnCall

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

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

func (fake *FakeAgentClient) ApplyCalls(stub func(applyspec.ApplySpec) error)

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(arg1 agentclient.BlobRef, arg2 []agentclient.BlobRef) (agentclient.BlobRef, error)

func (*FakeAgentClient) CompilePackageArgsForCall

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

func (*FakeAgentClient) CompilePackageCallCount

func (fake *FakeAgentClient) CompilePackageCallCount() int

func (*FakeAgentClient) CompilePackageCalls

func (fake *FakeAgentClient) CompilePackageCalls(stub func(agentclient.BlobRef, []agentclient.BlobRef) (agentclient.BlobRef, error))

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(arg1 []string) error

func (*FakeAgentClient) DeleteARPEntriesArgsForCall

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

func (*FakeAgentClient) DeleteARPEntriesCallCount

func (fake *FakeAgentClient) DeleteARPEntriesCallCount() int

func (*FakeAgentClient) DeleteARPEntriesCalls

func (fake *FakeAgentClient) DeleteARPEntriesCalls(stub func([]string) error)

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

func (fake *FakeAgentClient) DrainCalls(stub func(string) (int64, error))

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

func (fake *FakeAgentClient) GetStateCalls(stub func() (agentclient.AgentState, error))

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

func (fake *FakeAgentClient) ListDiskCalls(stub func() ([]string, error))

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

func (fake *FakeAgentClient) MigrateDiskCalls(stub func() error)

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

func (fake *FakeAgentClient) MountDiskCalls(stub func(string) error)

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

func (fake *FakeAgentClient) PingCalls(stub func() (string, error))

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

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

func (*FakeAgentClient) RemovePersistentDiskArgsForCall

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

func (*FakeAgentClient) RemovePersistentDiskCallCount

func (fake *FakeAgentClient) RemovePersistentDiskCallCount() int

func (*FakeAgentClient) RemovePersistentDiskCalls

func (fake *FakeAgentClient) RemovePersistentDiskCalls(stub func(string) error)

func (*FakeAgentClient) RemovePersistentDiskReturns

func (fake *FakeAgentClient) RemovePersistentDiskReturns(result1 error)

func (*FakeAgentClient) RemovePersistentDiskReturnsOnCall

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

func (*FakeAgentClient) RunScript

func (fake *FakeAgentClient) RunScript(arg1 string, arg2 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) RunScriptCalls

func (fake *FakeAgentClient) RunScriptCalls(stub func(string, map[string]interface{}) error)

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

func (fake *FakeAgentClient) StartCalls(stub func() error)

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

func (fake *FakeAgentClient) StopCalls(stub func() error)

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(arg1 string, arg2 string, arg3 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) SyncDNSCalls

func (fake *FakeAgentClient) SyncDNSCalls(stub func(string, string, uint64) (string, error))

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

func (fake *FakeAgentClient) UnmountDiskCalls(stub func(string) error)

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