task

package
v25.0.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: Apache-2.0 Imports: 14 Imported by: 490

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 FormatWrite

func FormatWrite(ctx formatter.Context, tasks []swarm.Task, names map[string]string, nodes map[string]string) error

FormatWrite writes the context