MCPcopy Index your code

hub / github.com/digitalocean/doctl / functions

Functions4,869 in github.com/digitalocean/doctl

↓ 1,059 callersMethodSet
(ns, key string, val any)
doit.go:216
↓ 851 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
do/mocks/Runner.go:38
↓ 741 callersFunctionwithTestClient
(t *testing.T, tFn testFn)
commands/commands_test.go:303
↓ 556 callersMethodSprintf
Sprintf formats the specified text with the style applied.
commands/charm/charm.go:61
↓ 542 callersMethodCall
Call a method on the plugin.
pluginhost/plugin.go:46
↓ 524 callersMethodGet
(id, region string)
do/nfs.go:37
↓ 508 callersFunctionAddStringFlag
AddStringFlag adds a string flag to a command.
commands/doit.go:266
↓ 479 callersFunctionCmdBuilder
CmdBuilder builds a new command.
commands/command.go:70
↓ 447 callersMethodGetString
(ns, key string)
doit.go:218
↓ 394 callersMethodErrorf
(format string, args ...any)
internal/apps/builder/docker_test.go:345
↓ 355 callersFunctionaliasOpt
aliasOpt adds aliases for a command.
commands/command_option.go:22
↓ 332 callersMethodWrite
(config *clientcmdapi.Config)
commands/kubernetes.go:142
↓ 280 callersMethodDisplay
Display displays the output from a command.
commands/command_config.go:243
↓ 276 callersFunctiondisplayerType
displayerType sets the columns for display for a command.
commands/command_option.go:33
↓ 240 callersFunctionAddBoolFlag
AddBoolFlag adds a boolean flag to a command.
commands/doit.go:308
↓ 226 callersFunctionNewMissingArgsErr
NewMissingArgsErr creates a MissingArgsErr instance.
errors.go:26
↓ 199 callersMethodError
()
commands/charm/text/text.go:67
↓ 177 callersMethodGetBool
(ns, key string)
doit.go:219
↓ 160 callersFunctionrequiredOpt
()
commands/doit.go:247
↓ 159 callersMethodError
()
internal/apps/builder/docker_test.go:364
↓ 136 callersMethodRun
()
pkg/runner/runner.go:18
↓ 132 callersMethodList
(region string)
do/nfs.go:34
↓ 131 callersFunctionensureOneArg
(c *CmdConfig)
commands/errors.go:89
↓ 128 callersFunctionwriteJSON
(item any, w io.Writer)
commands/displayers/output.go:120
↓ 125 callersMethodString
String implements the fmt.Stringer interface.
commands/charm/charm.go:106
↓ 112 callersMethodAddCommand
AddCommand adds child commands and adds child commands for cobra as well.
commands/command.go:44
↓ 111 callersMethodClose
()
commands/auth_test.go:352
↓ 99 callersMethodCreate
(*godo.NfsCreateRequest)
do/nfs.go:35
↓ 87 callersFunctionAddStringSliceFlag
AddStringSliceFlag adds a string slice flag to a command.
commands/doit.go:319
↓ 87 callersFunctionPaginateResp
PaginateResp paginates a Response.
do/pagination.go:48
↓ 85 callersMethodGetInt
(ns, key string)
doit.go:221
↓ 84 callersFunctionAddIntFlag
AddIntFlag adds an integr flag to a command.
commands/doit.go:286
↓ 81 callersMethodGetStringSlice
(ns, key string)
doit.go:224
↓ 71 callersMethodDelete
(id, region string)
do/nfs.go:36
↓ 66 callersFunctionassertCommandNames
(t *testing.T, cmd *Command, expected ...string)
commands/commands_test.go:227
↓ 61 callersFunctiontestK8sCmdService
()
commands/kubernetes_test.go:221
↓ 56 callersFunctionnotice
(msg string, args ...any)
commands/errors.go:107
↓ 47 callersMethodCheckServerlessStatus
()
do/serverless.go:246
↓ 45 callersFunctionAskForConfirmDelete
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 callersMethodUpdate
(vpcUUID string, vpcr *godo.VPCUpdateRequest)
do/vpcs.go:43
↓ 40 callersMethodEXPECT
EXPECT returns an object that allows the caller to indicate expected use.
internal/apps/builder/container_mock.go:38
↓ 33 callersFunctionboolPtr
(val bool)
commands/kubernetes.go:3066
↓ 30 callersMethodIsSet
(key string)
doit.go:217
↓ 24 callersMethodGetBoolPtr
(ns, key string)
doit.go:220
↓ 24 callersFunctionPrint
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 callersMethodString
()
internal/apps/builder/docker_test.go:334
↓ 23 callersMethodContext
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 callersFunctionRender
Render renders a template.
commands/charm/template/template.go:90
↓ 21 callersMethodReadCredentials
()
do/serverless.go:244
↓ 21 callersMethodhandleActionResponse
(a *godo.Action, err error)
do/droplet_actions.go:69
↓ 21 callersFunctionnskey
(ns, key string)
doit.go:491
↓ 20 callersMethodDockerCredentials
(*godo.RegistryDockerCredentialsRequest)
do/registry.go:76
↓ 20 callersFunctionNewTooManyArgsErr
NewTooManyArgsErr creates a TooManyArgsErr instance.
errors.go:42
↓ 19 callersMethodAppImageOutputName
()
internal/apps/builder/builder.go:58
↓ 19 callersFunctionContextualAtoi
ContextualAtoi cleans the error output of Atoi calls
commands/validations.go:22
↓ 19 callersFunctionwarn
(msg string, args ...any)
commands/errors.go:100
↓ 18 callersMethodRemove
(t *testing.T, w http.ResponseWriter, r *http.Request)
integration/database_firewall_remove_test.go:18
↓ 18 callersFunctionperformAction
(c *CmdConfig, fn actionFn)
commands/droplet_actions.go:30
↓ 17 callersMethodCopy
Copy returns a copy of the style.
commands/charm/charm.go:33
↓ 17 callersMethodError
()
errors.go:30
↓ 17 callersFunctionclusterIDize
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 callersFunctionExtract
Extract extracts files from an archive to the specified location. It supports .tar.gz and .zip archives.
pkg/extract/extract.go:48
↓ 15 callersMethodListNamespaces
(context.Context)
do/serverless.go:233
↓ 15 callersFunctionwriteServerlessInferenceJSON
(w io.Writer, v any)
commands/serverless_inference.go:91
↓ 14 callersMethodResize
(string, *godo.DatabaseResizeRequest)
do/databases.go:191
↓ 13 callersMethodIsSet
(key string)
internal/apps/config/config.go:10
↓ 13 callersMethodPrintf
Printf formats the specified text with the style applied and prints it to the output writer.
commands/charm/charm.go:81
↓ 12 callersMethodGetString
(key string)
internal/apps/config/config.go:11
↓ 12 callersMethodListNodePools
(clusterID string)
do/kubernetes.go:90
↓ 12 callersFunctioninitWhisk
InitWhisk is an on-demand initializer for the OpenWhisk client, called when that client is needed.
do/serverless.go:384
↓ 12 callersFunctionkubernetesCommandService
()
commands/kubernetes.go:227
↓ 12 callersFunctionstrPtr
(s string)
internal/apps/builder/docker.go:301
↓ 11 callersFunctionAskForConfirm
AskForConfirm parses and verifies user input for confirmation.
commands/confirmation.go:11
↓ 11 callersMethodListen
(url *url.URL, token string, schemaFunc listen.SchemaFunc, out io.Writer, inCh <-chan []byte)
doit.go:214
↓ 11 callersFunctionNewStyle
NewStyle creates a new styled component.
commands/charm/charm.go:23
↓ 11 callersFunctioncheckErr
(err error)
commands/errors.go:60
↓ 10 callersMethodEndpoint
()
do/registry.go:83
↓ 10 callersMethodGetDeployment
(appID, deploymentID string)
do/apps.go:36
↓ 10 callersMethodGetDuration
(key string)
internal/apps/config/config.go:13
↓ 10 callersMethodGetNamespaceFromCluster
(string, string)
do/serverless.go:235
↓ 10 callersMethodListActivations
(whisk.ActivationListOptions)
do/serverless.go:255
↓ 10 callersFunctionNewStyled
NewStyled builds a new styled text component.
commands/charm/text/text.go:43
↓ 10 callersFunctionRunDatabaseConfigurationGet
(c *CmdConfig)
commands/databases.go:2707
↓ 10 callersFunctionRunDatabaseConfigurationUpdate
(c *CmdConfig)
commands/databases.go:2821
↓ 10 callersFunctionString
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 callersFunctionactionWait
(c *CmdConfig, actionID, pollTime int)
commands/actions.go:239
↓ 10 callersFunctionbuildTarGz
(t *testing.T, entries []tarEntry)
pkg/extract/extract_test.go:282
↓ 9 callersMethodContainerExecAttach
(ctx context.Context, execID string, config types.ExecStartCheck)
internal/apps/builder/container.go:22
↓ 9 callersMethodContainerExecCreate
(ctx context.Context, container string, config types.ExecConfig)
internal/apps/builder/container.go:23
↓ 9 callersMethodContainerExecInspect
(ctx context.Context, execID string)
internal/apps/builder/container.go:25
↓ 9 callersMethodDeleteManifest
(string, string, string)
do/registry.go:82
↓ 9 callersMethodDeleteTag
(string, string, string)
do/registry.go:81
↓ 9 callersMethodGetUpgrades
(clusterID string)
do/kubernetes.go:78
↓ 9 callersMethodStartGarbageCollection
(string, *godo.StartGarbageCollectionRequest)
do/registry.go:84
↓ 9 callersMethodTagResources
(string, *godo.TagResourcesRequest)
do/tags.go:36
↓ 9 callersMethodUpdateNodePool
(clusterID, poolID string, req *godo.KubernetesNodePoolUpdateRequest)
do/kubernetes.go:91
↓ 9 callersFunctioncmdBuilderWithInit
(parent *Command, cr CmdRunner, cliText, shortdesc string, longdesc string, out io.Writer, initCmd bool, optio
commands/command.go:74
↓ 9 callersFunctionensurePartnerAttachmentType
(c *CmdConfig)
commands/partner_network_connect.go:178
↓ 9 callersMethodhandleTagActionResponse
(a []godo.Action, err error)
do/droplet_actions.go:77
↓ 8 callersMethodCreateNamespaceAccessKey
(context.Context, string, string, string)
do/serverless.go:265
next →1–100 of 4,869, ranked by callers