Documentation ¶
Index ¶
- type AttachISO
- func (_ *AttachISO) CheckChanges(a, e, changes *AttachISO) error
- func (e *AttachISO) Find(c *fi.Context) (*AttachISO, error)
- func (o *AttachISO) GetDependencies(tasks map[string]fi.Task) []fi.Task
- func (o *AttachISO) GetName() *string
- func (_ *AttachISO) RenderVSphere(t *vsphere.VSphereAPITarget, a, e, changes *AttachISO) error
- func (e *AttachISO) Run(c *fi.Context) error
- func (o *AttachISO) SetName(name string)
- type VMPowerOn
- func (_ *VMPowerOn) CheckChanges(a, e, changes *VMPowerOn) error
- func (e *VMPowerOn) Find(c *fi.Context) (*VMPowerOn, error)
- func (o *VMPowerOn) GetDependencies(tasks map[string]fi.Task) []fi.Task
- func (o *VMPowerOn) GetName() *string
- func (_ *VMPowerOn) RenderVSphere(t *vsphere.VSphereAPITarget, a, e, changes *VMPowerOn) error
- func (e *VMPowerOn) Run(c *fi.Context) error
- func (o *VMPowerOn) SetName(name string)
- type VirtualMachine
- func (_ *VirtualMachine) CheckChanges(a, e, changes *VirtualMachine) error
- func (e *VirtualMachine) CompareWithID() *string
- func (e *VirtualMachine) Find(c *fi.Context) (*VirtualMachine, error)
- func (o *VirtualMachine) GetName() *string
- func (_ *VirtualMachine) RenderVSphere(t *vsphere.VSphereAPITarget, a, e, changes *VirtualMachine) error
- func (e *VirtualMachine) Run(c *fi.Context) error
- func (o *VirtualMachine) SetName(name string)
- func (o *VirtualMachine) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachISO ¶
type AttachISO struct { Name *string VM *VirtualMachine IG *kops.InstanceGroup BootstrapScript *model.BootstrapScript Cluster *kops.Cluster }
AttachISO represents the cloud-init ISO file attached to a VM on vSphere cloud.
func (*AttachISO) CheckChanges ¶
CheckChanges is a no-op for this task.
func (*AttachISO) GetDependencies ¶
GetDependencies returns map of tasks on which this task depends.
func (*AttachISO) RenderVSphere ¶
func (_ *AttachISO) RenderVSphere(t *vsphere.VSphereAPITarget, a, e, changes *AttachISO) error
RenderVSphere executes the actual task logic, for vSphere cloud.
type VMPowerOn ¶
VMPowerOn powers on a VMware VM
func (*VMPowerOn) CheckChanges ¶
CheckChanges is a no-op for vSphere cloud, for now.
func (*VMPowerOn) GetDependencies ¶
GetDependencies returns map of tasks on which this task depends.
func (*VMPowerOn) RenderVSphere ¶
func (_ *VMPowerOn) RenderVSphere(t *vsphere.VSphereAPITarget, a, e, changes *VMPowerOn) error
RenderVSphere executes the actual power on operation for VM on vSphere cloud.
type VirtualMachine ¶
VirtualMachine represents a VMware VM
func (*VirtualMachine) CheckChanges ¶
func (_ *VirtualMachine) CheckChanges(a, e, changes *VirtualMachine) error
CheckChanges is a no-op for vSphere, for now.
func (*VirtualMachine) CompareWithID ¶
func (e *VirtualMachine) CompareWithID() *string
CompareWithID is returning name of this VirtualMachine.
func (*VirtualMachine) Find ¶
func (e *VirtualMachine) Find(c *fi.Context) (*VirtualMachine, error)
Find is a no-op for vSphere.
func (*VirtualMachine) GetName ¶
func (o *VirtualMachine) GetName() *string
GetName returns the Name of the object, implementing fi.HasName
func (*VirtualMachine) RenderVSphere ¶
func (_ *VirtualMachine) RenderVSphere(t *vsphere.VSphereAPITarget, a, e, changes *VirtualMachine) error
RenderVSphere executes the actual VM clone creation for vSphere cloud.
func (*VirtualMachine) Run ¶
func (e *VirtualMachine) Run(c *fi.Context) error
Run executes DefaultDeltaRunMethod for this task.
func (*VirtualMachine) SetName ¶
func (o *VirtualMachine) SetName(name string)
SetName sets the Name of the object, implementing fi.SetName
func (*VirtualMachine) String ¶
func (o *VirtualMachine) String() string
String is the stringer function for the task, producing readable output using fi.TaskAsString