Versions in this module Expand all Collapse all v1 v1.0.0 Mar 17, 2017 Changes in this version + var ErrContainerHostAddrNotDefined = errors.New("container host address was not defined") + var ErrNoContainerName = errors.New("container name was not defined") + var ErrNoServiceName = errors.New("service name was not defined") + var ErrNoSpecificHostDefined = errors.New("no host defined for container of service") + var ErrPortNotDefined = errors.New("port env not defined") + type Config struct + Name string + Services map[string]Service + Ships map[string]Ships + func (c *Config) ShipsForService(name string) []string + type EnvVal interface + type Instance struct + Ports map[string]Port + Ship string + func ArbitraryInstance(m map[string]Instance) Instance + type LoadError struct + func (l *LoadError) Error() string + type Loader struct + ExecFunc func(name string, stdin string, args ...string) (string, string, error) + PythonLocation string + func (l *Loader) Load(filename string) (*Config, error) + type Maestro struct + func New(osGetenv func(string) string) *Maestro + func (m *Maestro) GetContainerHostAddress() (string, error) + func (m *Maestro) GetContainerName() (string, error) + func (m *Maestro) GetEnvironmentName() string + func (m *Maestro) GetNodeList(service string, ports []string) []string + func (m *Maestro) GetPort(name string) (uint16, error) + func (m *Maestro) GetServiceName() (string, error) + func (m *Maestro) GetSpecificExposedPort(service string, container string, port string) (uint16, error) + func (m *Maestro) GetSpecificHost(service string, container string) (string, error) + func (m *Maestro) GetSpecificPort(service string, container string, port string) (uint16, error) + type Port interface + type Service struct + Env map[string]EnvVal + Instances map[string]Instance + type Ships struct + IP string