# Packages

No description provided by the author
No description provided by the author

# Functions

CustomBoolPtr creates a pointer to a CustomBool.
DiskSizeFromGigabytes creates a DiskSize from gigabytes.
FormatDiskSize turns a number of bytes into a disk size string.
ParseDiskSize parses a disk size string into a number of bytes.
ParseHAResourceID parses a string that represents a HA resource identifier into a value of `HAResourceID`.
ParseHAResourceState converts the string representation of a HA resource state into the corresponding enum value.
ParseHAResourceType converts the string representation of a HA resource type into the corresponding enum value.

# Constants

HAResourceStateDisabled indicates that a HA resource should be stopped.
HAResourceStateIgnored indicates that a HA resource is not managed by the cluster resource manager.
HAResourceStateStarted indicates that a HA resource should be started.
HAResourceStateStopped indicates that a HA resource should be stopped, but that it should still be relocated on node failure.
HAResourceTypeContainer indicates that a HA resource refers to a container.
HAResourceTypeVM indicates that a HA resource refers to a virtual machine.

# Structs

HAResourceID represents a HA resource identifier, composed of a resource type and identifier.

# Type aliases

CustomBool allows a JSON boolean value to also be an integer.
CustomCommaSeparatedList allows a JSON string to also be a string array.
CustomInt allows a JSON integer value to also be a string.
CustomInt64 allows a JSON int64 value to also be a string.
CustomLineBreakSeparatedList allows a multiline JSON string to also be a string array.
CustomPrivileges allows a JSON object of privileges to also be a string array.
CustomTimestamp allows a JSON boolean value to also be a unix timestamp.
DiskSize allows a JSON integer value to also be a string.
HAResourceState represents the requested state of a HA resource.
HAResourceType represents the type of HA resource.