cmd

package
v1.0.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2021 License: Apache-2.0 Imports: 32 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EcsCommand

func EcsCommand() *cobra.Command

EcsCommand is a placeholder to drive early users to the integrated form of ecs support instead of its early plugin form

func ExecCommand

func ExecCommand() *cobra.Command

ExecCommand runs a command in a running container

func InspectCommand

func InspectCommand() *cobra.Command

InspectCommand inspects into containers

func KillCommand added in v0.1.15

func KillCommand() *cobra.Command

KillCommand kills containers

func LogsCommand

func LogsCommand() *cobra.Command

LogsCommand fetches and shows logs of a container

func MetadataCommand added in v1.0.6

func MetadataCommand() *cobra.Command

MetadataCommand command to display version

func PruneCommand added in v0.1.23

func PruneCommand() *cobra.Command

PruneCommand deletes backend resources

func PsCommand

func PsCommand() *cobra.Command

PsCommand lists containers

func RmCommand

func RmCommand() *cobra.Command

RmCommand deletes containers

func SecretCommand

func SecretCommand() *cobra.Command

SecretCommand manage secrets

func ServeCommand

func ServeCommand() *cobra.Command

ServeCommand returns the command to serve the API

func StartCommand

func StartCommand() *cobra.Command

StartCommand starts containers

func StopCommand

func StopCommand() *cobra.Command

StopCommand deletes containers

func VersionCommand

func VersionCommand() *cobra.Command

VersionCommand command to display version

Types

type BackendMetadata added in v1.0.6

type BackendMetadata struct {
	Name    string
	Version string
}

BackendMetadata backend metadata TODO import this from cli when merged & available in /docker/cli

type ContainerInspectView added in v1.0.3

type ContainerInspectView struct {
	ID          string
	Status      string
	Image       string
	Command     string                    `json:",omitempty"`
	HostConfig  *containers.HostConfig    `json:",omitempty"`
	Ports       []containers.Port         `json:",omitempty"`
	Config      *containers.RuntimeConfig `json:",omitempty"`
	Platform    string
	Healthcheck *containerInspectHealthcheck `json:",omitempty"`
}

ContainerInspectView inspect view

type ExitCodeError added in v1.0.9

type ExitCodeError struct {
	ExitCode int
}

ExitCodeError reports an exit code set by command.

func (ExitCodeError) Error added in v1.0.9

func (e ExitCodeError) Error() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL