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
- v28.0.0+incompatible
- Published
- Feb 19, 2025
- Platform
- darwin/amd64
- Imports
- 21 packages
- Last checked
- 9 minutes ago –
Tools for package owners.