Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/digitalocean/doctl
/ functions
Functions
4,869 in github.com/digitalocean/doctl
⨍
Functions
4,869
◇
Types & classes
694
↓ 1,059 callers
Method
Set
(ns, key string, val any)
doit.go:216
↓ 851 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
do/mocks/Runner.go:38
↓ 741 callers
Function
withTestClient
(t *testing.T, tFn testFn)
commands/commands_test.go:303
↓ 556 callers
Method
Sprintf
Sprintf formats the specified text with the style applied.
commands/charm/charm.go:61
↓ 542 callers
Method
Call
Call a method on the plugin.
pluginhost/plugin.go:46
↓ 524 callers
Method
Get
(id, region string)
do/nfs.go:37
↓ 508 callers
Function
AddStringFlag
AddStringFlag adds a string flag to a command.
commands/doit.go:266
↓ 479 callers
Function
CmdBuilder
CmdBuilder builds a new command.
commands/command.go:70
↓ 447 callers
Method
GetString
(ns, key string)
doit.go:218
↓ 394 callers
Method
Errorf
(format string, args ...any)
internal/apps/builder/docker_test.go:345
↓ 355 callers
Function
aliasOpt
aliasOpt adds aliases for a command.
commands/command_option.go:22
↓ 332 callers
Method
Write
(config *clientcmdapi.Config)
commands/kubernetes.go:142
↓ 280 callers
Method
Display
Display displays the output from a command.
commands/command_config.go:243
↓ 276 callers
Function
displayerType
displayerType sets the columns for display for a command.
commands/command_option.go:33
↓ 240 callers
Function
AddBoolFlag
AddBoolFlag adds a boolean flag to a command.
commands/doit.go:308
↓ 226 callers
Function
NewMissingArgsErr
NewMissingArgsErr creates a MissingArgsErr instance.
errors.go:26
↓ 199 callers
Method
Error
()
commands/charm/text/text.go:67
↓ 177 callers
Method
GetBool
(ns, key string)
doit.go:219
↓ 160 callers
Function
requiredOpt
()
commands/doit.go:247
↓ 159 callers
Method
Error
()
internal/apps/builder/docker_test.go:364
↓ 136 callers
Method
Run
()
pkg/runner/runner.go:18
↓ 132 callers
Method
List
(region string)
do/nfs.go:34
↓ 131 callers
Function
ensureOneArg
(c *CmdConfig)
commands/errors.go:89
↓ 128 callers
Function
writeJSON
(item any, w io.Writer)
commands/displayers/output.go:120
↓ 125 callers
Method
String
String implements the fmt.Stringer interface.
commands/charm/charm.go:106
↓ 112 callers
Method
AddCommand
AddCommand adds child commands and adds child commands for cobra as well.
commands/command.go:44
↓ 111 callers
Method
Close
()
commands/auth_test.go:352
↓ 99 callers
Method
Create
(*godo.NfsCreateRequest)
do/nfs.go:35
↓ 87 callers
Function
AddStringSliceFlag
AddStringSliceFlag adds a string slice flag to a command.
commands/doit.go:319
↓ 87 callers
Function
PaginateResp
PaginateResp paginates a Response.
do/pagination.go:48
↓ 85 callers
Method
GetInt
(ns, key string)
doit.go:221
↓ 84 callers
Function
AddIntFlag
AddIntFlag adds an integr flag to a command.
commands/doit.go:286
↓ 81 callers
Method
GetStringSlice
(ns, key string)
doit.go:224
↓ 71 callers
Method
Delete
(id, region string)
do/nfs.go:36
↓ 66 callers
Function
assertCommandNames
(t *testing.T, cmd *Command, expected ...string)
commands/commands_test.go:227
↓ 61 callers
Function
testK8sCmdService
()
commands/kubernetes_test.go:221
↓ 56 callers
Function
notice
(msg string, args ...any)
commands/errors.go:107
↓ 47 callers
Method
CheckServerlessStatus
()
do/serverless.go:246
↓ 45 callers
Function
AskForConfirmDelete
AskForConfirmDelete builds a message to ask the user to confirm deleting one or multiple resources and then sends it through to AskForConfirm to parse
commands/confirmation.go:34
↓ 42 callers
Method
Update
(vpcUUID string, vpcr *godo.VPCUpdateRequest)
do/vpcs.go:43
↓ 40 callers
Method
EXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/apps/builder/container_mock.go:38
↓ 33 callers
Function
boolPtr
(val bool)
commands/kubernetes.go:3066
↓ 30 callers
Method
IsSet
(key string)
doit.go:217
↓ 24 callers
Method
GetBoolPtr
(ns, key string)
doit.go:220
↓ 24 callers
Function
Print
Print executes a template and prints it directly to stdout. If an error occurs, it is written to stderr as well.
commands/charm/template/template.go:145
↓ 24 callers
Method
String
()
internal/apps/builder/docker_test.go:334
↓ 23 callers
Method
Context
Context returns a path relative to the workspace context. A call with no arguments returns the workspace context path. If an absolute path is given it
internal/apps/workspace/workspace.go:123
↓ 22 callers
Function
Render
Render renders a template.
commands/charm/template/template.go:90
↓ 21 callers
Method
ReadCredentials
()
do/serverless.go:244
↓ 21 callers
Method
handleActionResponse
(a *godo.Action, err error)
do/droplet_actions.go:69
↓ 21 callers
Function
nskey
(ns, key string)
doit.go:491
↓ 20 callers
Method
DockerCredentials
(*godo.RegistryDockerCredentialsRequest)
do/registry.go:76
↓ 20 callers
Function
NewTooManyArgsErr
NewTooManyArgsErr creates a TooManyArgsErr instance.
errors.go:42
↓ 19 callers
Method
AppImageOutputName
()
internal/apps/builder/builder.go:58
↓ 19 callers
Function
ContextualAtoi
ContextualAtoi cleans the error output of Atoi calls
commands/validations.go:22
↓ 19 callers
Function
warn
(msg string, args ...any)
commands/errors.go:100
↓ 18 callers
Method
Remove
(t *testing.T, w http.ResponseWriter, r *http.Request)
integration/database_firewall_remove_test.go:18
↓ 18 callers
Function
performAction
(c *CmdConfig, fn actionFn)
commands/droplet_actions.go:30
↓ 17 callers
Method
Copy
Copy returns a copy of the style.
commands/charm/charm.go:33
↓ 17 callers
Method
Error
()
errors.go:30
↓ 17 callers
Function
clusterIDize
clusterIDize attempts to make a cluster ID/name string be a cluster ID. use this as opposed to `clusterByIDorName` if you just care about getting a cl
commands/kubernetes.go:2668
↓ 16 callers
Function
Extract
Extract extracts files from an archive to the specified location. It supports .tar.gz and .zip archives.
pkg/extract/extract.go:48
↓ 15 callers
Method
ListNamespaces
(context.Context)
do/serverless.go:233
↓ 15 callers
Function
writeServerlessInferenceJSON
(w io.Writer, v any)
commands/serverless_inference.go:91
↓ 14 callers
Method
Resize
(string, *godo.DatabaseResizeRequest)
do/databases.go:191
↓ 13 callers
Method
IsSet
(key string)
internal/apps/config/config.go:10
↓ 13 callers
Method
Printf
Printf formats the specified text with the style applied and prints it to the output writer.
commands/charm/charm.go:81
↓ 12 callers
Method
GetString
(key string)
internal/apps/config/config.go:11
↓ 12 callers
Method
ListNodePools
(clusterID string)
do/kubernetes.go:90
↓ 12 callers
Function
initWhisk
InitWhisk is an on-demand initializer for the OpenWhisk client, called when that client is needed.
do/serverless.go:384
↓ 12 callers
Function
kubernetesCommandService
()
commands/kubernetes.go:227
↓ 12 callers
Function
strPtr
(s string)
internal/apps/builder/docker.go:301
↓ 11 callers
Function
AskForConfirm
AskForConfirm parses and verifies user input for confirmation.
commands/confirmation.go:11
↓ 11 callers
Method
Listen
(url *url.URL, token string, schemaFunc listen.SchemaFunc, out io.Writer, inCh <-chan []byte)
doit.go:214
↓ 11 callers
Function
NewStyle
NewStyle creates a new styled component.
commands/charm/charm.go:23
↓ 11 callers
Function
checkErr
(err error)
commands/errors.go:60
↓ 10 callers
Method
Endpoint
()
do/registry.go:83
↓ 10 callers
Method
GetDeployment
(appID, deploymentID string)
do/apps.go:36
↓ 10 callers
Method
GetDuration
(key string)
internal/apps/config/config.go:13
↓ 10 callers
Method
GetNamespaceFromCluster
(string, string)
do/serverless.go:235
↓ 10 callers
Method
ListActivations
(whisk.ActivationListOptions)
do/serverless.go:255
↓ 10 callers
Function
NewStyled
NewStyled builds a new styled text component.
commands/charm/text/text.go:43
↓ 10 callers
Function
RunDatabaseConfigurationGet
(c *CmdConfig)
commands/databases.go:2707
↓ 10 callers
Function
RunDatabaseConfigurationUpdate
(c *CmdConfig)
commands/databases.go:2821
↓ 10 callers
Function
String
String executes a template and returns it as a string. If an error occurs, the error text is returned instead.
commands/charm/template/template.go:131
↓ 10 callers
Function
actionWait
(c *CmdConfig, actionID, pollTime int)
commands/actions.go:239
↓ 10 callers
Function
buildTarGz
(t *testing.T, entries []tarEntry)
pkg/extract/extract_test.go:282
↓ 9 callers
Method
ContainerExecAttach
(ctx context.Context, execID string, config types.ExecStartCheck)
internal/apps/builder/container.go:22
↓ 9 callers
Method
ContainerExecCreate
(ctx context.Context, container string, config types.ExecConfig)
internal/apps/builder/container.go:23
↓ 9 callers
Method
ContainerExecInspect
(ctx context.Context, execID string)
internal/apps/builder/container.go:25
↓ 9 callers
Method
DeleteManifest
(string, string, string)
do/registry.go:82
↓ 9 callers
Method
DeleteTag
(string, string, string)
do/registry.go:81
↓ 9 callers
Method
GetUpgrades
(clusterID string)
do/kubernetes.go:78
↓ 9 callers
Method
StartGarbageCollection
(string, *godo.StartGarbageCollectionRequest)
do/registry.go:84
↓ 9 callers
Method
TagResources
(string, *godo.TagResourcesRequest)
do/tags.go:36
↓ 9 callers
Method
UpdateNodePool
(clusterID, poolID string, req *godo.KubernetesNodePoolUpdateRequest)
do/kubernetes.go:91
↓ 9 callers
Function
cmdBuilderWithInit
(parent *Command, cr CmdRunner, cliText, shortdesc string, longdesc string, out io.Writer, initCmd bool, optio
commands/command.go:74
↓ 9 callers
Function
ensurePartnerAttachmentType
(c *CmdConfig)
commands/partner_network_connect.go:178
↓ 9 callers
Method
handleTagActionResponse
(a []godo.Action, err error)
do/droplet_actions.go:77
↓ 8 callers
Method
CreateNamespaceAccessKey
(context.Context, string, string, string)
do/serverless.go:265
next →
1–100 of 4,869, ranked by callers