Documentation ¶
Index ¶
- type Dockerd
- func (d *Dockerd) ContainerInspect(containerID string) (types.ContainerJSON, error)
- func (d *Dockerd) ContainerList() ([]types.Container, error)
- func (d *Dockerd) ContainerStart(containerID string) error
- func (d *Dockerd) ContainerStop(containerID string, timeout *time.Duration) error
- func (d *Dockerd) ImageInspect(imageID string) (types.ImageInspect, error)
- func (d *Dockerd) Info() (types.Info, error)
- func (d *Dockerd) VolumeInspect(volumeID string) (types.Volume, error)
- func (d *Dockerd) VolumeList() ([]*types.Volume, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dockerd ¶
type Dockerd struct {
// contains filtered or unexported fields
}
Dockerd is a wrapper client for docker daemon.
func (*Dockerd) ContainerInspect ¶
func (d *Dockerd) ContainerInspect(containerID string) (types.ContainerJSON, error)
ContainerInspect returns the container information.
func (*Dockerd) ContainerList ¶
ContainerList lists all containers on host.
func (*Dockerd) ContainerStart ¶
ContainerStart starts a container.
func (*Dockerd) ContainerStop ¶
ContainerStop stops a container.
func (*Dockerd) ImageInspect ¶
func (d *Dockerd) ImageInspect(imageID string) (types.ImageInspect, error)
ImageInspect returns the image information.
func (*Dockerd) VolumeInspect ¶
VolumeInspect get a volume info
Click to show internal directories.
Click to hide internal directories.