client

package
v0.0.0-...-2677422 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2016 License: Apache-2.0 Imports: 39 Imported by: 0

Documentation

Overview

Code generated because docker has made most of the methods of docker api client not publicly available.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrConnectionRefused = errors.New("Cannot connect to the Krane daemon. Is 'krane -d' running on this host?")
)

Functions

This section is empty.

Types

type CreateShip

type CreateShip struct {
	Fqdn string
	Plan string
}

type KraneCli

type KraneCli struct {
	client.DockerCli
	// contains filtered or unexported fields
}

func NewKraneCli

func NewKraneCli(in io.ReadCloser, out, err io.Writer, key libtrust.PrivateKey, proto, addr string, tlsConfig *tls.Config) *KraneCli

func (*KraneCli) Cmd

func (cli *KraneCli) Cmd(args ...string) error

Cmd executes the specified command

func (*KraneCli) CmdCommission

func (cli *KraneCli) CmdCommission(args ...string) error

func (*KraneCli) CmdDecomission

func (cli *KraneCli) CmdDecomission(args ...string) error

func (*KraneCli) CmdHelp

func (cli *KraneCli) CmdHelp(args ...string) error

func (*KraneCli) CmdPlans

func (cli *KraneCli) CmdPlans(args ...string) error

func (*KraneCli) CmdPs

func (cli *KraneCli) CmdPs(args ...string) error

func (*KraneCli) CmdRun

func (cli *KraneCli) CmdRun(args ...string) error

func (*KraneCli) CmdShips

func (cli *KraneCli) CmdShips(args ...string) error

func (*KraneCli) Subcmd

func (cli *KraneCli) Subcmd(name, signature, description string) *flag.FlagSet

Jump to

Keyboard shortcuts

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