perform

package
v0.10.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 22, 2015 License: GPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContainerDataContainerExists

func ContainerDataContainerExists(ops *def.Operation) (docker.APIContainers, bool)

func ContainerExists

func ContainerExists(ops *def.Operation) (docker.APIContainers, bool)

func ContainerRunning

func ContainerRunning(ops *def.Operation) (docker.APIContainers, bool)

func DockerCreateDataContainer

func DockerCreateDataContainer(srvName string, containerNumber int) error

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 DockerExec(srv *def.Service, ops *def.Operation, cmd []string, interactive bool) error

func DockerInspect

func DockerInspect(srv *def.Service, ops *def.Operation, field string) error

func DockerLogs

func DockerLogs(srv *def.Service, ops *def.Operation, follow bool, tail string) error

func DockerPull

func DockerPull(srv *def.Service, ops *def.Operation) error

func DockerRebuild

func DockerRebuild(srv *def.Service, ops *def.Operation, skipPull bool, timeout uint) error

func DockerRemove

func DockerRemove(srv *def.Service, ops *def.Operation, withData bool) error

func DockerRename

func DockerRename(srv *def.Service, ops *def.Operation, oldName, newName string) error

func DockerRun

func DockerRun(srv *def.Service, ops *def.Operation) error

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 DockerStop

func DockerStop(srv *def.Service, ops *def.Operation, timeout uint) error

func PrintInspectionReport

func PrintInspectionReport(cont *docker.Container, field string) error

func PrintLineByContainerID

func PrintLineByContainerID(containerID string) ([]string, error)

func PrintLineByContainerName

func PrintLineByContainerName(containerName string) ([]string, error)

func PrintPortMappings added in v0.10.2

func PrintPortMappings(id string, ports []string) error

func PrintTableReport

func PrintTableReport(typ string, running bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL