Documentation ¶
Index ¶
- Constants
- func BuildImageName(organization string, imageName string, tag string) string
- func CreateContainer(args []string) error
- func EnsureNetworkCreated() error
- func ForwardOutputToStdOut(cmd *exec.Cmd) error
- func GetAttachedVolumeName(id string) (string, error)
- func GetLatestTag(organization string, imageName string) (string, error)
- func GetNetworkSettings(alias string, imageName string) []string
- func ImageExists(imgName string) bool
- func LogContainer(container *Container) error
- func PullImage(imgName string) error
- func RemoveContainer(container *Container) error
- func RemoveVolume(name string) error
- func ResolveTag(organization string, image string, tag string) (string, error)
- func StartContainer(container *Container) error
- func StopContainer(container *Container) error
- type Container
- type Network
- type Tag
- type TagResponse
- type Volumes
Constants ¶
View Source
const NETWORK_NAME = "takeout"
Variables ¶
This section is empty.
Functions ¶
func EnsureNetworkCreated ¶
func EnsureNetworkCreated() error
func ForwardOutputToStdOut ¶
func GetAttachedVolumeName ¶
func GetNetworkSettings ¶
func ImageExists ¶
func RemoveVolume ¶
func StartContainer ¶
func StopContainer ¶
Types ¶
type Container ¶
type Container struct { Id string `json:"id"` Name string `json:"name"` Status string `json:"status"` Ports string `json:"ports"` BaseAlias string `json:"base_alias"` FullAlias string `json:"full_alias"` }
func FindContainer ¶
func TakeawayContainers ¶
type Network ¶
func GetMatchingNetworks ¶
type TagResponse ¶
Click to show internal directories.
Click to hide internal directories.