use configmap to store log output configs

Signed-off-by: huanggze <loganhuang@yunify.com>
This commit is contained in:
huanggze
2019-03-26 23:06:09 +08:00
parent 8edf1ca7b8
commit 74325fa81b
9 changed files with 172 additions and 148 deletions

View File

@@ -72,9 +72,9 @@ type Plugin struct {
// Fluent-bit output plugins
type OutputPlugin struct {
Plugin
Id uint `json:"id"`
Id string `json:"id"`
Enable bool `json:"enable"`
Updatetime time.Time `json:"updatetime"`
Updatetime time.Time `json:"updatetime,omitempty"`
}
// Parameter generic parameter type to handle values from different sources