Documentation
¶
Index ¶
- Constants
- Variables
- func ContainerCreate(c string) (types.IDResponse, error)
- func ContainerInfo(id string) (types.ContainerJSON, error)
- func ContainerKill(id string) error
- func ContainerList() ([]types.Container, error)
- func ContainerLogs(id string) (io.ReadCloser, error)
- func ContainerRemove(id string) error
- func ContainerRename(id string, name string) error
- func ContainerRestart(id string) error
- func ContainerStart(id string) error
- func ContainerStop(id string) error
- func ImageInfo(id string) (types.ImageInspect, error)
- func ImageList() ([]types.ImageSummary, error)
- func ImagePull(ref string) (io.ReadCloser, error)
- func ImageRemove(id string) ([]types.ImageDeleteResponseItem, error)
- func InitDockerClient()
Constants ¶
View Source
const (
DockerManager = "[DockerManager]"
)
Variables ¶
View Source
var DockerCli *docker.Client
Functions ¶
func ContainerCreate ¶
func ContainerCreate(c string) (types.IDResponse, error)
func ContainerInfo ¶
func ContainerInfo(id string) (types.ContainerJSON, error)
func ContainerKill ¶
func ContainerLogs ¶
func ContainerLogs(id string) (io.ReadCloser, error)
func ContainerRemove ¶
func ContainerRename ¶
func ContainerRestart ¶
func ContainerStart ¶
func ContainerStop ¶
func ImageRemove ¶
func ImageRemove(id string) ([]types.ImageDeleteResponseItem, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.