node

package
v1.12.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2016 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL