Documentation
¶
Index ¶
- func FormatWrite(ctx formatter.Context, nodes []swarm.Node, info system.Info) error
- func InspectFormatWrite(ctx formatter.Context, refs []string, getRef inspect.GetRefFunc) error
- func NewFormat(source string, quiet bool) formatter.Format
- func NewNodeCommand(dockerCli command.Cli) *cobra.Command
- func Reference(ctx context.Context, apiClient client.APIClient, ref string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatWrite ¶
FormatWrite writes the context
func InspectFormatWrite ¶
InspectFormatWrite renders the context for a list of nodes
func NewFormat ¶
NewFormat returns a Format for rendering using a node Context
func NewNodeCommand ¶
NewNodeCommand returns a cobra command for `node` subcommands
Types ¶
This section is empty.
Source Files
¶
- cmd.go
- demote.go
- formatter.go
- inspect.go
- list.go
- opts.go
- promote.go
- ps.go
- remove.go
- update.go
Click to show internal directories.
Click to hide internal directories.