Documentation ¶
Index ¶
- Variables
- func AddBoolFlag(cmd *Command, name, shorthand string, def bool, desc string, opts ...flagOpt)
- func AddIntFlag(cmd *Command, name, shorthand string, def int, desc string, opts ...flagOpt)
- func AddStringFlag(cmd *Command, name, shorthand, dflt, desc string, opts ...flagOpt)
- func AddStringMapStringFlag(cmd *Command, name, shorthand string, def map[string]string, desc string, ...)
- func AddStringSliceFlag(cmd *Command, name, shorthand string, def []string, desc string, ...)
- func AskForConfirm(message string) error
- func AskForConfirmDelete(resourceType string, count int) error
- func ContextualAtoi(s, resource string) (int, error)
- func Execute()
- func RunAccountGet(c *CmdConfig) error
- func RunAccountRateLimit(c *CmdConfig) error
- func RunAppsCreate(c *CmdConfig) error
- func RunAppsCreateDeployment(c *CmdConfig) error
- func RunAppsDelete(c *CmdConfig) error
- func RunAppsGet(c *CmdConfig) error
- func RunAppsGetDeployment(c *CmdConfig) error
- func RunAppsGetLogs(c *CmdConfig) error
- func RunAppsList(c *CmdConfig) error
- func RunAppsListDeployments(c *CmdConfig) error
- func RunAppsListRegions(c *CmdConfig) error
- func RunAppsSpecGet(c *CmdConfig) error
- func RunAppsSpecValidate(stdin io.Reader) func(c *CmdConfig) error
- func RunAppsTierGet(c *CmdConfig) error
- func RunAppsTierInstanceSizeGet(c *CmdConfig) error
- func RunAppsTierInstanceSizeList(c *CmdConfig) error
- func RunAppsTierList(c *CmdConfig) error
- func RunAppsUpdate(c *CmdConfig) error
- func RunAuthInit(retrieveUserTokenFunc func() (string, error)) func(c *CmdConfig) error
- func RunAuthList(c *CmdConfig) error
- func RunAuthSwitch(c *CmdConfig) error
- func RunBalanceGet(c *CmdConfig) error
- func RunBillingHistoryList(c *CmdConfig) error
- func RunCDNCreate(c *CmdConfig) error
- func RunCDNDelete(c *CmdConfig) error
- func RunCDNFlushCache(c *CmdConfig) error
- func RunCDNGet(c *CmdConfig) error
- func RunCDNList(c *CmdConfig) error
- func RunCDNUpdate(c *CmdConfig) error
- func RunCancelGarbageCollection(c *CmdConfig) error
- func RunCertificateCreate(c *CmdConfig) error
- func RunCertificateDelete(c *CmdConfig) error
- func RunCertificateGet(c *CmdConfig) error
- func RunCertificateList(c *CmdConfig) error
- func RunCmdActionGet(c *CmdConfig) error
- func RunCmdActionList(c *CmdConfig) error
- func RunCmdActionWait(c *CmdConfig) error
- func RunCmdTagCreate(c *CmdConfig) error
- func RunCmdTagDelete(c *CmdConfig) error
- func RunCmdTagGet(c *CmdConfig) error
- func RunCmdTagList(c *CmdConfig) error
- func RunCompletionBash(c *CmdConfig) error
- func RunCompletionFish(c *CmdConfig) error
- func RunCompletionZsh(c *CmdConfig) error
- func RunDatabaseBackupsList(c *CmdConfig) error
- func RunDatabaseConnectionGet(c *CmdConfig) error
- func RunDatabaseCreate(c *CmdConfig) error
- func RunDatabaseDBCreate(c *CmdConfig) error
- func RunDatabaseDBDelete(c *CmdConfig) error
- func RunDatabaseDBGet(c *CmdConfig) error
- func RunDatabaseDBList(c *CmdConfig) error
- func RunDatabaseDelete(c *CmdConfig) error
- func RunDatabaseGet(c *CmdConfig) error
- func RunDatabaseGetSQLModes(c *CmdConfig) error
- func RunDatabaseList(c *CmdConfig) error
- func RunDatabaseMaintenanceGet(c *CmdConfig) error
- func RunDatabaseMaintenanceUpdate(c *CmdConfig) error
- func RunDatabaseMigrate(c *CmdConfig) error
- func RunDatabasePoolCreate(c *CmdConfig) error
- func RunDatabasePoolDelete(c *CmdConfig) error
- func RunDatabasePoolGet(c *CmdConfig) error
- func RunDatabasePoolList(c *CmdConfig) error
- func RunDatabaseReplicaConnectionGet(c *CmdConfig) error
- func RunDatabaseReplicaCreate(c *CmdConfig) error
- func RunDatabaseReplicaDelete(c *CmdConfig) error
- func RunDatabaseReplicaGet(c *CmdConfig) error
- func RunDatabaseReplicaList(c *CmdConfig) error
- func RunDatabaseResize(c *CmdConfig) error
- func RunDatabaseSetSQLModes(c *CmdConfig) error
- func RunDatabaseUserCreate(c *CmdConfig) error
- func RunDatabaseUserDelete(c *CmdConfig) error
- func RunDatabaseUserGet(c *CmdConfig) error
- func RunDatabaseUserList(c *CmdConfig) error
- func RunDatabaseUserResetAuth(c *CmdConfig) error
- func RunDockerConfig(c *CmdConfig) error
- func RunDomainCreate(c *CmdConfig) error
- func RunDomainDelete(c *CmdConfig) error
- func RunDomainGet(c *CmdConfig) error
- func RunDomainList(c *CmdConfig) error
- func RunDropletActionChangeKernel(c *CmdConfig) error
- func RunDropletActionDisableBackups(c *CmdConfig) error
- func RunDropletActionEnableBackups(c *CmdConfig) error
- func RunDropletActionEnableIPv6(c *CmdConfig) error
- func RunDropletActionEnablePrivateNetworking(c *CmdConfig) error
- func RunDropletActionGet(c *CmdConfig) error
- func RunDropletActionPasswordReset(c *CmdConfig) error
- func RunDropletActionPowerCycle(c *CmdConfig) error
- func RunDropletActionPowerOff(c *CmdConfig) error
- func RunDropletActionPowerOn(c *CmdConfig) error
- func RunDropletActionReboot(c *CmdConfig) error
- func RunDropletActionRebuild(c *CmdConfig) error
- func RunDropletActionRename(c *CmdConfig) error
- func RunDropletActionResize(c *CmdConfig) error
- func RunDropletActionRestore(c *CmdConfig) error
- func RunDropletActionShutdown(c *CmdConfig) error
- func RunDropletActionSnapshot(c *CmdConfig) error
- func RunDropletActions(c *CmdConfig) error
- func RunDropletBackups(c *CmdConfig) error
- func RunDropletCreate(c *CmdConfig) error
- func RunDropletDelete(c *CmdConfig) error
- func RunDropletGet(c *CmdConfig) error
- func RunDropletKernels(c *CmdConfig) error
- func RunDropletList(c *CmdConfig) error
- func RunDropletNeighbors(c *CmdConfig) error
- func RunDropletOneClickList(c *CmdConfig) error
- func RunDropletSnapshots(c *CmdConfig) error
- func RunDropletTag(c *CmdConfig) error
- func RunDropletUntag(c *CmdConfig) error
- func RunFirewallAddDroplets(c *CmdConfig) error
- func RunFirewallAddRules(c *CmdConfig) error
- func RunFirewallAddTags(c *CmdConfig) error
- func RunFirewallCreate(c *CmdConfig) error
- func RunFirewallDelete(c *CmdConfig) error
- func RunFirewallGet(c *CmdConfig) error
- func RunFirewallList(c *CmdConfig) error
- func RunFirewallListByDroplet(c *CmdConfig) error
- func RunFirewallRemoveDroplets(c *CmdConfig) error
- func RunFirewallRemoveRules(c *CmdConfig) error
- func RunFirewallRemoveTags(c *CmdConfig) error
- func RunFirewallUpdate(c *CmdConfig) error
- func RunFloatingIPActionsAssign(c *CmdConfig) error
- func RunFloatingIPActionsGet(c *CmdConfig) error
- func RunFloatingIPActionsUnassign(c *CmdConfig) error
- func RunFloatingIPCreate(c *CmdConfig) error
- func RunFloatingIPDelete(c *CmdConfig) error
- func RunFloatingIPGet(c *CmdConfig) error
- func RunFloatingIPList(c *CmdConfig) error
- func RunGetGarbageCollection(c *CmdConfig) error
- func RunImageActionsGet(c *CmdConfig) error
- func RunImageActionsTransfer(c *CmdConfig) error
- func RunImagesCreate(c *CmdConfig) error
- func RunImagesDelete(c *CmdConfig) error
- func RunImagesGet(c *CmdConfig) error
- func RunImagesList(c *CmdConfig) error
- func RunImagesListApplication(c *CmdConfig) error
- func RunImagesListDistribution(c *CmdConfig) error
- func RunImagesListUser(c *CmdConfig) error
- func RunImagesUpdate(c *CmdConfig) error
- func RunInvoicesGet(c *CmdConfig) error
- func RunInvoicesGetCSV(c *CmdConfig) error
- func RunInvoicesGetPDF(c *CmdConfig) error
- func RunInvoicesList(c *CmdConfig) error
- func RunInvoicesSummary(c *CmdConfig) error
- func RunKeyCreate(c *CmdConfig) error
- func RunKeyDelete(c *CmdConfig) error
- func RunKeyGet(c *CmdConfig) error
- func RunKeyImport(c *CmdConfig) error
- func RunKeyList(c *CmdConfig) error
- func RunKeyUpdate(c *CmdConfig) error
- func RunKubernetesManifest(c *CmdConfig) error
- func RunKubernetesOneClickList(c *CmdConfig) error
- func RunListGarbageCollections(c *CmdConfig) error
- func RunListRepositories(c *CmdConfig) error
- func RunListRepositoryTags(c *CmdConfig) error
- func RunLoadBalancerAddDroplets(c *CmdConfig) error
- func RunLoadBalancerAddForwardingRules(c *CmdConfig) error
- func RunLoadBalancerCreate(c *CmdConfig) error
- func RunLoadBalancerDelete(c *CmdConfig) error
- func RunLoadBalancerGet(c *CmdConfig) error
- func RunLoadBalancerList(c *CmdConfig) error
- func RunLoadBalancerRemoveDroplets(c *CmdConfig) error
- func RunLoadBalancerRemoveForwardingRules(c *CmdConfig) error
- func RunLoadBalancerUpdate(c *CmdConfig) error
- func RunOneClickList(c *CmdConfig) error
- func RunPluginList(c *CmdConfig) error
- func RunPluginRun(c *CmdConfig) error
- func RunProjectResourcesAssign(c *CmdConfig) error
- func RunProjectResourcesGet(c *CmdConfig) error
- func RunProjectResourcesList(c *CmdConfig) error
- func RunProjectsCreate(c *CmdConfig) error
- func RunProjectsDelete(c *CmdConfig) error
- func RunProjectsGet(c *CmdConfig) error
- func RunProjectsList(c *CmdConfig) error
- func RunProjectsUpdate(c *CmdConfig) error
- func RunRecordCreate(c *CmdConfig) error
- func RunRecordDelete(c *CmdConfig) error
- func RunRecordList(c *CmdConfig) error
- func RunRecordUpdate(c *CmdConfig) error
- func RunRegionList(c *CmdConfig) error
- func RunRegistryCreate(c *CmdConfig) error
- func RunRegistryDelete(c *CmdConfig) error
- func RunRegistryGet(c *CmdConfig) error
- func RunRegistryLogin(c *CmdConfig) error
- func RunRegistryLogout(c *CmdConfig) error
- func RunRegistryOptionsTiers(c *CmdConfig) error
- func RunRepositoryDeleteManifest(c *CmdConfig) error
- func RunRepositoryDeleteTag(c *CmdConfig) error
- func RunSSH(c *CmdConfig) error
- func RunSizeList(c *CmdConfig) error
- func RunSnapshotDelete(c *CmdConfig) error
- func RunSnapshotGet(c *CmdConfig) error
- func RunSnapshotList(c *CmdConfig) error
- func RunStartGarbageCollection(c *CmdConfig) error
- func RunVPCCreate(c *CmdConfig) error
- func RunVPCDelete(c *CmdConfig) error
- func RunVPCGet(c *CmdConfig) error
- func RunVPCList(c *CmdConfig) error
- func RunVPCUpdate(c *CmdConfig) error
- func RunVolumeActionsGet(c *CmdConfig) error
- func RunVolumeAttach(c *CmdConfig) error
- func RunVolumeCreate(c *CmdConfig) error
- func RunVolumeDelete(c *CmdConfig) error
- func RunVolumeDetach(c *CmdConfig) error
- func RunVolumeGet(c *CmdConfig) error
- func RunVolumeList(c *CmdConfig) error
- func RunVolumeResize(c *CmdConfig) error
- func RunVolumeSnapshot(c *CmdConfig) error
- type CmdConfig
- type CmdRunner
- type Command
- func Account() *Command
- func Actions() *Command
- func Apps() *Command
- func Auth() *Command
- func Balance() *Command
- func BillingHistory() *Command
- func CDN() *Command
- func Certificate() *Command
- func CmdBuilder(parent *Command, cr CmdRunner, cliText, shortdesc string, longdesc string, ...) *Command
- func Completion() *Command
- func Databases() *Command
- func Domain() *Command
- func Droplet() *Command
- func DropletAction() *Command
- func Firewall() *Command
- func FloatingIP() *Command
- func FloatingIPAction() *Command
- func GarbageCollection() *Command
- func ImageAction() *Command
- func Images() *Command
- func Invoices() *Command
- func Kubernetes() *Command
- func LoadBalancer() *Command
- func OneClicks() *Command
- func Plugin() *Command
- func ProjectResourcesCmd() *Command
- func Projects() *Command
- func Region() *Command
- func Registry() *Command
- func RegistryOptions() *Command
- func Repository() *Command
- func SSH(parent *Command) *Command
- func SSHKeys() *Command
- func Size() *Command
- func Snapshot() *Command
- func Tags() *Command
- func VPCs() *Command
- func Version() *Command
- func Volume() *Command
- func VolumeAction() *Command
- type KubeconfigProvider
- type KubernetesCommandService
- func (s *KubernetesCommandService) RunKubeOptionsListNodeSizes(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubeOptionsListRegion(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubeOptionsListVersion(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesClusterCreate(defaultNodeSize string, defaultNodeCount int) func(*CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesClusterDelete(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesClusterGet(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesClusterGetUpgrades(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesClusterList(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesClusterUpdate(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesClusterUpgrade(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesKubeconfigExecCredential(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesKubeconfigRemove(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesKubeconfigSave(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesKubeconfigShow(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesNodeDelete(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesNodePoolCreate(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesNodePoolDelete(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesNodePoolGet(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesNodePoolList(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesNodePoolRecycle(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesNodePoolUpdate(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesNodeReplace(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesRegistryAdd(c *CmdConfig) error
- func (s *KubernetesCommandService) RunKubernetesRegistryRemove(c *CmdConfig) error
- type UnknownSchemeError
Constants ¶
This section is empty.
Variables ¶
var ( //DoitCmd is the root level doctl command that all other commands attach to DoitCmd = &Command{ Command: &cobra.Command{ Use: "doctl", Short: "doctl is a command line interface (CLI) for the DigitalOcean API.", }, } //Writer wires up stdout for all commands to write to Writer = os.Stdout //APIURL customize API base URL APIURL string //Context current auth context Context string //Output global output format Output string //Token global authorization token Token string //Trace toggles http tracing output Trace bool //Verbose toggle verbose output on and off Verbose bool )
var (
ErrUnknownTerminal = errors.New("unknown terminal")
)
ErrUnknownTerminal signifies an unknown terminal. It is returned when doit can't ascertain the current terminal type with requesting an auth token.
Functions ¶
func AddBoolFlag ¶ added in v1.0.0
AddBoolFlag adds a boolean flag to a command.
func AddIntFlag ¶ added in v1.0.0
AddIntFlag adds an integr flag to a command.
func AddStringFlag ¶ added in v1.0.0
AddStringFlag adds a string flag to a command.
func AddStringMapStringFlag ¶ added in v1.38.0
func AddStringMapStringFlag(cmd *Command, name, shorthand string, def map[string]string, desc string, opts ...flagOpt)
AddStringMapStringFlag adds a map of strings by strings flag to a command.
func AddStringSliceFlag ¶ added in v1.0.0
func AddStringSliceFlag(cmd *Command, name, shorthand string, def []string, desc string, opts ...flagOpt)
AddStringSliceFlag adds a string slice flag to a command.
func AskForConfirm ¶ added in v1.5.0
AskForConfirm parses and verifies user input for confirmation.
func AskForConfirmDelete ¶ added in v1.42.0
AskForConfirmDelete builds a message to ask the user to confirm deleteing one or multiple resources and then sends it through to AskForConfirm to parses and verifies user input.
func ContextualAtoi ¶ added in v1.54.1
ContextualAtoi cleans the error output of Atoi calls
func RunAccountRateLimit ¶ added in v1.0.0
RunAccountRateLimit retrieves API rate limits for the account.
func RunAppsCreate ¶ added in v1.46.0
RunAppsCreate creates an app.
func RunAppsCreateDeployment ¶ added in v1.46.0
RunAppsCreateDeployment creates a deployment for an app.
func RunAppsDelete ¶ added in v1.46.0
RunAppsDelete deletes an app.
func RunAppsGetDeployment ¶ added in v1.46.0
RunAppsGetDeployment gets a deployment for an app.
func RunAppsGetLogs ¶ added in v1.46.0
RunAppsGetLogs gets app logs for a given component.
func RunAppsList ¶ added in v1.46.0
RunAppsList lists all apps.
func RunAppsListDeployments ¶ added in v1.46.0
RunAppsListDeployments lists deployments for an app.
func RunAppsListRegions ¶ added in v1.50.0
RunAppsListRegions lists all app platform regions.
func RunAppsSpecGet ¶ added in v1.47.0
RunAppsSpecGet gets the spec for an app
func RunAppsSpecValidate ¶ added in v1.47.0
RunAppsSpecValidate validates an app spec file
func RunAppsTierGet ¶ added in v1.50.0
RunAppsTierGet gets an app tier.
func RunAppsTierInstanceSizeGet ¶ added in v1.50.0
RunAppsTierInstanceSizeGet gets an app tier.
func RunAppsTierInstanceSizeList ¶ added in v1.50.0
RunAppsTierInstanceSizeList lists all app tiers.
func RunAppsTierList ¶ added in v1.50.0
RunAppsTierList lists all app tiers.
func RunAppsUpdate ¶ added in v1.46.0
RunAppsUpdate updates an app.
func RunAuthInit ¶ added in v1.4.0
RunAuthInit initializes the doctl config. Configuration is stored in $XDG_CONFIG_HOME/doctl. On Unix, if XDG_CONFIG_HOME is not set, use $HOME/.config. On Windows use %APPDATA%/doctl/config.
func RunAuthList ¶ added in v1.29.0
RunAuthList lists all available auth contexts from the user's doctl config.
func RunAuthSwitch ¶ added in v1.8.0
RunAuthSwitch changes the default context and writes it to the configuration.
func RunBalanceGet ¶ added in v1.37.0
RunBalanceGet runs balance get.
func RunBillingHistoryList ¶ added in v1.40.0
RunBillingHistoryList runs invoice list.
func RunCDNCreate ¶ added in v1.9.0
RunCDNCreate creates a cdn.
func RunCDNDelete ¶ added in v1.9.0
RunCDNDelete deletes a cdn.
func RunCDNFlushCache ¶ added in v1.9.0
RunCDNFlushCache flushes the cache of an individual cdn
func RunCDNList ¶ added in v1.9.0
RunCDNList returns a list of CDNs.
func RunCDNUpdate ¶ added in v1.14.0
RunCDNUpdate updates an individual cdn
func RunCancelGarbageCollection ¶ added in v1.50.0
RunCancelGarbageCollection gets the specified registry's currently-active garbage collection.
func RunCertificateCreate ¶ added in v1.6.0
RunCertificateCreate creates a certificate.
func RunCertificateDelete ¶ added in v1.6.0
RunCertificateDelete deletes a certificate by its identifier.
func RunCertificateGet ¶ added in v1.6.0
RunCertificateGet retrieves an existing certificate by its identifier.
func RunCertificateList ¶ added in v1.6.0
RunCertificateList lists certificates.
func RunCmdActionWait ¶ added in v1.0.0
RunCmdActionWait waits for an action to complete or error.
func RunCmdTagCreate ¶ added in v1.1.0
RunCmdTagCreate runs tag create.
func RunCmdTagDelete ¶ added in v1.1.0
RunCmdTagDelete runs tag delete.
func RunCmdTagGet ¶ added in v1.1.0
RunCmdTagGet runs tag get.
func RunCmdTagList ¶ added in v1.1.0
RunCmdTagList runs tag list.
func RunCompletionBash ¶ added in v1.6.1
RunCompletionBash outputs completion code for bash.
func RunCompletionFish ¶ added in v1.40.0
func RunCompletionZsh ¶ added in v1.6.1
RunCompletionZsh outputs completion code for zsh shell.
func RunDatabaseBackupsList ¶ added in v1.15.0
RunDatabaseBackupsList lists all the backups for a database cluster
func RunDatabaseConnectionGet ¶ added in v1.15.0
RunDatabaseConnectionGet gets database connection info
func RunDatabaseCreate ¶ added in v1.15.0
RunDatabaseCreate creates a database cluster
func RunDatabaseDBCreate ¶ added in v1.15.0
RunDatabaseDBCreate creates a database for a database cluster
func RunDatabaseDBDelete ¶ added in v1.15.0
RunDatabaseDBDelete deletes a database
func RunDatabaseDBGet ¶ added in v1.15.0
RunDatabaseDBGet retrieves a database for a specific database cluster
func RunDatabaseDBList ¶ added in v1.15.0
RunDatabaseDBList retrieves a list of databases for specific database cluster
func RunDatabaseDelete ¶ added in v1.15.0
RunDatabaseDelete deletes a database cluster
func RunDatabaseGet ¶ added in v1.15.0
RunDatabaseGet returns an individual database cluster
func RunDatabaseGetSQLModes ¶ added in v1.35.0
RunDatabaseGetSQLModes gets the sql modes set on the database
func RunDatabaseList ¶ added in v1.15.0
RunDatabaseList returns a list of database clusters.
func RunDatabaseMaintenanceGet ¶ added in v1.15.0
RunDatabaseMaintenanceGet retrieves the maintenance window info for a database cluster
func RunDatabaseMaintenanceUpdate ¶ added in v1.15.0
RunDatabaseMaintenanceUpdate updates the maintenance window info for a database cluster
func RunDatabaseMigrate ¶ added in v1.15.0
RunDatabaseMigrate migrates a database cluster to a new region
func RunDatabasePoolCreate ¶ added in v1.15.0
RunDatabasePoolCreate creates a database pool for a database cluster
func RunDatabasePoolDelete ¶ added in v1.15.0
RunDatabasePoolDelete deletes a database pool
func RunDatabasePoolGet ¶ added in v1.15.0
RunDatabasePoolGet retrieves a database pool for a specific database cluster
func RunDatabasePoolList ¶ added in v1.15.0
RunDatabasePoolList retrieves a list of pools for specific database cluster
func RunDatabaseReplicaConnectionGet ¶ added in v1.15.0
RunDatabaseReplicaConnectionGet gets read-only replica connection info
func RunDatabaseReplicaCreate ¶ added in v1.15.0
RunDatabaseReplicaCreate creates a read-only replica for a database cluster
func RunDatabaseReplicaDelete ¶ added in v1.15.0
RunDatabaseReplicaDelete deletes a read-only replica
func RunDatabaseReplicaGet ¶ added in v1.15.0
RunDatabaseReplicaGet retrieves a read-only replica for a specific database cluster
func RunDatabaseReplicaList ¶ added in v1.15.0
RunDatabaseReplicaList retrieves a list of replicas for specific database cluster
func RunDatabaseResize ¶ added in v1.15.0
RunDatabaseResize resizes a database cluster
func RunDatabaseSetSQLModes ¶ added in v1.35.0
RunDatabaseSetSQLModes sets the sql modes on the database
func RunDatabaseUserCreate ¶ added in v1.15.0
RunDatabaseUserCreate creates a database user for a database cluster
func RunDatabaseUserDelete ¶ added in v1.15.0
RunDatabaseUserDelete deletes a database user
func RunDatabaseUserGet ¶ added in v1.15.0
RunDatabaseUserGet retrieves a database user for a specific database cluster
func RunDatabaseUserList ¶ added in v1.15.0
RunDatabaseUserList retrieves a list of users for specific database cluster
func RunDatabaseUserResetAuth ¶ added in v1.39.0
func RunDockerConfig ¶ added in v1.44.0
RunDockerConfig generates credentials and prints a Docker config that can be used to authenticate a Docker client with the registry.
func RunDomainDelete ¶
RunDomainDelete deletes a domain by name.
func RunDropletActionChangeKernel ¶
RunDropletActionChangeKernel changes the kernel for a droplet.
func RunDropletActionDisableBackups ¶
RunDropletActionDisableBackups disables backups for a droplet.
func RunDropletActionEnableBackups ¶ added in v1.8.2
RunDropletActionEnableBackups disables backups for a droplet.
func RunDropletActionEnableIPv6 ¶
RunDropletActionEnableIPv6 enables IPv6 for a droplet.
func RunDropletActionEnablePrivateNetworking ¶
RunDropletActionEnablePrivateNetworking enables private networking for a droplet.
func RunDropletActionGet ¶
RunDropletActionGet returns a droplet action by id.
func RunDropletActionPasswordReset ¶
RunDropletActionPasswordReset resets the droplet root password.
func RunDropletActionPowerCycle ¶
RunDropletActionPowerCycle power cycles a droplet.
func RunDropletActionPowerOff ¶
RunDropletActionPowerOff turns droplet power off.
func RunDropletActionPowerOn ¶
RunDropletActionPowerOn turns droplet power on.
func RunDropletActionReboot ¶
RunDropletActionReboot reboots a droplet.
func RunDropletActionRebuild ¶
RunDropletActionRebuild rebuilds a droplet using an image id or slug.
func RunDropletActionRename ¶
RunDropletActionRename renames a droplet.
func RunDropletActionResize ¶
RunDropletActionResize resizesx a droplet giving a size slug and optionally expands the disk.
func RunDropletActionRestore ¶
RunDropletActionRestore restores a droplet using an image id.
func RunDropletActionShutdown ¶
RunDropletActionShutdown shuts a droplet down.
func RunDropletActionSnapshot ¶
RunDropletActionSnapshot creates a snapshot for a droplet.
func RunDropletActions ¶
RunDropletActions returns a list of actions for a droplet.
func RunDropletBackups ¶
RunDropletBackups returns a list of backup images for a droplet.
func RunDropletCreate ¶
RunDropletCreate creates a droplet.
func RunDropletDelete ¶
RunDropletDelete destroy a droplet by id.
func RunDropletKernels ¶
RunDropletKernels returns a list of available kernels for a droplet.
func RunDropletList ¶
RunDropletList returns a list of droplets.
func RunDropletNeighbors ¶
RunDropletNeighbors returns a list of droplet neighbors.
func RunDropletOneClickList ¶ added in v1.45.0
RunDropletOneClickList retrieves a list of 1-clicks for Droplets.
func RunDropletSnapshots ¶
RunDropletSnapshots returns a list of available kernels for a droplet.
func RunDropletTag ¶ added in v1.1.0
RunDropletTag adds a tag to a droplet.
func RunDropletUntag ¶ added in v1.1.0
RunDropletUntag untags a droplet.
func RunFirewallAddDroplets ¶ added in v1.7.0
RunFirewallAddDroplets adds droplets to a Firewall.
func RunFirewallAddRules ¶ added in v1.7.0
RunFirewallAddRules adds rules to a Firewall.
func RunFirewallAddTags ¶ added in v1.7.0
RunFirewallAddTags adds tags to a Firewall.
func RunFirewallCreate ¶ added in v1.7.0
RunFirewallCreate creates a new Firewall with a given configuration.
func RunFirewallDelete ¶ added in v1.7.0
RunFirewallDelete deletes a Firewall by its identifier.
func RunFirewallGet ¶ added in v1.7.0
RunFirewallGet retrieves an existing Firewall by its identifier.
func RunFirewallList ¶ added in v1.7.0
RunFirewallList lists Firewalls.
func RunFirewallListByDroplet ¶ added in v1.7.0
RunFirewallListByDroplet lists Firewalls for a given Droplet.
func RunFirewallRemoveDroplets ¶ added in v1.7.0
RunFirewallRemoveDroplets removes droplets from a Firewall.
func RunFirewallRemoveRules ¶ added in v1.7.0
RunFirewallRemoveRules removes rules from a Firewall.
func RunFirewallRemoveTags ¶ added in v1.7.0
RunFirewallRemoveTags removes tags from a Firewall.
func RunFirewallUpdate ¶ added in v1.7.0
RunFirewallUpdate updates an existing Firewall with new configuration.
func RunFloatingIPActionsAssign ¶
RunFloatingIPActionsAssign assigns a floating IP to a droplet.
func RunFloatingIPActionsGet ¶
RunFloatingIPActionsGet retrieves an action for a floating IP.
func RunFloatingIPActionsUnassign ¶
RunFloatingIPActionsUnassign unassigns a floating IP to a droplet.
func RunFloatingIPCreate ¶
RunFloatingIPCreate runs floating IP create.
func RunFloatingIPDelete ¶
RunFloatingIPDelete runs floating IP delete.
func RunFloatingIPGet ¶
RunFloatingIPGet retrieves a floating IP's details.
func RunFloatingIPList ¶
RunFloatingIPList runs floating IP create.
func RunGetGarbageCollection ¶ added in v1.50.0
RunGetGarbageCollection gets the specified registry's currently-active garbage collection.
func RunImageActionsGet ¶
RunImageActionsGet retrieves an action for an image.
func RunImageActionsTransfer ¶
RunImageActionsTransfer an image.
func RunImagesCreate ¶ added in v1.33.0
RunImagesCreate creates a new custom image.
func RunImagesGet ¶
RunImagesGet retrieves an image by id or slug.
func RunImagesListApplication ¶
RunImagesListApplication lists application iamges.
func RunImagesListDistribution ¶
RunImagesListDistribution lists distributions that are available.
func RunImagesListUser ¶
RunImagesListUser lists user images.
func RunInvoicesGet ¶ added in v1.39.0
RunInvoicesGet runs invoice get.
func RunInvoicesGetCSV ¶ added in v1.39.0
RunInvoicesGetCSV runs an invoice get csv.
func RunInvoicesGetPDF ¶ added in v1.39.0
RunInvoicesGetPDF runs an invoice get pdf.
func RunInvoicesList ¶ added in v1.39.0
RunInvoicesList runs invoice list.
func RunInvoicesSummary ¶ added in v1.39.0
RunInvoicesSummary runs an invoice summary.
func RunKubernetesManifest ¶ added in v1.34.0
RunKubernetesManifest prints a Kubernetes manifest that provides read/pull access to the registry
func RunKubernetesOneClickList ¶ added in v1.45.0
RunKubernetesOneClickList retrieves a list of 1-clicks for kubernetes.
func RunListGarbageCollections ¶ added in v1.50.0
RunListGarbageCollections gets the specified registry's currently-active garbage collection.
func RunListRepositories ¶ added in v1.42.0
RunListRepositories lists repositories for the registry
func RunListRepositoryTags ¶ added in v1.42.0
RunListRepositoryTags lists tags for the repository in a registry
func RunLoadBalancerAddDroplets ¶ added in v1.6.0
RunLoadBalancerAddDroplets adds droplets to a load balancer.
func RunLoadBalancerAddForwardingRules ¶ added in v1.6.0
RunLoadBalancerAddForwardingRules adds forwarding rules to a load balancer.
func RunLoadBalancerCreate ¶ added in v1.6.0
RunLoadBalancerCreate creates a new load balancer with a given configuration.
func RunLoadBalancerDelete ¶ added in v1.6.0
RunLoadBalancerDelete deletes a load balancer by its identifier.
func RunLoadBalancerGet ¶ added in v1.6.0
RunLoadBalancerGet retrieves an existing load balancer by its identifier.
func RunLoadBalancerList ¶ added in v1.6.0
RunLoadBalancerList lists load balancers.
func RunLoadBalancerRemoveDroplets ¶ added in v1.6.0
RunLoadBalancerRemoveDroplets removes droplets from a load balancer.
func RunLoadBalancerRemoveForwardingRules ¶ added in v1.6.0
RunLoadBalancerRemoveForwardingRules removes forwarding rules from a load balancer.
func RunLoadBalancerUpdate ¶ added in v1.6.0
RunLoadBalancerUpdate updates an existing load balancer with new configuration.
func RunOneClickList ¶ added in v1.44.0
RunOneClickList retrieves a list of 1-clicks by type. If no type is specified then all types are returned.
func RunPluginList ¶ added in v1.0.0
RunPluginList is a command for listing available plugins.
func RunPluginRun ¶ added in v1.0.0
RunPluginRun is a command for running a plugin.
func RunProjectResourcesAssign ¶ added in v1.11.0
RunProjectResourcesAssign assigns a Project Resource.
func RunProjectResourcesGet ¶ added in v1.11.0
RunProjectResourcesGet retrieves a Project Resource.
func RunProjectResourcesList ¶ added in v1.11.0
RunProjectResourcesList lists the Projects.
func RunProjectsCreate ¶ added in v1.11.0
RunProjectsCreate creates a new Project with a given configuration.
func RunProjectsDelete ¶ added in v1.11.0
RunProjectsDelete deletes a Project with a given configuration.
func RunProjectsGet ¶ added in v1.11.0
RunProjectsGet retrieves an existing Project by its identifier. Use "default" as an identifier to retrieve your default project.
func RunProjectsList ¶ added in v1.11.0
RunProjectsList lists Projects.
func RunProjectsUpdate ¶ added in v1.11.0
RunProjectsUpdate updates an existing Project with a given configuration.
func RunRecordCreate ¶
RunRecordCreate creates a domain record.
func RunRecordDelete ¶
RunRecordDelete deletes a domain record.
func RunRecordList ¶
RunRecordList list records for a domain.
func RunRecordUpdate ¶
RunRecordUpdate updates a domain record.
func RunRegistryCreate ¶ added in v1.34.0
RunRegistryCreate creates a registry
func RunRegistryDelete ¶ added in v1.34.0
RunRegistryDelete delete the registry
func RunRegistryGet ¶ added in v1.34.0
RunRegistryGet returns the registry
func RunRegistryLogin ¶ added in v1.34.0
RunRegistryLogin logs in Docker to the registry
func RunRegistryLogout ¶ added in v1.34.0
RunRegistryLogout logs Docker out of the registry
func RunRegistryOptionsTiers ¶ added in v1.51.0
func RunRepositoryDeleteManifest ¶ added in v1.42.0
RunRepositoryDeleteManifest deletes one or more repository manifests by digest
func RunRepositoryDeleteTag ¶ added in v1.42.0
RunRepositoryDeleteTag deletes one or more repository tags
func RunSnapshotDelete ¶ added in v1.6.0
RunSnapshotDelete destroys snapshot(s) by id
func RunSnapshotGet ¶ added in v1.6.0
RunSnapshotGet returns a snapshot
func RunSnapshotList ¶ added in v1.6.0
RunSnapshotList returns a list of snapshots
func RunStartGarbageCollection ¶ added in v1.50.0
RunStartGarbageCollection starts a garbage collection for the specified registry.
func RunVPCCreate ¶ added in v1.40.0
RunVPCCreate creates a new VPC with a given configuration.
func RunVPCDelete ¶ added in v1.40.0
RunVPCDelete deletes a VPC by its identifier.
func RunVPCUpdate ¶ added in v1.40.0
RunVPCUpdate updates an existing VPC with new configuration.
func RunVolumeActionsGet ¶ added in v1.55.0
RunVolumeActionsGet returns a Volume Action
func RunVolumeAttach ¶ added in v1.3.0
RunVolumeAttach attaches a volume to a droplet.
func RunVolumeCreate ¶ added in v1.3.0
RunVolumeCreate creates a volume.
func RunVolumeDelete ¶ added in v1.3.0
RunVolumeDelete deletes a volume.
func RunVolumeDetach ¶ added in v1.3.0
RunVolumeDetach detaches a volume by droplet ID
func RunVolumeGet ¶ added in v1.3.0
RunVolumeGet gets a volume.
func RunVolumeList ¶ added in v1.3.0
RunVolumeList returns a list of volumes.
func RunVolumeResize ¶ added in v1.6.0
RunVolumeResize resizes a volume
func RunVolumeSnapshot ¶ added in v1.6.0
RunVolumeSnapshot creates a snapshot of a volume
Types ¶
type CmdConfig ¶ added in v1.0.0
type CmdConfig struct { NS string Doit doctl.Config Out io.Writer Args []string // services Keys func() do.KeysService Sizes func() do.SizesService Regions func() do.RegionsService Images func() do.ImagesService ImageActions func() do.ImageActionsService LoadBalancers func() do.LoadBalancersService FloatingIPs func() do.FloatingIPsService FloatingIPActions func() do.FloatingIPActionsService Droplets func() do.DropletsService DropletActions func() do.DropletActionsService Domains func() do.DomainsService Actions func() do.ActionsService Account func() do.AccountService Balance func() do.BalanceService BillingHistory func() do.BillingHistoryService Invoices func() do.InvoicesService Tags func() do.TagsService Volumes func() do.VolumesService VolumeActions func() do.VolumeActionsService Snapshots func() do.SnapshotsService Certificates func() do.CertificatesService Firewalls func() do.FirewallsService CDNs func() do.CDNsService Projects func() do.ProjectsService Kubernetes func() do.KubernetesService Databases func() do.DatabasesService Registry func() do.RegistryService VPCs func() do.VPCsService OneClicks func() do.OneClickService Apps func() do.AppsService // contains filtered or unexported fields }
CmdConfig is a command configuration.
func NewCmdConfig ¶ added in v1.0.0
func NewCmdConfig(ns string, dc doctl.Config, out io.Writer, args []string, initGodo bool) (*CmdConfig, error)
NewCmdConfig creates an instance of a CmdConfig.
func (*CmdConfig) Display ¶ added in v1.0.0
func (c *CmdConfig) Display(d displayers.Displayable) error
Display displays the output from a command.
type Command ¶ added in v1.0.0
Command is a wrapper around cobra.Command that adds doctl specific functionality.
func Balance ¶ added in v1.37.0
func Balance() *Command
Balance creates the balance commands hierarchy.
func BillingHistory ¶ added in v1.40.0
func BillingHistory() *Command
BillingHistory creates the BillingHistory commands hierarchy.
func Certificate ¶ added in v1.6.0
func Certificate() *Command
Certificate creates the certificate command.
func CmdBuilder ¶ added in v1.0.0
func CmdBuilder(parent *Command, cr CmdRunner, cliText, shortdesc string, longdesc string, out io.Writer, options ...cmdOption) *Command
CmdBuilder builds a new command.
func Completion ¶ added in v1.6.1
func Completion() *Command
Completion creates the completion command
func DropletAction ¶
func DropletAction() *Command
DropletAction creates the droplet-action command.
func FloatingIP ¶
func FloatingIP() *Command
FloatingIP creates the command hierarchy for floating ips.
func FloatingIPAction ¶
func FloatingIPAction() *Command
FloatingIPAction creates the floating IP action command.
func GarbageCollection ¶ added in v1.50.0
func GarbageCollection() *Command
GarbageCollection creates the garbage-collection subcommand
func Invoices ¶ added in v1.39.0
func Invoices() *Command
Invoices creates the invoices commands hierarchy.
func Kubernetes ¶ added in v1.12.0
func Kubernetes() *Command
Kubernetes creates the kubernetes command.
func LoadBalancer ¶ added in v1.6.0
func LoadBalancer() *Command
LoadBalancer creates the load balancer command.
func ProjectResourcesCmd ¶ added in v1.11.0
func ProjectResourcesCmd() *Command
ProjectResourcesCmd creates the project resources commands hierarchy.
func Projects ¶ added in v1.11.0
func Projects() *Command
Projects creates the projects commands hierarchy.
func RegistryOptions ¶ added in v1.51.0
func RegistryOptions() *Command
RegistryOptions creates the registry options subcommand
func Repository ¶ added in v1.42.0
func Repository() *Command
Repository creates the repository sub-command
func VolumeAction ¶ added in v1.3.0
func VolumeAction() *Command
VolumeAction creates the volume command
func (*Command) AddCommand ¶ added in v1.0.0
AddCommand adds child commands and adds child commands for cobra as well.
func (*Command) ChildCommands ¶ added in v1.0.0
ChildCommands returns the child commands.
type KubeconfigProvider ¶ added in v1.22.0
type KubeconfigProvider interface { Remote(kube do.KubernetesService, clusterID string, expirySeconds int) (*clientcmdapi.Config, error) Local() (*clientcmdapi.Config, error) Write(config *clientcmdapi.Config) error ConfigPath() string }
KubeconfigProvider allows a user to read from a remote and local Kubeconfig, and write to a local Kubeconfig.
type KubernetesCommandService ¶ added in v1.22.0
type KubernetesCommandService struct {
KubeconfigProvider KubeconfigProvider
}
KubernetesCommandService is used to execute Kubernetes commands.
func (*KubernetesCommandService) RunKubeOptionsListNodeSizes ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubeOptionsListNodeSizes(c *CmdConfig) error
RunKubeOptionsListNodeSizes lists valid node sizes for kubernetes clusters.
func (*KubernetesCommandService) RunKubeOptionsListRegion ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubeOptionsListRegion(c *CmdConfig) error
RunKubeOptionsListRegion lists valid regions for kubernetes clusters.
func (*KubernetesCommandService) RunKubeOptionsListVersion ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubeOptionsListVersion(c *CmdConfig) error
RunKubeOptionsListVersion lists valid versions for kubernetes clusters.
func (*KubernetesCommandService) RunKubernetesClusterCreate ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesClusterCreate(defaultNodeSize string, defaultNodeCount int) func(*CmdConfig) error
RunKubernetesClusterCreate creates a new kubernetes with a given configuration.
func (*KubernetesCommandService) RunKubernetesClusterDelete ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesClusterDelete(c *CmdConfig) error
RunKubernetesClusterDelete deletes a Kubernetes cluster
func (*KubernetesCommandService) RunKubernetesClusterGet ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesClusterGet(c *CmdConfig) error
RunKubernetesClusterGet retrieves an existing kubernetes cluster by its identifier.
func (*KubernetesCommandService) RunKubernetesClusterGetUpgrades ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesClusterGetUpgrades(c *CmdConfig) error
RunKubernetesClusterGetUpgrades retrieves available upgrade versions for a cluster.
func (*KubernetesCommandService) RunKubernetesClusterList ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesClusterList(c *CmdConfig) error
RunKubernetesClusterList lists kubernetess.
func (*KubernetesCommandService) RunKubernetesClusterUpdate ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesClusterUpdate(c *CmdConfig) error
RunKubernetesClusterUpdate updates an existing kubernetes with new configuration.
func (*KubernetesCommandService) RunKubernetesClusterUpgrade ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesClusterUpgrade(c *CmdConfig) error
RunKubernetesClusterUpgrade upgrades an existing cluster to a new version.
func (*KubernetesCommandService) RunKubernetesKubeconfigExecCredential ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesKubeconfigExecCredential(c *CmdConfig) error
RunKubernetesKubeconfigExecCredential displays the exec credential. It is for internal use only.
func (*KubernetesCommandService) RunKubernetesKubeconfigRemove ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesKubeconfigRemove(c *CmdConfig) error
RunKubernetesKubeconfigRemove retrieves an existing kubernetes config and removes it from your local kubeconfig.
func (*KubernetesCommandService) RunKubernetesKubeconfigSave ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesKubeconfigSave(c *CmdConfig) error
RunKubernetesKubeconfigSave retrieves an existing kubernetes config and saves it to your local kubeconfig.
func (*KubernetesCommandService) RunKubernetesKubeconfigShow ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesKubeconfigShow(c *CmdConfig) error
RunKubernetesKubeconfigShow retrieves an existing kubernetes config and prints it.
func (*KubernetesCommandService) RunKubernetesNodeDelete ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesNodeDelete(c *CmdConfig) error
RunKubernetesNodeDelete deletes a Kubernetes Node
func (*KubernetesCommandService) RunKubernetesNodePoolCreate ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesNodePoolCreate(c *CmdConfig) error
RunKubernetesNodePoolCreate creates a new cluster node pool with a given configuration.
func (*KubernetesCommandService) RunKubernetesNodePoolDelete ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesNodePoolDelete(c *CmdConfig) error
RunKubernetesNodePoolDelete deletes a Kubernetes node pool
func (*KubernetesCommandService) RunKubernetesNodePoolGet ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesNodePoolGet(c *CmdConfig) error
RunKubernetesNodePoolGet retrieves an existing cluster node pool by its identifier.
func (*KubernetesCommandService) RunKubernetesNodePoolList ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesNodePoolList(c *CmdConfig) error
RunKubernetesNodePoolList lists cluster node pool.
func (*KubernetesCommandService) RunKubernetesNodePoolRecycle ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesNodePoolRecycle(c *CmdConfig) error
RunKubernetesNodePoolRecycle DEPRECATED: will be removed in v2.0, please use delete-node or replace-node
func (*KubernetesCommandService) RunKubernetesNodePoolUpdate ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesNodePoolUpdate(c *CmdConfig) error
RunKubernetesNodePoolUpdate updates an existing cluster node pool with new properties.
func (*KubernetesCommandService) RunKubernetesNodeReplace ¶ added in v1.22.0
func (s *KubernetesCommandService) RunKubernetesNodeReplace(c *CmdConfig) error
RunKubernetesNodeReplace replaces a Kubernetes Node
func (*KubernetesCommandService) RunKubernetesRegistryAdd ¶ added in v1.49.0
func (s *KubernetesCommandService) RunKubernetesRegistryAdd(c *CmdConfig) error
func (*KubernetesCommandService) RunKubernetesRegistryRemove ¶ added in v1.49.0
func (s *KubernetesCommandService) RunKubernetesRegistryRemove(c *CmdConfig) error
type UnknownSchemeError ¶ added in v0.6.0
type UnknownSchemeError struct {
Scheme string
}
UnknownSchemeError signifies an unknown HTTP scheme.
func (*UnknownSchemeError) Error ¶ added in v0.6.0
func (use *UnknownSchemeError) Error() string
Source Files ¶
- 1_clicks.go
- account.go
- actions.go
- apps.go
- auth.go
- balance.go
- billing_history.go
- cdns.go
- certificates.go
- command.go
- command_config.go
- command_option.go
- completion.go
- confirmation.go
- databases.go
- doit.go
- domains.go
- droplet_actions.go
- droplets.go
- errors.go
- extract.go
- firewalls.go
- floating_ip_actions.go
- floating_ips.go
- image_actions.go
- images.go
- invoices.go
- kubernetes.go
- load_balancers.go
- plugin.go
- projects.go
- regions.go
- registry.go
- sizes.go
- snapshots.go
- ssh.go
- sshkeys.go
- tags.go
- validations.go
- version.go
- volume_actions.go
- volumes.go
- vpcs.go