package task

import "github.com/dotcloud/docker/cli/command/task"

Index

Functions

func Print

func Print(dockerCli *command.DockerCli, ctx context.Context, tasks []swarm.Task, resolver *idresolver.IDResolver, noTrunc bool) error

Print task information in a table format. Besides this, command `docker node ps <node>` and `docker stack ps` will call this, too.

func PrintQuiet

func PrintQuiet(dockerCli *command.DockerCli, tasks []swarm.Task) error

PrintQuiet shows task list in a quiet way.

Source Files

print.go

Version
v1.13.0-rc1
Published
Nov 11, 2016
Platform
js/wasm
Imports
11 packages
Last checked
56 seconds ago

Tools for package owners.