Versions in this module Expand all Collapse all v0 v0.5.5 Jan 7, 2016 Changes in this version + var ErrConnectionFailed = errors.New(...) + func IsErrContainerNotFound(err error) bool + func IsErrImageNotFound(err error) bool + func IsErrNetworkNotFound(err error) bool + func IsErrUnauthorized(err error) bool + func IsErrVolumeNotFound(err error) bool + type Client struct + func NewClient(host string, version string, transport *http.Transport, ...) (*Client, error) + func NewEnvClient() (*Client, error) + func (cli *Client) ClientVersion() string + func (cli *Client) ContainerAttach(options types.ContainerAttachOptions) (types.HijackedResponse, error) + func (cli *Client) ContainerCommit(options types.ContainerCommitOptions) (types.ContainerCommitResponse, error) + func (cli *Client) ContainerCreate(config *container.Config, hostConfig *container.HostConfig, ...) (types.ContainerCreateResponse, error) + func (cli *Client) ContainerDiff(containerID string) ([]types.ContainerChange, error) + func (cli *Client) ContainerExecAttach(execID string, config types.ExecConfig) (types.HijackedResponse, error) + func (cli *Client) ContainerExecCreate(config types.ExecConfig) (types.ContainerExecCreateResponse, error) + func (cli *Client) ContainerExecInspect(execID string) (types.ContainerExecInspect, error) + func (cli *Client) ContainerExecResize(options types.ResizeOptions) error + func (cli *Client) ContainerExecStart(execID string, config types.ExecStartCheck) error + func (cli *Client) ContainerExport(containerID string) (io.ReadCloser, error) + func (cli *Client) ContainerInspect(containerID string) (types.ContainerJSON, error) + func (cli *Client) ContainerInspectWithRaw(containerID string, getSize bool) (types.ContainerJSON, []byte, error) + func (cli *Client) ContainerKill(containerID, signal string) error + func (cli *Client) ContainerList(options types.ContainerListOptions) ([]types.Container, error) + func (cli *Client) ContainerLogs(options types.ContainerLogsOptions) (io.ReadCloser, error) + func (cli *Client) ContainerPause(containerID string) error + func (cli *Client) ContainerRemove(options types.ContainerRemoveOptions) error + func (cli *Client) ContainerRename(containerID, newContainerName string) error + func (cli *Client) ContainerResize(options types.ResizeOptions) error + func (cli *Client) ContainerRestart(containerID string, timeout int) error + func (cli *Client) ContainerStart(containerID string) error + func (cli *Client) ContainerStatPath(containerID, path string) (types.ContainerPathStat, error) + func (cli *Client) ContainerStats(containerID string, stream bool) (io.ReadCloser, error) + func (cli *Client) ContainerStop(containerID string, timeout int) error + func (cli *Client) ContainerTop(containerID string, arguments []string) (types.ContainerProcessList, error) + func (cli *Client) ContainerUnpause(containerID string) error + func (cli *Client) ContainerUpdate(containerID string, hostConfig container.HostConfig) error + func (cli *Client) ContainerWait(containerID string) (int, error) + func (cli *Client) CopyFromContainer(containerID, srcPath string) (io.ReadCloser, types.ContainerPathStat, error) + func (cli *Client) CopyToContainer(options types.CopyToContainerOptions) error + func (cli *Client) Events(options types.EventsOptions) (io.ReadCloser, error) + func (cli *Client) ImageBuild(options types.ImageBuildOptions) (types.ImageBuildResponse, error) + func (cli *Client) ImageCreate(options types.ImageCreateOptions) (io.ReadCloser, error) + func (cli *Client) ImageHistory(imageID string) ([]types.ImageHistory, error) + func (cli *Client) ImageImport(options types.ImageImportOptions) (io.ReadCloser, error) + func (cli *Client) ImageInspectWithRaw(imageID string, getSize bool) (types.ImageInspect, []byte, error) + func (cli *Client) ImageList(options types.ImageListOptions) ([]types.Image, error) + func (cli *Client) ImageLoad(input io.Reader) (types.ImageLoadResponse, error) + func (cli *Client) ImagePull(options types.ImagePullOptions, privilegeFunc RequestPrivilegeFunc) (io.ReadCloser, error) + func (cli *Client) ImagePush(options types.ImagePushOptions, privilegeFunc RequestPrivilegeFunc) (io.ReadCloser, error) + func (cli *Client) ImageRemove(options types.ImageRemoveOptions) ([]types.ImageDelete, error) + func (cli *Client) ImageSave(imageIDs []string) (io.ReadCloser, error) + func (cli *Client) ImageSearch(options types.ImageSearchOptions, privilegeFunc RequestPrivilegeFunc) ([]registry.SearchResult, error) + func (cli *Client) ImageTag(options types.ImageTagOptions) error + func (cli *Client) Info() (types.Info, error) + func (cli *Client) NetworkConnect(networkID, containerID string) error + func (cli *Client) NetworkCreate(options types.NetworkCreate) (types.NetworkCreateResponse, error) + func (cli *Client) NetworkDisconnect(networkID, containerID string) error + func (cli *Client) NetworkInspect(networkID string) (types.NetworkResource, error) + func (cli *Client) NetworkList(options types.NetworkListOptions) ([]types.NetworkResource, error) + func (cli *Client) NetworkRemove(networkID string) error + func (cli *Client) RegistryLogin(auth types.AuthConfig) (types.AuthResponse, error) + func (cli *Client) ServerVersion() (types.Version, error) + func (cli *Client) VolumeCreate(options types.VolumeCreateRequest) (types.Volume, error) + func (cli *Client) VolumeInspect(volumeID string) (types.Volume, error) + func (cli *Client) VolumeList(filter filters.Args) (types.VolumesListResponse, error) + func (cli *Client) VolumeRemove(volumeID string) error + type RequestPrivilegeFunc func() (string, error)