Versions in this module Expand all Collapse all v1 v1.4.1 Nov 28, 2016 v1.4.0 Nov 25, 2016 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 + RunningTasks int + Tasks []Task + type AppList struct + Apps []App + type AppListClient func(client *http.Client, url string) (*AppList, error) + type Container struct + Docker DockerContainer + type Discovery struct + func NewDiscovery(conf *config.MarathonSDConfig) (*Discovery, error) + func (md *Discovery) Run(ctx context.Context, ch chan<- []*config.TargetGroup) + type DockerContainer struct + Image string + type Task struct + Host string + ID string + Ports []uint32