Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type IContainers ¶
type IContainers interface { Down() error Log() error Up() error Build() error Stop() error LogService(service string) error LogServiceWithHandler(service string, output io.Writer) error }
func Create ¶
func Create() IContainers
func CreateFile ¶
func CreateFile(path string) IContainers
type Service ¶
type Service struct { Image string `yaml:"image,omitempty"` Build string `yaml:"build,omitempty"` Command string `yaml:"command,omitempty"` Environment []string `yaml:"environment,omitempty"` Volumes []string `yaml:"volumes,omitempty"` DependsOn []string `yaml:"depends_on,omitempty"` Ports []string `yaml:"ports,omitempty"` NetworkMode string `yaml:"network_mode,omitempty"` Networks []string `yaml:"networks,omitempty"` Links []string `yaml:"links,omitempty"` Expose []string `yaml:"expose,omitempty"` Scale int `yaml:"scale,omitempty"` }
Click to show internal directories.
Click to hide internal directories.