1
0
Fork 0

Marathon provider

This commit is contained in:
emile 2015-09-09 22:39:08 +02:00
parent 4a96f19221
commit 9a840d1904
5 changed files with 156 additions and 27 deletions

View file

@ -23,6 +23,7 @@ type FileConfiguration struct {
Docker *DockerProvider
File *FileProvider
Web *WebProvider
Marathon *MarathonProvider
}
var srv *graceful.Server
@ -58,6 +59,10 @@ func main() {
providers = append(providers, configuration.Docker)
}
if (configuration.Marathon != nil) {
providers = append(providers, configuration.Marathon)
}
if (configuration.File != nil) {
if (len(configuration.File.Filename) == 0) {
// no filename, setting to global config file