Documentation
      ¶
    
    
  
    
  
    Index ¶
- func DefaultFormat(configFile *configfile.ConfigFile, quiet bool) string
 - func FormatWrite(ctx formatter.Context, tasks []swarm.Task, names map[string]string, ...) error
 - func NewTaskFormat(source string, quiet bool) formatter.Format
 - func Print(ctx context.Context, dockerCli command.Cli, tasks []swarm.Task, ...) error
 
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
func NewTaskFormat ¶
NewTaskFormat returns a Format for rendering using a task Context
Types ¶
This section is empty.
      
      Source Files
      ¶
    
- formatter.go
 - print.go
 
 Click to show internal directories. 
   Click to hide internal directories.