client

package
v0.0.0-...-ea18c7c Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2018 License: MPL-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Tar

func Tar(buildDir string) (io.Reader, error)

Tar ...

Types

type BuildOutput

type BuildOutput struct {
	Stream string `json:"stream"`
}

BuildOutput : represents build output from a build stream

func ProcessOutput

func ProcessOutput(data []byte) *BuildOutput

ProcessOutput : gets output values from a build stream

type Client

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

Client ...

func New

func New(host, reg string) (*Client, error)

New ...

func (*Client) BuildImage

func (c *Client) BuildImage(name, path string) (io.ReadCloser, error)

BuildImage ...

func (*Client) DeleteImage

func (c *Client) DeleteImage(image string) error

DeleteImage ...

func (*Client) HasImage

func (c *Client) HasImage(image string) (bool, error)

HasImage ...

func (*Client) Login

func (c *Client) Login(username, password string) error

Login ...

func (*Client) PushImage

func (c *Client) PushImage(image string) (io.ReadCloser, error)

PushImage ...

Jump to

Keyboard shortcuts

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