task

package
v29.0.2+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2025 License: Apache-2.0 Imports: 14 Imported by: 444

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultFormat

func DefaultFormat(configFile *configfile.ConfigFile, quiet bool) string

DefaultFormat returns the default format from the config file, or table format if nothing is set in the config.

func Print

func Print(ctx context.Context, dockerCli command.Cli, tasks client.TaskListResult, resolver *idresolver.IDResolver, trunc, quiet bool, format string) error

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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