Documentation ¶
Index ¶
- func ContainerDataContainerExists(ops *def.Operation) (docker.APIContainers, bool)
- func ContainerExists(ops *def.Operation) (docker.APIContainers, bool)
- func ContainerRunning(ops *def.Operation) (docker.APIContainers, bool)
- func DockerCreateDataContainer(srvName string, containerNumber int) error
- func DockerExec(srv *def.Service, ops *def.Operation, cmd []string, interactive bool) error
- func DockerInspect(srv *def.Service, ops *def.Operation, field string) error
- func DockerLogs(srv *def.Service, ops *def.Operation, follow bool, tail string) error
- func DockerPull(srv *def.Service, ops *def.Operation) error
- func DockerRebuild(srv *def.Service, ops *def.Operation, skipPull bool, timeout uint) error
- func DockerRemove(srv *def.Service, ops *def.Operation, withData bool) error
- func DockerRename(srv *def.Service, ops *def.Operation, oldName, newName string) error
- func DockerRun(srv *def.Service, ops *def.Operation) error
- func DockerRunVolumesFromContainer(volumesFrom string, interactive bool, args []string, service *def.Service) (result []byte, err error)
- func DockerStop(srv *def.Service, ops *def.Operation, timeout uint) error
- func PrintInspectionReport(cont *docker.Container, field string) error
- func PrintLineByContainerID(containerID string) ([]string, error)
- func PrintLineByContainerName(containerName string) ([]string, error)
- func PrintPortMappings(id string, ports []string) error
- func PrintTableReport(typ string, running bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainerExists ¶
func ContainerRunning ¶
func DockerCreateDataContainer ¶
Build against Docker cli...
Client version: 1.6.2, 1.7 Client API version: 1.18, 1.19
Verified against ...
Client version: 1.6.2, 1.7 Client API version: 1.18, 1.19
func DockerExec ¶
func DockerLogs ¶
func DockerRebuild ¶
func DockerRename ¶
func DockerRunVolumesFromContainer ¶
func DockerRunVolumesFromContainer(volumesFrom string, interactive bool, args []string, service *def.Service) (result []byte, err error)
create a container with volumes-from the srvName data container and either attach interactively or execute a command container should be destroyed on exit
func PrintInspectionReport ¶
func PrintLineByContainerID ¶
func PrintPortMappings ¶ added in v0.10.2
func PrintTableReport ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.