{"modulePath":"github.com/rancher/docker-cli","version":"v0.0.0-20190201110649-896ff57b300c","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package node\n\n## Functions\n\n```go\nfunc FormatWrite(ctx formatter.Context, nodes []swarm.Node, info types.Info) error\n```\nFormatWrite writes the context\n\n```go\nfunc InspectFormatWrite(ctx formatter.Context, refs []string, getRef inspect.GetRefFunc) error\n```\nInspectFormatWrite renders the context for a list of nodes\n\n```go\nfunc NewFormat(source string, quiet bool) formatter.Format\n```\nNewFormat returns a Format for rendering using a node Context\n\n```go\nfunc NewNodeCommand(dockerCli command.Cli) *cobra.Command\n```\nNewNodeCommand returns a cobra command for \\`node\\` subcommands\n\n```go\nfunc Reference(ctx context.Context, client apiclient.APIClient, ref string) (string, error)\n```\nReference returns the reference of a node. The special value \"self\" for a node reference is mapped to the current node, hence the node ID is retrieved using the \\`/info\\` endpoint.\n\n","path":"github.com/rancher/docker-cli/cli/command/node","name":"node","synopsis":"","isRedistributable":true}
