Documentation ¶ Index ¶ func DeleteVM(ctx context.Context, client *vers.Client, vmID string, recursive bool) ([]string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func DeleteVM ¶ func DeleteVM(ctx context.Context, client *vers.Client, vmID string, recursive bool) ([]string, error) DeleteVM deletes a VM by ID. If recursive is false and the VM has children, returns *errorsx.HasChildrenError. If the VM is a root VM, returns *errorsx.IsRootError. Types ¶ This section is empty. Source Files ¶ View all Source files service.go Click to show internal directories. Click to hide internal directories.