Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Wait ¶
func Wait(ctx gocontext.Context, c *basevmv1.VirtualMachineService, obj basetypv1.ManagedObjectReference, f func([]basetypv1.Nic) bool) error
func WaitForUpdates ¶
func WaitForUpdates(ctx gocontext.Context, c *basevmv1.VirtualMachineService, obj basetypv1.ManagedObjectReference, f func([]basetypv1.Nic) bool) error
Types ¶
type VMService ¶
type VMService struct{}
VMService provdes API to interact with the VMs using golang ics sdk
func (*VMService) ReconcileVM ¶
ReconcileVM makes sure that the VM is in the desired state by:
- Creating the VM if it does not exist, then...
- Updating the VM with the bootstrap data, such as the cloud-init meta and user data, before...
- Powering on the VM, and finally...
- Returning the real-time state of the VM to the caller
Click to show internal directories.
Click to hide internal directories.