Versions in this module Expand all Collapse all v1 v1.8.2 Nov 4, 2017 Changes in this version + func AppsToTargetGroups(apps *AppList) map[string]*config.TargetGroup + func RandomAppsURL(servers []string) string + type App struct + Container Container + ID string + Labels map[string]string + PortDefinitions []PortDefinitions + RunningTasks int + Tasks []Task + type AppList struct + Apps []App + type AppListClient func(client *http.Client, url, token string) (*AppList, error) + type Container struct + Docker DockerContainer + type Discovery struct + func NewDiscovery(conf *config.MarathonSDConfig, logger log.Logger) (*Discovery, error) + func (d *Discovery) Run(ctx context.Context, ch chan<- []*config.TargetGroup) + type DockerContainer struct + Image string + PortMappings []PortMappings + type PortDefinitions struct + Labels map[string]string + type PortMappings struct + Labels map[string]string + type Task struct + Host string + ID string + Ports []uint32