app

package
v0.0.0-...-eb56cda Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2017 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const Template = `` /* 1644-byte string literal not displayed */

Template for docker compose

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App interface {
	Up() error
	Down() error
	Remove() error
	Log(follow bool) error
	Port() string
}

App interface

func New

func New() (App, error)

New to create application

type Configuration

type Configuration struct {
	Services []*Service
	Volumes  []string
	Networks []string
}

Configuration struct

type Container

type Container interface {
	Name() string
	Created() bool
	Running() bool
}

Container interface

type Service

type Service struct {
	Name        string
	Image       string
	Version     string
	DependsOn   []string
	Volumes     map[string]string
	Environment map[string]string
	Ports       map[uint]uint
	Links       map[string]string
	Networks    []string
}

Service struct

Jump to

Keyboard shortcuts

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