package
0.6.0
Repository: https://github.com/bryanl/doit.git
Documentation: pkg.go.dev

# Functions

Account creates the account commands heirarchy.
Actions creates the action commands heirarchy.
Auth creates auth commands for doit.
Domain creates the domain commands heirarchy.
Droplet creates the droplet command.
DropletAction creates the droplet-action command.
Execute executes the base command.
FloatingIP creates the command heirarchy for floating ips.
FloatingIPAction creates the floating IP action commmand.
ImageAction creates the image action commmand.
Images creates an image command.
LoadConfig loads out configuration.
NewCmdDropletActions creates a droplet action get command.
Region creates the region commands heirarchy.
RunAccountGet runs account get.
RunAuthLogin runs auth login.
RunCmdActionGet runs action get.
RunCmdActionList run action list.
RunDomainCreate runs domain create.
RunDomainDelete deletes a domain by name.
RunDomainGet retrieves a domain by name.
RunDomainList runs domain create.
RunDropletActionChangeKernel changes the kernel for a droplet.
RunDropletActionDisableBackups disables backups for a droplet.
RunDropletActionEnableIPv6 enables IPv6 for a droplet.
RunDropletActionEnablePrivateNetworking enables private networking for a droplet.
RunDropletActionGet returns a droplet action by id.
RunDropletActionPasswordReset resets the droplet root password.
RunDropletActionPowerCycle power cycles a droplet.
RunDropletActionPowerOff turns droplet power off.
RunDropletActionPowerOn turns droplet power on.
RunDropletActionReboot reboots a droplet.
RunDropletActionRebuild rebuilds a droplet using an image id or slug.
RunDropletActionRename renames a droplet.
RunDropletActionResize resizesx a droplet giving a size slug and optionally expands the disk.
RunDropletActionRestore restores a droplet using an image id.
RunDropletActions returns a list of actions for a droplet.
RunDropletActionShutdown shuts a droplet down.
RunDropletActionSnapshot creates a snapshot for a droplet.
RunDropletActionUpgrade upgrades a droplet.
RunDropletBackups returns a list of backup images for a droplet.
RunDropletCreate creates a droplet.
RunDropletDelete destroy a droplet by id.
RunDropletGet returns a droplet.
RunDropletKernels returns a list of available kernels for a droplet.
RunDropletList returns a list of droplets.
RunDropletNeighbors returns a list of droplet neighbors.
RunDropletSnapshots returns a list of available kernels for a droplet.
RunFloatingIPActionsAssign assigns a floating IP to a droplet.
RunFloatingIPActionsGet retrieves an action for a floating IP.
RunFloatingIPActionsUnassign unassigns a floating IP to a droplet.
RunFloatingIPCreate runs floating IP create.
RunFloatingIPDelete runs floating IP delete.
RunFloatingIPGet retrieves a floating IP's details.
RunFloatingIPList runs floating IP create.
RunImageActionsGet retrieves an action for an image.
RunImageActionsTransfer an image.
RunImagesDelete deletes an image.
RunImagesGet retrieves an image by id or slug.
RunImagesList images.
RunImagesListApplication lists application iamges.
RunImagesListDistribution lists distributions that are available.
RunImagesListUser lists user images.
RunImagesUpdate updates an image.
RunKeyCreate uploads a SSH key.
RunKeyDelete deletes a key.
RunKeyGet retrieves a key.
RunKeyImport imports a key from a file.
RunKeyList lists keys.
RunKeyUpdate updates a key.
RunRecordCreate creates a domain record.
RunRecordDelete deletes a domain record.
RunRecordList list records for a domain.
RunRecordUpdate updates a domain record.
RunRegionList all regions.
RunSizeList all sizes.
RunSSH finds a droplet to ssh to given input parameters (name or id).
Size creates the size commands heirarchy.
SSH creates the ssh commands heirarchy.
SSHKeys creates the ssh key commands heirarchy.

# Variables

DoitCmd is the base command.
Output holds the global output format.
Token holds the global authorization token.

# Structs

UnknownSchemeError signifies an unknown HTTP scheme.