Documentation ¶
Index ¶
- type Docker
- func (d *Docker) ContainerCreate(ctx context.Context, ctrConf model.Container) (string, error)
- func (d *Docker) ContainerExec(ctx context.Context, id string, execOpt model.ExecConfig) error
- func (d *Docker) ContainerInfo(ctx context.Context, id string) (model.Container, error)
- func (d *Docker) ContainerLog(ctx context.Context, id string, logOpt model.LogFilter) (io.ReadCloser, error)
- func (d *Docker) ContainerRemove(ctx context.Context, id string, force bool) error
- func (d *Docker) ContainerRestart(ctx context.Context, id string) error
- func (d *Docker) ContainerStart(ctx context.Context, id string) error
- func (d *Docker) ContainerStop(ctx context.Context, id string) error
- func (d *Docker) ImageInfo(ctx context.Context, id string) (model.Image, error)
- func (d *Docker) ImagePull(ctx context.Context, id string) error
- func (d *Docker) ImageRemove(ctx context.Context, id string) error
- func (d *Docker) ListContainers(ctx context.Context, filter model.ContainerFilter) ([]model.Container, error)
- func (d *Docker) ListImages(ctx context.Context, filter model.ImageFilter) ([]model.Image, error)
- func (d *Docker) ListNetworks(ctx context.Context) ([]model.Network, error)
- func (d *Docker) ListVolumes(ctx context.Context, filter model.VolumeFilter) ([]model.Volume, error)
- func (d *Docker) NetworkCreate(ctx context.Context, net model.Network) (string, error)
- func (d *Docker) NetworkInfo(ctx context.Context, id string) (model.Network, error)
- func (d *Docker) NetworkRemove(ctx context.Context, id string) error
- func (d *Docker) PruneImages(ctx context.Context) error
- func (d *Docker) ServerInfo(ctx context.Context, delay time.Duration) (map[string]string, error)
- func (d *Docker) VolumeCreate(ctx context.Context, vol model.Volume) (string, error)
- func (d *Docker) VolumeInfo(ctx context.Context, id string) (model.Volume, error)
- func (d *Docker) VolumeRemove(ctx context.Context, id string, force bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Docker ¶
type Docker struct {
// contains filtered or unexported fields
}
func (*Docker) ContainerCreate ¶
func (*Docker) ContainerExec ¶ added in v0.7.0
func (*Docker) ContainerInfo ¶
func (*Docker) ContainerLog ¶
func (*Docker) ContainerRemove ¶
func (*Docker) ContainerRestart ¶
func (*Docker) ContainerStart ¶
func (*Docker) ListContainers ¶
func (*Docker) ListImages ¶
func (*Docker) ListNetworks ¶
func (*Docker) ListVolumes ¶
func (*Docker) NetworkCreate ¶
func (*Docker) NetworkInfo ¶
func (*Docker) ServerInfo ¶
func (*Docker) VolumeCreate ¶
func (*Docker) VolumeInfo ¶
Click to show internal directories.
Click to hide internal directories.