package task
import "github.com/docker/docker/cli/command/task"
Index ¶
- func Print(dockerCli *command.DockerCli, ctx context.Context, tasks []swarm.Task, resolver *idresolver.IDResolver, noTrunc bool) error
- func PrintQuiet(dockerCli *command.DockerCli, tasks []swarm.Task) error
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 ¶
PrintQuiet shows task list in a quiet way.
Source Files ¶
- Version
- v1.13.0-rc7
- Published
- Jan 12, 2017
- Platform
- js/wasm
- Imports
- 13 packages
- Last checked
- 27 seconds ago –
Tools for package owners.