diff --git a/core/virtual_machine.go b/core/virtual_machine.go index 93211fc..c16abd0 100644 --- a/core/virtual_machine.go +++ b/core/virtual_machine.go @@ -54,6 +54,8 @@ type VirtualMachineState string const ( VirtualMachineStopped VirtualMachineState = "stopped" VirtualMachineFailed VirtualMachineState = "failed" + VirtualMachineAllocating VirtualMachineState = "allocating" + VirtualMachineAllocated VirtualMachineState = "allocated" VirtualMachineStarted VirtualMachineState = "started" VirtualMachineStarting VirtualMachineState = "starting" VirtualMachineResetting VirtualMachineState = "resetting" diff --git a/core/virtual_machine_test.go b/core/virtual_machine_test.go index 31c8938..9d053bd 100644 --- a/core/virtual_machine_test.go +++ b/core/virtual_machine_test.go @@ -152,6 +152,16 @@ func TestVirtualMachineStates(t *testing.T) { enum: VirtualMachineFailed, value: "failed", }, + { + name: "VirtualMachineAllocating", + enum: VirtualMachineAllocating, + value: "allocating", + }, + { + name: "VirtualMachineAllocated", + enum: VirtualMachineAllocated, + value: "allocated", + }, { name: "VirtualMachineStarted", enum: VirtualMachineStarted,