Documentation ¶
Index ¶
- type ContainerAttachOpts
- type ContainerCreateOpts
- type ContainerInfo
- type ContainerLogsOpts
- type DockerClient
- func (client *DockerClient) Close() error
- func (client *DockerClient) ContainerAttach(opts *ContainerAttachOpts) error
- func (client *DockerClient) ContainerCreate(opts *ContainerCreateOpts) (string, error)
- func (client *DockerClient) ContainerList(namePrefix string) ([]ContainerInfo, error)
- func (client *DockerClient) ContainerLogs(opts *ContainerLogsOpts) error
- func (client *DockerClient) ContainerRemove(containerId string) error
- func (client *DockerClient) ImagePull(opts *ImagePullOpts) error
- func (client *DockerClient) ImageRemoveDangling(opts *ImageRemoveOpts) error
- func (client *DockerClient) NetworkUpsert(networkName string) (string, error)
- type ImagePullOpts
- type ImageRemoveOpts
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContainerAttachOpts ¶
type ContainerCreateOpts ¶
type ContainerCreateOpts struct { ContainerName string ContainerConfig *container.Config HostConfig *container.HostConfig NetworkingConfig *network.NetworkingConfig }
type ContainerInfo ¶
type ContainerLogsOpts ¶
type DockerClient ¶
type DockerClient struct {
// contains filtered or unexported fields
}
func NewDockerClient ¶
func NewDockerClient() (*DockerClient, error)
func (*DockerClient) Close ¶
func (client *DockerClient) Close() error
func (*DockerClient) ContainerAttach ¶
func (client *DockerClient) ContainerAttach(opts *ContainerAttachOpts) error
func (*DockerClient) ContainerCreate ¶
func (client *DockerClient) ContainerCreate(opts *ContainerCreateOpts) (string, error)
func (*DockerClient) ContainerList ¶
func (client *DockerClient) ContainerList(namePrefix string) ([]ContainerInfo, error)
func (*DockerClient) ContainerLogs ¶
func (client *DockerClient) ContainerLogs(opts *ContainerLogsOpts) error
func (*DockerClient) ContainerRemove ¶
func (client *DockerClient) ContainerRemove(containerId string) error
func (*DockerClient) ImagePull ¶
func (client *DockerClient) ImagePull(opts *ImagePullOpts) error
func (*DockerClient) ImageRemoveDangling ¶
func (client *DockerClient) ImageRemoveDangling(opts *ImageRemoveOpts) error
func (*DockerClient) NetworkUpsert ¶ added in v0.7.0
func (client *DockerClient) NetworkUpsert(networkName string) (string, error)
type ImagePullOpts ¶
type ImagePullOpts struct { ImageName string OnImagePullCallback func() }
type ImageRemoveOpts ¶
Click to show internal directories.
Click to hide internal directories.