cmd

package
v1.0.35 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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