Versions in this module Expand all Collapse all v0 v0.2.0 Apr 14, 2016 Changes in this version + const ComposeVersion + const NUMBER + const ONEOFF + const VERSION + type ConfigWrapper struct + Config *container.Config + HostConfig *container.HostConfig + NetworkingConfig *network.NetworkingConfig type Container + func (c *Container) CreateWithOverride(imageName string, configOverride *config.ServiceConfig) (*types.Container, error) + func (c *Container) Run(imageName string, configOverride *config.ServiceConfig) (int, error) + func (c *Container) Start(container *types.Container) error + func (c *Container) Stop() error type Service + func (s *Service) Run(commandParts []string) (int, error) + func (s *Service) Stop() error v0.1.0 Feb 2, 2016 Changes in this version + const DefaultAPIVersion + const DefaultDockerfileName + const DefaultTag + const HASH + const NAME + const PROJECT + const SERVICE + func And(left, right map[string][]string) map[string][]string + func AndString(left, right string) string + func Convert(c *project.ServiceConfig, ctx *Context) (*dockerclient.Config, *dockerclient.HostConfig, error) + func ConvertToAPI(s *Service, name string) (*dockerclient.CreateContainerOptions, error) + func CreateClient(c ClientOpts) (*dockerclient.Client, error) + func CreateTar(p *project.Project, name string) (io.ReadCloser, error) + func Filter(vs []string, f func(string) bool) []string + func GetContainerByID(client *dockerclient.Client, id string) (*dockerclient.APIContainers, error) + func GetContainerByName(client *dockerclient.Client, name string) (*dockerclient.APIContainers, error) + func GetContainersByFilter(client *dockerclient.Client, filters ...map[string][]string) ([]dockerclient.APIContainers, error) + func NewProject(context *Context) (*project.Project, error) + type Builder interface + Build func(imageName string, p *project.Project, service project.Service) error + type ClientFactory interface + Create func(service project.Service) *dockerclient.Client + func NewDefaultClientFactory(opts ClientOpts) (ClientFactory, error) + type ClientOpts struct + APIVersion string + Host string + TLS bool + TLSOptions tlsconfig.Options + TLSVerify bool + TrustKey string + type Container struct + func NewContainer(client *dockerclient.Client, name string, service *Service) *Container + func (c *Container) Create(imageName string) (*dockerclient.APIContainers, error) + func (c *Container) Delete() error + func (c *Container) Down() error + func (c *Container) ID() (string, error) + func (c *Container) Info(qFlag bool) (project.Info, error) + func (c *Container) IsRunning() (bool, error) + func (c *Container) Kill() error + func (c *Container) Log() error + func (c *Container) Name() string + func (c *Container) OutOfSync(imageName string) (bool, error) + func (c *Container) Pause() error + func (c *Container) Port(port string) (string, error) + func (c *Container) Pull() error + func (c *Container) Recreate(imageName string) (*dockerclient.APIContainers, error) + func (c *Container) Restart() error + func (c *Container) Unpause() error + func (c *Container) Up(imageName string) error + type Context struct + Builder Builder + ClientFactory ClientFactory + ConfigDir string + ConfigFile *cliconfig.ConfigFile + func (c *Context) LookupConfig() error + type DaemonBuilder struct + func NewDaemonBuilder(context *Context) *DaemonBuilder + func (d *DaemonBuilder) Build(imageName string, p *project.Project, service project.Service) error + type Label string + func (f Label) Eq(value string) map[string][]string + func (f Label) EqString(value string) string + func (f Label) Str() string + type Namer interface + Next func() string + func NewNamer(client *dockerclient.Client, project, service string) Namer + func NewSingleNamer(name string) Namer + type Service struct + func NewService(name string, serviceConfig *project.ServiceConfig, context *Context) *Service + func (s *Service) Build() error + func (s *Service) Config() *project.ServiceConfig + func (s *Service) Containers() ([]project.Container, error) + func (s *Service) Create() error + func (s *Service) Delete() error + func (s *Service) DependentServices() []project.ServiceRelationship + func (s *Service) Down() error + func (s *Service) Info(qFlag bool) (project.InfoSet, error) + func (s *Service) Kill() error + func (s *Service) Log() error + func (s *Service) Name() string + func (s *Service) Pause() error + func (s *Service) Pull() error + func (s *Service) Restart() error + func (s *Service) Scale(scale int) error + func (s *Service) Start() error + func (s *Service) Unpause() error + func (s *Service) Up() error + type ServiceFactory struct + func (s *ServiceFactory) Create(project *project.Project, name string, serviceConfig *project.ServiceConfig) (project.Service, error)