package
0.38.0
Repository: https://github.com/softiron/manifold-api.git
Documentation: pkg.go.dev

# Functions

ActionString retrieves an enum value from the enum constants string name.
ActionStrings returns a slice of all String values of the enum.
ActionValues returns all values of the enum.
ParseTemplate return a structured Template based on the given map.
ParseUserTemplate return a structured Template based on the given map.
StateString retrieves an enum value from the enum constants string name.
StateStrings returns a slice of all String values of the enum.
StateValues returns all values of the enum.

# Constants

active.
alias-attach.
alias-detach.
all.
boot.
chmod.
chown.
cloning_failed.
cloning.
delete.
delete-recreate.
deploy.
disk-attach.
disk-detach.
disk-resize.
disk-saveas.
disk-snapshot-create.
disk-snapshot-delete.
disk-snapshot-rename.
disk-snapshot-revert.
done.
hold.
hold.
init.
live-migrate.
migrate.
monitor.
nic-attach.
nic-detach.
none.
not_done.
off.
pending.
poff-hard-migrate.
poff-migrate.
poweroff.
poweroff-hard.
reboot.
reboot-hard.
recover.
release.
rename.
resched.
resize.
resume.
retry.
shutdown.
shutdown-hard.
snapshot-create.
snapshot-delete.
snapshot-revert.
stop.
stopped.
suspend.
suspended.
terminate.
terminate-hard.
undeploy.
undeployed.
undeploy-hard.
unresched.
update.
updateconf.

# Structs

Context is the API payload based on the legacy xmlrpc backend.
CPUModel is the API payload based on the legacy xmlrpc backend.
Disk is the API payload based on the legacy xmlrpc backend.
DiskSize is the API payload based on the legacy xmlrpc backend.
DiskSnapshots is a Snapshots for a specific disk.
Graphics is the API payload based on the legacy xmlrpc backend.
GroupRole is the API payload based on the legacy xmlrpc backend.
History is the API payload based on the legacy xmlrpc backend.
ImageSnapshot is the API payload based on the legacy xmlrpc backend.
Monitoring is the API payload based on the legacy xmlrpc backend.
NIC is the API payload based on the legacy xmlrpc backend.
NICAlias is the API payload based on the legacy xmlrpc backend.
OS is the API payload based on the legacy xmlrpc backend.
SchedAction is the API payload based on the legacy xmlrpc backend.
Snapshot is the API payload based on the legacy xmlrpc backend.
Snapshots is the API payload based on the legacy xmlrpc backend.
Template is the API payload based on the legacy xmlrpc backend.
UserTemplate is the API payload based on the legacy xmlrpc backend.

# Type aliases

Action is the action to perform on an intstance.
State represents the state of an instance.