Documentation ¶
Index ¶
- Variables
- func CliHintsEnabled() bool
- func CliVersion() string
- func Exec(_ *cobra.Command)
- func ExecIfDefaultCtxType(ctx context.Context, root *cobra.Command)
- func ExecSilent(ctx context.Context, args ...string) ([]byte, error)
- func IsDefaultContextCommand(dockerCommand string) bool
- func RunDocker(childExit chan bool, args ...string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ComDockerCli = "com.docker.cli"
ComDockerCli name of the classic cli binary
Functions ¶
func CliHintsEnabled ¶ added in v1.0.35
func CliHintsEnabled() bool
func CliVersion ¶ added in v1.0.29
func CliVersion() string
CliVersion returns the docker cli version
func ExecIfDefaultCtxType ¶
ExecIfDefaultCtxType delegates to com.docker.cli if on moby context
func ExecSilent ¶
ExecSilent executes a command and do redirect output to stdOut, return output
func IsDefaultContextCommand ¶
IsDefaultContextCommand checks if the command exists in the classic cli (issues a shellout --help)
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.