package secret
import "github.com/docker/cli/cli/command/secret"
Index ¶
- func FormatWrite(ctx formatter.Context, secrets []swarm.Secret) error
- func InspectFormatWrite(ctx formatter.Context, refs []string, getRef inspect.GetRefFunc) error
- func NewFormat(source string, quiet bool) formatter.Format
- func NewSecretCommand(dockerCli command.Cli) *cobra.Command
Functions ¶
func FormatWrite ¶
FormatWrite writes the context
func InspectFormatWrite ¶
InspectFormatWrite renders the context for a list of secrets
func NewFormat ¶
NewFormat returns a Format for rendering using a secret Context
func NewSecretCommand ¶
NewSecretCommand returns a cobra command for `secret` subcommands
Source Files ¶
cmd.go create.go formatter.go inspect.go ls.go remove.go
- Version
- v26.0.0-rc1+incompatible
- Published
- Feb 28, 2024
- Platform
- js/wasm
- Imports
- 21 packages
- Last checked
- 3 hours ago –
Tools for package owners.