Documentation ¶
Index ¶
- func ForwardAllSignals(ctx context.Context, cli *command.DockerCli, cid string) chan os.Signal
- func MonitorTtySize(ctx context.Context, cli *command.DockerCli, id string, isExec bool) error
- func NewAttachCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewCommitCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewContainerCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewCopyCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewCreateCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewDiffCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewExecCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewExportCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewKillCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewLogsCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewPauseCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewPortCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewPsCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewRenameCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewRestartCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewRmCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewRunCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewStartCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewStatsCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewStopCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewTopCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewUnpauseCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewUpdateCommand(dockerCli *command.DockerCli) *cobra.Command
- func NewWaitCommand(dockerCli *command.DockerCli) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForwardAllSignals ¶
ForwardAllSignals forwards signals to the container
func MonitorTtySize ¶
MonitorTtySize updates the container tty size when the terminal tty changes size
func NewAttachCommand ¶
NewAttachCommand creates a new cobra.Command for `docker attach`
func NewCommitCommand ¶
NewCommitCommand creates a new cobra.Command for `docker commit`
func NewContainerCommand ¶
NewContainerCommand returns a cobra command for `container` subcommands
func NewCopyCommand ¶
NewCopyCommand creates a new `docker cp` command
func NewCreateCommand ¶
NewCreateCommand creates a new cobra.Command for `docker create`
func NewDiffCommand ¶
NewDiffCommand creates a new cobra.Command for `docker diff`
func NewExecCommand ¶
NewExecCommand creats a new cobra.Command for `docker exec`
func NewExportCommand ¶
NewExportCommand creates a new `docker export` command
func NewKillCommand ¶
NewKillCommand creates a new cobra.Command for `docker kill`
func NewLogsCommand ¶
NewLogsCommand creates a new cobra.Command for `docker logs`
func NewPauseCommand ¶
NewPauseCommand creates a new cobra.Command for `docker pause`
func NewPortCommand ¶
NewPortCommand creates a new cobra.Command for `docker port`
func NewPsCommand ¶
NewPsCommand creates a new cobra.Command for `docker ps`
func NewRenameCommand ¶
NewRenameCommand creates a new cobra.Command for `docker rename`
func NewRestartCommand ¶
NewRestartCommand creates a new cobra.Command for `docker restart`
func NewRmCommand ¶
NewRmCommand creates a new cobra.Command for `docker rm`
func NewRunCommand ¶
NewRunCommand create a new `docker run` command
func NewStartCommand ¶
NewStartCommand creates a new cobra.Command for `docker start`
func NewStatsCommand ¶
NewStatsCommand creates a new cobra.Command for `docker stats`
func NewStopCommand ¶
NewStopCommand creates a new cobra.Command for `docker stop`
func NewTopCommand ¶
NewTopCommand creates a new cobra.Command for `docker top`
func NewUnpauseCommand ¶
NewUnpauseCommand creates a new cobra.Command for `docker unpause`
func NewUpdateCommand ¶
NewUpdateCommand creates a new cobra.Command for `docker update`
Types ¶
This section is empty.