docker: github.com/asbjornenge/docker/api/client/swarm Index | Files

package swarm

import "github.com/asbjornenge/docker/api/client/swarm"

Index

Package Files

cmd.go init.go join.go join_token.go leave.go opts.go update.go

func NewSwarmCommand Uses

func NewSwarmCommand(dockerCli *client.DockerCli) *cobra.Command

NewSwarmCommand returns a cobra command for `swarm` subcommands

type ExternalCAOption Uses

type ExternalCAOption struct {
    // contains filtered or unexported fields
}

ExternalCAOption is a Value type for parsing external CA specifications.

func (*ExternalCAOption) Set Uses

func (m *ExternalCAOption) Set(value string) error

Set parses an external CA option.

func (*ExternalCAOption) String Uses

func (m *ExternalCAOption) String() string

String returns a string repr of this option.

func (*ExternalCAOption) Type Uses

func (m *ExternalCAOption) Type() string

Type returns the type of this option.

func (*ExternalCAOption) Value Uses

func (m *ExternalCAOption) Value() []*swarm.ExternalCA

Value returns the external CAs

type NodeAddrOption Uses

type NodeAddrOption struct {
    // contains filtered or unexported fields
}

NodeAddrOption is a pflag.Value for listen and remote addresses

func NewListenAddrOption Uses

func NewListenAddrOption() NodeAddrOption

NewListenAddrOption returns a NodeAddrOption with default values

func NewNodeAddrOption Uses

func NewNodeAddrOption(addr string) NodeAddrOption

NewNodeAddrOption returns a new node address option

func (*NodeAddrOption) Set Uses

func (a *NodeAddrOption) Set(value string) error

Set the value for this flag

func (*NodeAddrOption) String Uses

func (a *NodeAddrOption) String() string

String prints the representation of this flag

func (*NodeAddrOption) Type Uses

func (a *NodeAddrOption) Type() string

Type returns the type of this flag

func (*NodeAddrOption) Value Uses

func (a *NodeAddrOption) Value() string

Value returns the value of this option as addr:port

Package swarm imports 12 packages (graph). Updated 2016-09-05. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).