Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeDiskDeployer
- func (fake *FakeDiskDeployer) Deploy(arg1 manifest.DiskPool, arg2 cloud.Cloud, arg3 vm.VM, arg4 ui.Stage) ([]disk.Disk, error)
- func (fake *FakeDiskDeployer) DeployArgsForCall(i int) (manifest.DiskPool, cloud.Cloud, vm.VM, ui.Stage)
- func (fake *FakeDiskDeployer) DeployCallCount() int
- func (fake *FakeDiskDeployer) DeployCalls(...)
- func (fake *FakeDiskDeployer) DeployReturns(result1 []disk.Disk, result2 error)
- func (fake *FakeDiskDeployer) DeployReturnsOnCall(i int, result1 []disk.Disk, result2 error)
- func (fake *FakeDiskDeployer) Invocations() map[string][][]interface{}
- type FakeManager
- func (fake *FakeManager) Create(arg1 stemcell.CloudStemcell, arg2 manifest.Manifest, arg3 []string) (vm.VM, error)
- func (fake *FakeManager) CreateArgsForCall(i int) (stemcell.CloudStemcell, manifest.Manifest, []string)
- func (fake *FakeManager) CreateCallCount() int
- func (fake *FakeManager) CreateCalls(stub func(stemcell.CloudStemcell, manifest.Manifest, []string) (vm.VM, error))
- func (fake *FakeManager) CreateReturns(result1 vm.VM, result2 error)
- func (fake *FakeManager) CreateReturnsOnCall(i int, result1 vm.VM, result2 error)
- func (fake *FakeManager) FindCurrent() (vm.VM, bool, error)
- func (fake *FakeManager) FindCurrentCallCount() int
- func (fake *FakeManager) FindCurrentCalls(stub func() (vm.VM, bool, error))
- func (fake *FakeManager) FindCurrentReturns(result1 vm.VM, result2 bool, result3 error)
- func (fake *FakeManager) FindCurrentReturnsOnCall(i int, result1 vm.VM, result2 bool, result3 error)
- func (fake *FakeManager) Invocations() map[string][][]interface{}
- type FakeManagerFactory
- func (fake *FakeManagerFactory) Invocations() map[string][][]interface{}
- func (fake *FakeManagerFactory) NewManager(arg1 cloud.Cloud, arg2 agentclient.AgentClient) vm.Manager
- func (fake *FakeManagerFactory) NewManagerArgsForCall(i int) (cloud.Cloud, agentclient.AgentClient)
- func (fake *FakeManagerFactory) NewManagerCallCount() int
- func (fake *FakeManagerFactory) NewManagerCalls(stub func(cloud.Cloud, agentclient.AgentClient) vm.Manager)
- func (fake *FakeManagerFactory) NewManagerReturns(result1 vm.Manager)
- func (fake *FakeManagerFactory) NewManagerReturnsOnCall(i int, result1 vm.Manager)
- type FakeVM
- func (fake *FakeVM) AgentClient() agentclient.AgentClient
- func (fake *FakeVM) AgentClientCallCount() int
- func (fake *FakeVM) AgentClientCalls(stub func() agentclient.AgentClient)
- func (fake *FakeVM) AgentClientReturns(result1 agentclient.AgentClient)
- func (fake *FakeVM) AgentClientReturnsOnCall(i int, result1 agentclient.AgentClient)
- func (fake *FakeVM) Apply(arg1 applyspec.ApplySpec) error
- func (fake *FakeVM) ApplyArgsForCall(i int) applyspec.ApplySpec
- func (fake *FakeVM) ApplyCallCount() int
- func (fake *FakeVM) ApplyCalls(stub func(applyspec.ApplySpec) error)
- func (fake *FakeVM) ApplyReturns(result1 error)
- func (fake *FakeVM) ApplyReturnsOnCall(i int, result1 error)
- func (fake *FakeVM) AttachDisk(arg1 disk.Disk) error
- func (fake *FakeVM) AttachDiskArgsForCall(i int) disk.Disk
- func (fake *FakeVM) AttachDiskCallCount() int
- func (fake *FakeVM) AttachDiskCalls(stub func(disk.Disk) error)
- func (fake *FakeVM) AttachDiskReturns(result1 error)
- func (fake *FakeVM) AttachDiskReturnsOnCall(i int, result1 error)
- func (fake *FakeVM) CID() string
- func (fake *FakeVM) CIDCallCount() int
- func (fake *FakeVM) CIDCalls(stub func() string)
- func (fake *FakeVM) CIDReturns(result1 string)
- func (fake *FakeVM) CIDReturnsOnCall(i int, result1 string)
- func (fake *FakeVM) Delete() error
- func (fake *FakeVM) DeleteCallCount() int
- func (fake *FakeVM) DeleteCalls(stub func() error)
- func (fake *FakeVM) DeleteReturns(result1 error)
- func (fake *FakeVM) DeleteReturnsOnCall(i int, result1 error)
- func (fake *FakeVM) DetachDisk(arg1 disk.Disk) error
- func (fake *FakeVM) DetachDiskArgsForCall(i int) disk.Disk
- func (fake *FakeVM) DetachDiskCallCount() int
- func (fake *FakeVM) DetachDiskCalls(stub func(disk.Disk) error)
- func (fake *FakeVM) DetachDiskReturns(result1 error)
- func (fake *FakeVM) DetachDiskReturnsOnCall(i int, result1 error)
- func (fake *FakeVM) Disks() ([]disk.Disk, error)
- func (fake *FakeVM) DisksCallCount() int
- func (fake *FakeVM) DisksCalls(stub func() ([]disk.Disk, error))
- func (fake *FakeVM) DisksReturns(result1 []disk.Disk, result2 error)
- func (fake *FakeVM) DisksReturnsOnCall(i int, result1 []disk.Disk, result2 error)
- func (fake *FakeVM) Drain() error
- func (fake *FakeVM) DrainCallCount() int
- func (fake *FakeVM) DrainCalls(stub func() error)
- func (fake *FakeVM) DrainReturns(result1 error)
- func (fake *FakeVM) DrainReturnsOnCall(i int, result1 error)
- func (fake *FakeVM) Exists() (bool, error)
- func (fake *FakeVM) ExistsCallCount() int
- func (fake *FakeVM) ExistsCalls(stub func() (bool, error))
- func (fake *FakeVM) ExistsReturns(result1 bool, result2 error)
- func (fake *FakeVM) ExistsReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *FakeVM) GetState() (agentclient.AgentState, error)
- func (fake *FakeVM) GetStateCallCount() int
- func (fake *FakeVM) GetStateCalls(stub func() (agentclient.AgentState, error))
- func (fake *FakeVM) GetStateReturns(result1 agentclient.AgentState, result2 error)
- func (fake *FakeVM) GetStateReturnsOnCall(i int, result1 agentclient.AgentState, result2 error)
- func (fake *FakeVM) Invocations() map[string][][]interface{}
- func (fake *FakeVM) MigrateDisk() error
- func (fake *FakeVM) MigrateDiskCallCount() int
- func (fake *FakeVM) MigrateDiskCalls(stub func() error)
- func (fake *FakeVM) MigrateDiskReturns(result1 error)
- func (fake *FakeVM) MigrateDiskReturnsOnCall(i int, result1 error)
- func (fake *FakeVM) RunScript(arg1 string, arg2 map[string]interface{}) error
- func (fake *FakeVM) RunScriptArgsForCall(i int) (string, map[string]interface{})
- func (fake *FakeVM) RunScriptCallCount() int
- func (fake *FakeVM) RunScriptCalls(stub func(string, map[string]interface{}) error)
- func (fake *FakeVM) RunScriptReturns(result1 error)
- func (fake *FakeVM) RunScriptReturnsOnCall(i int, result1 error)
- func (fake *FakeVM) Start() error
- func (fake *FakeVM) StartCallCount() int
- func (fake *FakeVM) StartCalls(stub func() error)
- func (fake *FakeVM) StartReturns(result1 error)
- func (fake *FakeVM) StartReturnsOnCall(i int, result1 error)
- func (fake *FakeVM) Stop() error
- func (fake *FakeVM) StopCallCount() int
- func (fake *FakeVM) StopCalls(stub func() error)
- func (fake *FakeVM) StopReturns(result1 error)
- func (fake *FakeVM) StopReturnsOnCall(i int, result1 error)
- func (fake *FakeVM) UnmountDisk(arg1 disk.Disk) error
- func (fake *FakeVM) UnmountDiskArgsForCall(i int) disk.Disk
- func (fake *FakeVM) UnmountDiskCallCount() int
- func (fake *FakeVM) UnmountDiskCalls(stub func(disk.Disk) error)
- func (fake *FakeVM) UnmountDiskReturns(result1 error)
- func (fake *FakeVM) UnmountDiskReturnsOnCall(i int, result1 error)
- func (fake *FakeVM) UpdateDisks(arg1 manifest.DiskPool, arg2 ui.Stage) ([]disk.Disk, error)
- func (fake *FakeVM) UpdateDisksArgsForCall(i int) (manifest.DiskPool, ui.Stage)
- func (fake *FakeVM) UpdateDisksCallCount() int
- func (fake *FakeVM) UpdateDisksCalls(stub func(manifest.DiskPool, ui.Stage) ([]disk.Disk, error))
- func (fake *FakeVM) UpdateDisksReturns(result1 []disk.Disk, result2 error)
- func (fake *FakeVM) UpdateDisksReturnsOnCall(i int, result1 []disk.Disk, result2 error)
- func (fake *FakeVM) WaitToBeRunning(arg1 int, arg2 time.Duration) error
- func (fake *FakeVM) WaitToBeRunningArgsForCall(i int) (int, time.Duration)
- func (fake *FakeVM) WaitToBeRunningCallCount() int
- func (fake *FakeVM) WaitToBeRunningCalls(stub func(int, time.Duration) error)
- func (fake *FakeVM) WaitToBeRunningReturns(result1 error)
- func (fake *FakeVM) WaitToBeRunningReturnsOnCall(i int, result1 error)
- func (fake *FakeVM) WaitUntilReady(arg1 time.Duration, arg2 time.Duration) error
- func (fake *FakeVM) WaitUntilReadyArgsForCall(i int) (time.Duration, time.Duration)
- func (fake *FakeVM) WaitUntilReadyCallCount() int
- func (fake *FakeVM) WaitUntilReadyCalls(stub func(time.Duration, time.Duration) error)
- func (fake *FakeVM) WaitUntilReadyReturns(result1 error)
- func (fake *FakeVM) WaitUntilReadyReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDiskDeployer ¶
type FakeDiskDeployer struct {
DeployStub func(manifest.DiskPool, cloud.Cloud, vm.VM, ui.Stage) ([]disk.Disk, error)
// contains filtered or unexported fields
}
func (*FakeDiskDeployer) DeployArgsForCall ¶
func (*FakeDiskDeployer) DeployCallCount ¶
func (fake *FakeDiskDeployer) DeployCallCount() int
func (*FakeDiskDeployer) DeployCalls ¶
func (*FakeDiskDeployer) DeployReturns ¶
func (fake *FakeDiskDeployer) DeployReturns(result1 []disk.Disk, result2 error)
func (*FakeDiskDeployer) DeployReturnsOnCall ¶
func (fake *FakeDiskDeployer) DeployReturnsOnCall(i int, result1 []disk.Disk, result2 error)
func (*FakeDiskDeployer) Invocations ¶
func (fake *FakeDiskDeployer) Invocations() map[string][][]interface{}
type FakeManager ¶
type FakeManager struct {
CreateStub func(stemcell.CloudStemcell, manifest.Manifest, []string) (vm.VM, error)
FindCurrentStub func() (vm.VM, bool, error)
// contains filtered or unexported fields
}
func (*FakeManager) Create ¶
func (fake *FakeManager) Create(arg1 stemcell.CloudStemcell, arg2 manifest.Manifest, arg3 []string) (vm.VM, error)
func (*FakeManager) CreateArgsForCall ¶
func (fake *FakeManager) CreateArgsForCall(i int) (stemcell.CloudStemcell, manifest.Manifest, []string)
func (*FakeManager) CreateCallCount ¶
func (fake *FakeManager) CreateCallCount() int
func (*FakeManager) CreateCalls ¶
func (fake *FakeManager) CreateCalls(stub func(stemcell.CloudStemcell, manifest.Manifest, []string) (vm.VM, error))
func (*FakeManager) CreateReturns ¶
func (fake *FakeManager) CreateReturns(result1 vm.VM, result2 error)
func (*FakeManager) CreateReturnsOnCall ¶
func (fake *FakeManager) CreateReturnsOnCall(i int, result1 vm.VM, result2 error)
func (*FakeManager) FindCurrent ¶
func (fake *FakeManager) FindCurrent() (vm.VM, bool, error)
func (*FakeManager) FindCurrentCallCount ¶
func (fake *FakeManager) FindCurrentCallCount() int
func (*FakeManager) FindCurrentCalls ¶
func (fake *FakeManager) FindCurrentCalls(stub func() (vm.VM, bool, error))
func (*FakeManager) FindCurrentReturns ¶
func (fake *FakeManager) FindCurrentReturns(result1 vm.VM, result2 bool, result3 error)
func (*FakeManager) FindCurrentReturnsOnCall ¶
func (*FakeManager) Invocations ¶
func (fake *FakeManager) Invocations() map[string][][]interface{}
type FakeManagerFactory ¶
type FakeManagerFactory struct {
NewManagerStub func(cloud.Cloud, agentclient.AgentClient) vm.Manager
// contains filtered or unexported fields
}
func (*FakeManagerFactory) Invocations ¶
func (fake *FakeManagerFactory) Invocations() map[string][][]interface{}
func (*FakeManagerFactory) NewManager ¶
func (fake *FakeManagerFactory) NewManager(arg1 cloud.Cloud, arg2 agentclient.AgentClient) vm.Manager
func (*FakeManagerFactory) NewManagerArgsForCall ¶
func (fake *FakeManagerFactory) NewManagerArgsForCall(i int) (cloud.Cloud, agentclient.AgentClient)
func (*FakeManagerFactory) NewManagerCallCount ¶
func (fake *FakeManagerFactory) NewManagerCallCount() int
func (*FakeManagerFactory) NewManagerCalls ¶
func (fake *FakeManagerFactory) NewManagerCalls(stub func(cloud.Cloud, agentclient.AgentClient) vm.Manager)
func (*FakeManagerFactory) NewManagerReturns ¶
func (fake *FakeManagerFactory) NewManagerReturns(result1 vm.Manager)
func (*FakeManagerFactory) NewManagerReturnsOnCall ¶
func (fake *FakeManagerFactory) NewManagerReturnsOnCall(i int, result1 vm.Manager)
type FakeVM ¶
type FakeVM struct {
AgentClientStub func() agentclient.AgentClient
ApplyStub func(applyspec.ApplySpec) error
AttachDiskStub func(disk.Disk) error
CIDStub func() string
DeleteStub func() error
DetachDiskStub func(disk.Disk) error
DisksStub func() ([]disk.Disk, error)
DrainStub func() error
ExistsStub func() (bool, error)
GetStateStub func() (agentclient.AgentState, error)
MigrateDiskStub func() error
RunScriptStub func(string, map[string]interface{}) error
StartStub func() error
StopStub func() error
UnmountDiskStub func(disk.Disk) error
UpdateDisksStub func(manifest.DiskPool, ui.Stage) ([]disk.Disk, error)
WaitToBeRunningStub func(int, time.Duration) error
WaitUntilReadyStub func(time.Duration, time.Duration) error
// contains filtered or unexported fields
}
func (*FakeVM) AgentClient ¶
func (fake *FakeVM) AgentClient() agentclient.AgentClient
func (*FakeVM) AgentClientCallCount ¶
func (*FakeVM) AgentClientCalls ¶
func (fake *FakeVM) AgentClientCalls(stub func() agentclient.AgentClient)
func (*FakeVM) AgentClientReturns ¶
func (fake *FakeVM) AgentClientReturns(result1 agentclient.AgentClient)
func (*FakeVM) AgentClientReturnsOnCall ¶
func (fake *FakeVM) AgentClientReturnsOnCall(i int, result1 agentclient.AgentClient)
func (*FakeVM) ApplyCallCount ¶
func (*FakeVM) ApplyReturns ¶
func (*FakeVM) ApplyReturnsOnCall ¶
func (*FakeVM) AttachDiskCallCount ¶
func (*FakeVM) AttachDiskReturns ¶
func (*FakeVM) AttachDiskReturnsOnCall ¶
func (*FakeVM) CIDCallCount ¶
func (*FakeVM) CIDReturns ¶
func (*FakeVM) CIDReturnsOnCall ¶
func (*FakeVM) DeleteCallCount ¶
func (*FakeVM) DeleteCalls ¶
func (*FakeVM) DeleteReturns ¶
func (*FakeVM) DeleteReturnsOnCall ¶
func (*FakeVM) DetachDiskCallCount ¶
func (*FakeVM) DetachDiskReturns ¶
func (*FakeVM) DetachDiskReturnsOnCall ¶
func (*FakeVM) DisksCallCount ¶
func (*FakeVM) DisksReturnsOnCall ¶
func (*FakeVM) DrainCallCount ¶
func (*FakeVM) DrainCalls ¶
func (*FakeVM) DrainReturns ¶
func (*FakeVM) DrainReturnsOnCall ¶
func (*FakeVM) ExistsCallCount ¶
func (*FakeVM) ExistsCalls ¶
func (*FakeVM) ExistsReturns ¶
func (*FakeVM) ExistsReturnsOnCall ¶
func (*FakeVM) GetState ¶
func (fake *FakeVM) GetState() (agentclient.AgentState, error)
func (*FakeVM) GetStateCallCount ¶
func (*FakeVM) GetStateCalls ¶
func (fake *FakeVM) GetStateCalls(stub func() (agentclient.AgentState, error))
func (*FakeVM) GetStateReturns ¶
func (fake *FakeVM) GetStateReturns(result1 agentclient.AgentState, result2 error)
func (*FakeVM) GetStateReturnsOnCall ¶
func (fake *FakeVM) GetStateReturnsOnCall(i int, result1 agentclient.AgentState, result2 error)
func (*FakeVM) Invocations ¶
func (*FakeVM) MigrateDisk ¶
func (*FakeVM) MigrateDiskCallCount ¶
func (*FakeVM) MigrateDiskCalls ¶
func (*FakeVM) MigrateDiskReturns ¶
func (*FakeVM) MigrateDiskReturnsOnCall ¶
func (*FakeVM) RunScriptArgsForCall ¶
func (*FakeVM) RunScriptCallCount ¶
func (*FakeVM) RunScriptCalls ¶
func (*FakeVM) RunScriptReturns ¶
func (*FakeVM) RunScriptReturnsOnCall ¶
func (*FakeVM) StartCallCount ¶
func (*FakeVM) StartCalls ¶
func (*FakeVM) StartReturns ¶
func (*FakeVM) StartReturnsOnCall ¶
func (*FakeVM) StopCallCount ¶
func (*FakeVM) StopReturns ¶
func (*FakeVM) StopReturnsOnCall ¶
func (*FakeVM) UnmountDiskCallCount ¶
func (*FakeVM) UnmountDiskReturns ¶
func (*FakeVM) UnmountDiskReturnsOnCall ¶
func (*FakeVM) UpdateDisks ¶
func (*FakeVM) UpdateDisksArgsForCall ¶
func (*FakeVM) UpdateDisksCallCount ¶
func (*FakeVM) UpdateDisksCalls ¶
func (*FakeVM) UpdateDisksReturns ¶
func (*FakeVM) UpdateDisksReturnsOnCall ¶
func (*FakeVM) WaitToBeRunning ¶
func (*FakeVM) WaitToBeRunningArgsForCall ¶
func (*FakeVM) WaitToBeRunningCallCount ¶
func (*FakeVM) WaitToBeRunningCalls ¶
func (*FakeVM) WaitToBeRunningReturns ¶
func (*FakeVM) WaitToBeRunningReturnsOnCall ¶
func (*FakeVM) WaitUntilReady ¶
func (*FakeVM) WaitUntilReadyArgsForCall ¶
func (*FakeVM) WaitUntilReadyCallCount ¶
func (*FakeVM) WaitUntilReadyCalls ¶
func (*FakeVM) WaitUntilReadyReturns ¶
func (*FakeVM) WaitUntilReadyReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.