MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / DeleteVM

Method DeleteVM

pkg/api/vm_lifecycle.go:281–283  ·  view source on GitHub ↗

DeleteVM permanently deletes a VM or container WARNING: This operation is irreversible and will destroy all VM data including disks.

(vm *VM)

Source from the content-addressed store, hash-verified

279// DeleteVM permanently deletes a VM or container
280// WARNING: This operation is irreversible and will destroy all VM data including disks.
281func (c *Client) DeleteVM(vm *VM) (string, error) {
282 return c.DeleteVMWithOptions(vm, nil)
283}
284
285// DeleteVMOptions contains options for deleting a VM.
286type DeleteVMOptions struct {

Callers 1

Calls 1

DeleteVMWithOptionsMethod · 0.95

Tested by

no test coverage detected