Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeAgentClient
- func (fake *FakeAgentClient) Apply(arg1 applyspec.ApplySpec) error
- func (fake *FakeAgentClient) ApplyArgsForCall(i int) applyspec.ApplySpec
- func (fake *FakeAgentClient) ApplyCallCount() int
- func (fake *FakeAgentClient) ApplyReturns(result1 error)
- func (fake *FakeAgentClient) CompilePackage(packageSource agentclient.BlobRef, ...) (compiledPackageRef agentclient.BlobRef, err error)
- func (fake *FakeAgentClient) CompilePackageArgsForCall(i int) (agentclient.BlobRef, []agentclient.BlobRef)
- func (fake *FakeAgentClient) CompilePackageCallCount() int
- func (fake *FakeAgentClient) CompilePackageReturns(result1 agentclient.BlobRef, result2 error)
- func (fake *FakeAgentClient) DeleteARPEntries(ips []string) error
- func (fake *FakeAgentClient) DeleteARPEntriesArgsForCall(i int) []string
- func (fake *FakeAgentClient) DeleteARPEntriesCallCount() int
- func (fake *FakeAgentClient) DeleteARPEntriesReturns(result1 error)
- func (fake *FakeAgentClient) GetState() (agentclient.AgentState, error)
- func (fake *FakeAgentClient) GetStateCallCount() int
- func (fake *FakeAgentClient) GetStateReturns(result1 agentclient.AgentState, result2 error)
- func (fake *FakeAgentClient) Invocations() map[string][][]interface{}
- func (fake *FakeAgentClient) ListDisk() ([]string, error)
- func (fake *FakeAgentClient) ListDiskCallCount() int
- func (fake *FakeAgentClient) ListDiskReturns(result1 []string, result2 error)
- func (fake *FakeAgentClient) MigrateDisk() error
- func (fake *FakeAgentClient) MigrateDiskCallCount() int
- func (fake *FakeAgentClient) MigrateDiskReturns(result1 error)
- func (fake *FakeAgentClient) MountDisk(arg1 string) error
- func (fake *FakeAgentClient) MountDiskArgsForCall(i int) string
- func (fake *FakeAgentClient) MountDiskCallCount() int
- func (fake *FakeAgentClient) MountDiskReturns(result1 error)
- func (fake *FakeAgentClient) Ping() (string, error)
- func (fake *FakeAgentClient) PingCallCount() int
- func (fake *FakeAgentClient) PingReturns(result1 string, result2 error)
- func (fake *FakeAgentClient) RunScript(scriptName string, options map[string]interface{}) error
- func (fake *FakeAgentClient) RunScriptArgsForCall(i int) (string, map[string]interface{})
- func (fake *FakeAgentClient) RunScriptCallCount() int
- func (fake *FakeAgentClient) RunScriptReturns(result1 error)
- func (fake *FakeAgentClient) SSH(cmd string, params agentclient.SSHParams) error
- func (fake *FakeAgentClient) SSHArgsForCall(i int) (string, agentclient.SSHParams)
- func (fake *FakeAgentClient) SSHCallCount() int
- func (fake *FakeAgentClient) SSHReturns(result1 error)
- func (fake *FakeAgentClient) Start() error
- func (fake *FakeAgentClient) StartCallCount() int
- func (fake *FakeAgentClient) StartReturns(result1 error)
- func (fake *FakeAgentClient) Stop() error
- func (fake *FakeAgentClient) StopCallCount() int
- func (fake *FakeAgentClient) StopReturns(result1 error)
- func (fake *FakeAgentClient) SyncDNS(blobID string, sha1 string, version uint64) (string, error)
- func (fake *FakeAgentClient) SyncDNSArgsForCall(i int) (string, string, uint64)
- func (fake *FakeAgentClient) SyncDNSCallCount() int
- func (fake *FakeAgentClient) SyncDNSReturns(result1 string, result2 error)
- func (fake *FakeAgentClient) UnmountDisk(arg1 string) error
- func (fake *FakeAgentClient) UnmountDiskArgsForCall(i int) string
- func (fake *FakeAgentClient) UnmountDiskCallCount() int
- func (fake *FakeAgentClient) UnmountDiskReturns(result1 error)
- func (fake *FakeAgentClient) UpdateSettings(arg1 settings.UpdateSettings) error
- func (fake *FakeAgentClient) UpdateSettingsArgsForCall(i int) settings.UpdateSettings
- func (fake *FakeAgentClient) UpdateSettingsCallCount() int
- func (fake *FakeAgentClient) UpdateSettingsReturns(result1 error)
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) UpdateSettingsStub func(settings.UpdateSettings) error RunScriptStub func(scriptName string, options map[string]interface{}) error SSHStub func(cmd string, params agentclient.SSHParams) error // contains filtered or unexported fields }
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) SSH ¶
func (fake *FakeAgentClient) SSH(cmd string, params agentclient.SSHParams) error
func (*FakeAgentClient) SSHArgsForCall ¶
func (fake *FakeAgentClient) SSHArgsForCall(i int) (string, agentclient.SSHParams)
func (*FakeAgentClient) SSHCallCount ¶
func (fake *FakeAgentClient) SSHCallCount() int
func (*FakeAgentClient) SSHReturns ¶
func (fake *FakeAgentClient) SSHReturns(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) 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)
func (*FakeAgentClient) UpdateSettings ¶
func (fake *FakeAgentClient) UpdateSettings(arg1 settings.UpdateSettings) error
func (*FakeAgentClient) UpdateSettingsArgsForCall ¶
func (fake *FakeAgentClient) UpdateSettingsArgsForCall(i int) settings.UpdateSettings
func (*FakeAgentClient) UpdateSettingsCallCount ¶
func (fake *FakeAgentClient) UpdateSettingsCallCount() int
func (*FakeAgentClient) UpdateSettingsReturns ¶
func (fake *FakeAgentClient) UpdateSettingsReturns(result1 error)
Click to show internal directories.
Click to hide internal directories.