1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

implemented docker module

This commit is contained in:
Viktor Braun (v_b)
2019-09-03 17:33:51 +02:00
parent b783e6bf78
commit 8bd0bf722c
7 changed files with 628 additions and 12 deletions

View File

@@ -12,6 +12,7 @@ import (
"github.com/wtfutil/wtf/modules/cryptoexchanges/blockfolio"
"github.com/wtfutil/wtf/modules/cryptoexchanges/cryptolive"
"github.com/wtfutil/wtf/modules/datadog"
"github.com/wtfutil/wtf/modules/docker"
"github.com/wtfutil/wtf/modules/feedreader"
"github.com/wtfutil/wtf/modules/gcal"
"github.com/wtfutil/wtf/modules/gerrit"
@@ -104,6 +105,9 @@ func MakeWidget(
case "datadog":
settings := datadog.NewSettingsFromYAML(moduleName, moduleConfig, config)
widget = datadog.NewWidget(app, pages, settings)
case "docker":
settings := docker.NewSettingsFromYAML(moduleName, moduleConfig, config)
widget = docker.NewWidget(app, pages, settings)
case "feedreader":
settings := feedreader.NewSettingsFromYAML(moduleName, moduleConfig, config)
widget = feedreader.NewWidget(app, pages, settings)