docker

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2016 License: Apache-2.0 Imports: 38 Imported by: 0

README

Introduce

  • The files in this directory is used to contact with docker deamon;

  • While getting the data from the docker daemon, it will send it to Hyper daemon;

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init added in v0.5.0

func Init(mirrors []string, insecureRegistries []string)

Types

type Docker added in v0.5.0

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

func NewDocker added in v0.5.0

func NewDocker() (*Docker, error)

func (*Docker) GetContainerInfo added in v0.5.0

func (cli *Docker) GetContainerInfo(args ...string) (*types.ContainerJSON, error)

func (Docker) SendCmdAuth added in v0.5.0

func (cli Docker) SendCmdAuth(body io.ReadCloser) (string, error)

func (Docker) SendCmdCreate added in v0.5.0

func (cli Docker) SendCmdCreate(name, image string, entrypoint, cmds []string, userConfig interface{}) ([]byte, int, error)

func (*Docker) SendCmdDelete added in v0.5.0

func (cli *Docker) SendCmdDelete(args ...string) ([]byte, int, error)

func (Docker) SendCmdImages added in v0.5.0

func (cli Docker) SendCmdImages(all string) ([]*types.Image, error)

func (*Docker) SendCmdInfo added in v0.5.0

func (cli *Docker) SendCmdInfo(args ...string) (*types.Info, error)

func (Docker) SendCmdPull added in v0.5.0

func (cli Docker) SendCmdPull(image string, imagePullConfig *graph.ImagePullConfig) ([]byte, int, error)

func (Docker) SendCmdPush added in v0.5.0

func (cli Docker) SendCmdPush(remote string, imagePushConfig *graph.ImagePushConfig) error

func (Docker) SendContainerCommit added in v0.5.0

func (cli Docker) SendContainerCommit(args ...string) ([]byte, int, error)

func (Docker) SendContainerRename added in v0.5.0

func (cli Docker) SendContainerRename(oldName, newName string) error

func (Docker) SendImageBuild added in v0.5.0

func (cli Docker) SendImageBuild(name string, size int, ctx io.ReadCloser) ([]byte, int, error)

func (Docker) SendImageDelete added in v0.5.0

func (cli Docker) SendImageDelete(args ...string) ([]types.ImageDelete, error)

func (Docker) Setup added in v0.5.0

func (cli Docker) Setup() error

func (Docker) Shutdown added in v0.5.0

func (cli Docker) Shutdown() error

Jump to

Keyboard shortcuts

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