Versions in this module Expand all Collapse all v0 v0.7.5 Jul 8, 2020 Changes in this version + func GenerateFile(config Config, containers Context) bool + func GetCurrentContainerID() string + func GetEndpoint(endpoint string) (string, error) + func NewDockerClient(endpoint string, tlsVerify bool, tlsCert, tlsCaCert, tlsKey string) (*docker.Client, error) + func NewGenerator(gc GeneratorConfig) (*generator, error) + func SetDockerEnv(d *docker.Env) + func SetServerInfo(d *docker.DockerInfo) + type Address struct + HostIP string + HostPort string + IP string + IP6Global string + IP6LinkLocal string + Port string + Proto string + type Config struct + Dest string + IncludeStopped bool + Interval int + KeepBlankLines bool + NotifyCmd string + NotifyContainers map[string]docker.Signal + NotifyOutput bool + OnlyExposed bool + OnlyPublished bool + Template string + Wait *Wait + Watch bool + type ConfigFile struct + Config []Config + func (c *ConfigFile) FilterWatches() ConfigFile + type Context []*RuntimeContainer + func (c *Context) Docker() Docker + func (c *Context) Env() map[string]string + type Docker struct + ApiVersion string + Architecture string + CurrentContainerID string + GoVersion string + Name string + NumContainers int + NumImages int + OperatingSystem string + Version string + type DockerContainer struct + type DockerImage struct + Registry string + Repository string + Tag string + func (i *DockerImage) String() string + type GeneratorConfig struct + All bool + ConfigFile ConfigFile + Endpoint string + TLSCACert string + TLSCert string + TLSKey string + TLSVerify bool + type Mount struct + Destination string + Driver string + Mode string + Name string + RW bool + Source string + type Network struct + EndpointID string + Gateway string + GlobalIPv6Address string + GlobalIPv6PrefixLen int + IP string + IPPrefixLen int + IPv6Gateway string + MacAddress string + Name string + type RuntimeContainer struct + Addresses []Address + Env map[string]string + Gateway string + Hostname string + ID string + IP string + IP6Global string + IP6LinkLocal string + Image DockerImage + Labels map[string]string + Mounts []Mount + Name string + Networks []Network + Node SwarmNode + State State + Volumes map[string]Volume + func (r *RuntimeContainer) Equals(o RuntimeContainer) bool + func (r *RuntimeContainer) PublishedAddresses() []Address + type State struct + Running bool + type SwarmNode struct + Address Address + ID string + Name string + type Volume struct + HostPath string + Path string + ReadWrite bool + type Wait struct + Max time.Duration + Min time.Duration + func ParseWait(s string) (*Wait, error) + func (w *Wait) UnmarshalText(text []byte) error