Marathon provider
This commit is contained in:
parent
4a96f19221
commit
9a840d1904
5 changed files with 156 additions and 27 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue