Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeVMCreator ¶
type FakeVMCreator struct { Configuration vm.InstanceConfiguration Metadata vm.InstanceMetadata CreateInstanceResult *resource.Instance CreateInstanceError error CreateInstanceCalled bool }
func (*FakeVMCreator) CreateInstance ¶
func (f *FakeVMCreator) CreateInstance(icfg vm.InstanceConfiguration, md vm.InstanceMetadata) (*resource.Instance, error)
type FakeVMFinder ¶
type FakeVMFinder struct { FindInstanceResult *resource.Instance FindInstanceID string FindInstanceError error FindInstanceCalled bool }
func (*FakeVMFinder) FindInstance ¶
func (f *FakeVMFinder) FindInstance(instanceID string) (*resource.Instance, error)
type FakeVMTerminator ¶
type FakeVMTerminator struct { TerminateInstanceError error TerminateInstanceCalled bool TerminatedInstance string }
func (*FakeVMTerminator) TerminateInstance ¶
func (f *FakeVMTerminator) TerminateInstance(instanceID string) error
type FakeVMUpdater ¶
type FakeVMUpdater struct { UpdateInstanceID string UpdatedName string UpdateInstanceError error UpdateInstanceCalled bool }
func (*FakeVMUpdater) UpdateInstanceName ¶
func (f *FakeVMUpdater) UpdateInstanceName(instanceID string, name string) error
Click to show internal directories.
Click to hide internal directories.