package secret
import "github.com/docker/docker/cli/command/secret"
Index ¶
- func GetSecretsByNameOrIDPrefixes(ctx context.Context, client client.APIClient, terms []string) ([]swarm.Secret, error)
- func NewSecretCommand(dockerCli *command.DockerCli) *cobra.Command
Functions ¶
func GetSecretsByNameOrIDPrefixes ¶
func GetSecretsByNameOrIDPrefixes(ctx context.Context, client client.APIClient, terms []string) ([]swarm.Secret, error)
GetSecretsByNameOrIDPrefixes returns secrets given a list of ids or names
func NewSecretCommand ¶
NewSecretCommand returns a cobra command for `secret` subcommands
Source Files ¶
cmd.go create.go inspect.go ls.go remove.go utils.go
- Version
- v1.13.1
- Published
- Feb 8, 2017
- Platform
- js/wasm
- Imports
- 19 packages
- Last checked
- 1 minute ago –
Tools for package owners.