package secret

import "github.com/docker/cli/cli/command/secret"

Index

Functions

func FormatWrite

func FormatWrite(ctx formatter.Context, secrets []swarm.Secret) error

FormatWrite writes the context

func InspectFormatWrite

func InspectFormatWrite(ctx formatter.Context, refs []string, getRef inspect.GetRefFunc) error

InspectFormatWrite renders the context for a list of secrets

func NewFormat

func NewFormat(source string, quiet bool) formatter.Format

NewFormat returns a Format for rendering using a secret Context

func NewSecretCommand

func NewSecretCommand(dockerCli command.Cli) *cobra.Command

NewSecretCommand returns a cobra command for `secret` subcommands

Source Files

cmd.go create.go formatter.go inspect.go ls.go remove.go

Version
v27.4.0-rc.3+incompatible
Published
Nov 29, 2024
Platform
js/wasm
Imports
21 packages
Last checked
3 hours ago

Tools for package owners.