Documentation ¶ Index ¶ func NewNodeCommand(dockerCli *client.DockerCli) *cobra.Command func Reference(client apiclient.APIClient, ctx context.Context, ref string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewNodeCommand ¶ func NewNodeCommand(dockerCli *client.DockerCli) *cobra.Command NewNodeCommand returns a cobra command for `node` subcommands func Reference ¶ func Reference(client apiclient.APIClient, ctx context.Context, ref string) (string, error) Reference 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. Types ¶ This section is empty. Source Files ¶ View all Source files accept.go cmd.go demote.go inspect.go list.go opts.go promote.go remove.go tasks.go update.go Click to show internal directories. Click to hide internal directories.