Versions in this module Expand all Collapse all v0 v0.6.0 May 25, 2016 Changes in this version + var ErrConnectionRefused = errors.New("Cannot connect to the Hyper daemon. Is 'hyperd' running on this host?") + type APIInterface interface + Attach func(container, termTag string, tty bool, stdin io.ReadCloser, ...) error + Build func(name string, hasBody bool, body io.Reader) (io.ReadCloser, string, error) + Commit func(container, repo, author, message string, changes []string, pause bool) (string, error) + ContainerLogs func(container, since string, timestamp, follow bool, tail string) (io.ReadCloser, string, error) + CreatePod func(spec interface{}) (string, int, error) + CreateVm func(cpu, mem int, async bool) (id string, err error) + Exec func(container, tag string, command []byte, tty bool, stdin io.ReadCloser, ...) error + GetContainerByPod func(podId string) (string, error) + GetContainerInfo func(container string) (*types.ContainerInfo, error) + GetExitCode func(container, tag string) error + GetImages func(all, quiet bool) (*engine.Env, error) + GetPodInfo func(podName string) (*types.PodInfo, error) + Info func() (*engine.Env, error) + KillContainer func(container string, sig int) error + KillPod func(pod string, sig int) error + List func(item, pod, vm string, aux bool) (*engine.Env, error) + Load func(body io.Reader) (io.ReadCloser, string, error) + Login func(auth dockertypes.AuthConfig, response *dockertypes.AuthResponse) (remove bool, err error) + PausePod func(podId string) error + Pull func(image string, authConfig dockertypes.AuthConfig) (io.ReadCloser, string, int, error) + Push func(tag, repo string, authConfig dockertypes.AuthConfig) (io.ReadCloser, string, int, error) + RemoveImage func(image string, noprune, force bool) (*engine.Env, error) + RmPod func(id string) error + RmVm func(vm string) (err error) + StartPod func(podId, vmId, tag string, tty bool, stdin io.ReadCloser, ...) (string, error) + StopPod func(podId, stopVm string) (int, string, error) + UnpausePod func(podId string) error + WinResize func(id, tag string, height, width int) error + type Client struct + func NewClient(proto, addr string, tlsConfig *tls.Config) *Client + func (cli *Client) Attach(container, termTag string, tty bool, stdin io.ReadCloser, ...) error + func (cli *Client) AuthHeader(orig map[string][]string, auth types.AuthConfig) (map[string][]string, error) + func (cli *Client) Build(name string, hasBody bool, body io.Reader) (io.ReadCloser, string, error) + func (cli *Client) Commit(container, repo, author, message string, changes []string, pause bool) (string, error) + func (cli *Client) ContainerLogs(container, since string, timestamp, follow bool, tail string) (io.ReadCloser, string, error) + func (cli *Client) CreatePod(spec interface{}) (string, int, error) + func (cli *Client) CreateVm(cpu, mem int, async bool) (id string, err error) + func (cli *Client) Exec(container, tag string, command []byte, tty bool, stdin io.ReadCloser, ...) error + func (cli *Client) GetContainerByPod(podId string) (string, error) + func (cli *Client) GetContainerInfo(container string) (*types.ContainerInfo, error) + func (cli *Client) GetExitCode(container, tag string) error + func (cli *Client) GetImages(all, quiet bool) (*engine.Env, error) + func (cli *Client) GetPodInfo(podName string) (*types.PodInfo, error) + func (cli *Client) HTTPClient() *http.Client + func (cli *Client) Info() (*engine.Env, error) + func (cli *Client) KillContainer(container string, sig int) error + func (cli *Client) KillPod(pod string, sig int) error + func (cli *Client) List(item, pod, vm string, aux bool) (*engine.Env, error) + func (cli *Client) Load(body io.Reader) (io.ReadCloser, string, error) + func (cli *Client) Login(auth types.AuthConfig, response *types.AuthResponse) (remove bool, err error) + func (cli *Client) PausePod(podId string) error + func (cli *Client) Pull(image string, authConfig types.AuthConfig) (io.ReadCloser, string, int, error) + func (cli *Client) Push(tag, repo string, authConfig types.AuthConfig) (io.ReadCloser, string, int, error) + func (cli *Client) RemoveImage(image string, noprune, force bool) (*engine.Env, error) + func (cli *Client) RmPod(id string) error + func (cli *Client) RmVm(vm string) (err error) + func (cli *Client) StartPod(podId, vmId, tag string, tty bool, stdin io.ReadCloser, ...) (string, error) + func (cli *Client) StopPod(podId, stopVm string) (int, string, error) + func (cli *Client) UnpausePod(podId string) error + func (cli *Client) WinResize(id, tag string, height, width int) error + type StatusError struct + Status string + StatusCode int + func (e StatusError) Error() string