command

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2017 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const APIVERSION = "/v_beta"

Variables

This section is empty.

Functions

func NewCancelUpdateCommand

func NewCancelUpdateCommand() cli.Command

func NewDeleteCommand

func NewDeleteCommand() cli.Command

NewDeleteCommand returns the CLI command for "delete"

func NewInspectCommand

func NewInspectCommand() cli.Command

NewInspectCommand returns the CLI command for "show"

func NewListCommand

func NewListCommand() cli.Command

NewListCommand returns the CLI command for "list"

func NewProceedUpdateCommand

func NewProceedUpdateCommand() cli.Command

func NewRunCommand

func NewRunCommand() cli.Command

NewRunCommand returns the CLI command for "run"

func NewScaleDownCommand

func NewScaleDownCommand() cli.Command

NewScaleDownCommand returns the CLI command for "scale-down"

func NewScaleUpCommand

func NewScaleUpCommand() cli.Command

NewScaleUpCommand returns the CLI command for "scale-up"

func NewUpdateCommand

func NewUpdateCommand() cli.Command

NewUpdateCommand implement the CLI command for "update"

func UnixDialer

func UnixDialer(proto, sock string) (net.Conn, error)

Types

type Client

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

func NewHTTPClient

func NewHTTPClient(path string) *Client

func (*Client) Delete

func (c *Client) Delete() (*http.Response, error)

func (*Client) Get

func (c *Client) Get() (*http.Response, error)

func (*Client) Patch

func (c *Client) Patch(payload []byte) (*http.Response, error)

func (*Client) Post

func (c *Client) Post(payload []byte) (*http.Response, error)

func (*Client) Put

func (c *Client) Put(payload []byte) (*http.Response, error)

Jump to

Keyboard shortcuts

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