Documentation ¶ Index ¶ func NewNodeCommand(dockerCli *command.DockerCli) *cobra.Command func Reference(ctx context.Context, client apiclient.APIClient, ref string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewNodeCommand ¶ func NewNodeCommand(dockerCli *command.DockerCli) *cobra.Command NewNodeCommand returns a cobra command for `node` subcommands func Reference ¶ func Reference(ctx context.Context, client apiclient.APIClient, 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 cmd.godemote.goinspect.golist.goopts.gopromote.gops.goremove.goupdate.go Click to show internal directories. Click to hide internal directories.