MCPcopy Index your code
hub / github.com/docker/docker-agent / newDebugOAuthCmd

Function newDebugOAuthCmd

cmd/root/debug_oauth.go:17–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15)
16
17func newDebugOAuthCmd() *cobra.Command {
18 cmd := &cobra.Command{
19 Use: "oauth",
20 Short: "OAuth token management",
21 }
22
23 cmd.AddCommand(newDebugOAuthListCmd())
24 cmd.AddCommand(newDebugOAuthRemoveCmd())
25 cmd.AddCommand(newDebugOAuthLoginCmd())
26
27 return cmd
28}
29
30func newDebugOAuthListCmd() *cobra.Command {
31 var jsonOutput bool

Callers 1

newDebugCmdFunction · 0.85

Calls 3

newDebugOAuthListCmdFunction · 0.85
newDebugOAuthRemoveCmdFunction · 0.85
newDebugOAuthLoginCmdFunction · 0.85

Tested by

no test coverage detected