Documentation ¶
Index ¶
- type ContainerCreateParam
- type DockerClient
- func (dc *DockerClient) ContainerAttach(containerID string) (types.HijackedResponse, error)
- func (dc *DockerClient) ContainerCreate(rq *ContainerCreateParam) (string, error)
- func (dc *DockerClient) ContainerExecInteractive(containerID string, cmd []string) (types.HijackedResponse, error)
- func (dc *DockerClient) ContainerInspect(containerID string) (types.ContainerJSON, error)
- func (dc *DockerClient) ContainerList() ([]types.Container, error)
- func (dc *DockerClient) ContainerLogs(containerID string) (io.ReadCloser, error)
- func (dc *DockerClient) ContainerRemove(containerID string) error
- func (dc *DockerClient) ContainerSearch(containerName string) ([]types.Container, error)
- func (dc *DockerClient) ContainerStart(containerID string) error
- func (dc *DockerClient) ContainerStats(containerID string) (types.ContainerStats, error)
- func (dc *DockerClient) ContainerStop(containerID string) error
- func (dc *DockerClient) ContainerTop(containerID string) (container.ContainerTopOKBody, error)
- func (dc *DockerClient) ImageHistory(imageName string) ([]image.HistoryResponseItem, error)
- func (dc *DockerClient) ImageInspect(imageName string) (types.ImageInspect, error)
- func (dc *DockerClient) ImageList() ([]types.ImageSummary, error)
- func (dc *DockerClient) ImagePrune() error
- func (dc *DockerClient) ImagePull(rq *ImagePullParam) (io.ReadCloser, error)
- func (dc *DockerClient) ImageRemove(imageName string) error
- func (dc *DockerClient) ImageSearch(imageName string) ([]registry.SearchResult, error)
- func (dc *DockerClient) ImageTag(imageName, tag string) error
- func (dc *DockerClient) NetworkConnect(networkID, containerID string) error
- func (dc *DockerClient) NetworkCreate(name string, rq *types.NetworkCreate) (string, error)
- func (dc *DockerClient) NetworkDisconnect(networkID, containerID string) error
- func (dc *DockerClient) NetworkInspect(networkID string) (types.NetworkResource, error)
- func (dc *DockerClient) NetworkList() ([]types.NetworkResource, error)
- func (dc *DockerClient) NetworkRemove(networkID string) error
- func (dc *DockerClient) NetworkSearch(networkName string) ([]types.NetworkResource, error)
- func (dc *DockerClient) NetworkSearchContainer(networkID string) ([]types.Container, error)
- type ImagePullParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerCreateParam ¶
type DockerClient ¶
func (*DockerClient) ContainerAttach ¶
func (dc *DockerClient) ContainerAttach(containerID string) (types.HijackedResponse, error)
func (*DockerClient) ContainerCreate ¶
func (dc *DockerClient) ContainerCreate(rq *ContainerCreateParam) (string, error)
func (*DockerClient) ContainerExecInteractive ¶
func (dc *DockerClient) ContainerExecInteractive(containerID string, cmd []string) (types.HijackedResponse, error)
func (*DockerClient) ContainerInspect ¶
func (dc *DockerClient) ContainerInspect(containerID string) (types.ContainerJSON, error)
func (*DockerClient) ContainerList ¶
func (dc *DockerClient) ContainerList() ([]types.Container, error)
func (*DockerClient) ContainerLogs ¶
func (dc *DockerClient) ContainerLogs(containerID string) (io.ReadCloser, error)
func (*DockerClient) ContainerRemove ¶
func (dc *DockerClient) ContainerRemove(containerID string) error
func (*DockerClient) ContainerSearch ¶
func (dc *DockerClient) ContainerSearch(containerName string) ([]types.Container, error)
func (*DockerClient) ContainerStart ¶
func (dc *DockerClient) ContainerStart(containerID string) error
func (*DockerClient) ContainerStats ¶
func (dc *DockerClient) ContainerStats(containerID string) (types.ContainerStats, error)
func (*DockerClient) ContainerStop ¶
func (dc *DockerClient) ContainerStop(containerID string) error
func (*DockerClient) ContainerTop ¶
func (dc *DockerClient) ContainerTop(containerID string) (container.ContainerTopOKBody, error)
func (*DockerClient) ImageHistory ¶
func (dc *DockerClient) ImageHistory(imageName string) ([]image.HistoryResponseItem, error)
func (*DockerClient) ImageInspect ¶
func (dc *DockerClient) ImageInspect(imageName string) (types.ImageInspect, error)
func (*DockerClient) ImageList ¶
func (dc *DockerClient) ImageList() ([]types.ImageSummary, error)
func (*DockerClient) ImagePrune ¶
func (dc *DockerClient) ImagePrune() error
func (*DockerClient) ImagePull ¶
func (dc *DockerClient) ImagePull(rq *ImagePullParam) (io.ReadCloser, error)
func (*DockerClient) ImageRemove ¶
func (dc *DockerClient) ImageRemove(imageName string) error
func (*DockerClient) ImageSearch ¶
func (dc *DockerClient) ImageSearch(imageName string) ([]registry.SearchResult, error)
func (*DockerClient) ImageTag ¶
func (dc *DockerClient) ImageTag(imageName, tag string) error
func (*DockerClient) NetworkConnect ¶
func (dc *DockerClient) NetworkConnect(networkID, containerID string) error
func (*DockerClient) NetworkCreate ¶
func (dc *DockerClient) NetworkCreate(name string, rq *types.NetworkCreate) (string, error)
func (*DockerClient) NetworkDisconnect ¶
func (dc *DockerClient) NetworkDisconnect(networkID, containerID string) error
func (*DockerClient) NetworkInspect ¶
func (dc *DockerClient) NetworkInspect(networkID string) (types.NetworkResource, error)
func (*DockerClient) NetworkList ¶
func (dc *DockerClient) NetworkList() ([]types.NetworkResource, error)
func (*DockerClient) NetworkRemove ¶
func (dc *DockerClient) NetworkRemove(networkID string) error
func (*DockerClient) NetworkSearch ¶
func (dc *DockerClient) NetworkSearch(networkName string) ([]types.NetworkResource, error)
func (*DockerClient) NetworkSearchContainer ¶
func (dc *DockerClient) NetworkSearchContainer(networkID string) ([]types.Container, error)
type ImagePullParam ¶
Click to show internal directories.
Click to hide internal directories.