package
Version:
v0.0.0-...-1e40bc2
Opens a new window with list of versions in this module.
Published: Sep 11, 2023
License: MPL-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Version string `mapstructure:"version"`
DiodeAgent DiodeAgent `mapstructure:"diode"`
}
type DiodeConfig struct {
Debug bool `mapstructure:"debug"`
OutputType string `mapstructure:"output_type"`
OutputPath string `mapstructure:"output_path"`
OutputAuth string `mapstructure:"output_auth"`
Host string `mapstructure:"host"`
Port string `mapstructure:"port"`
}
type Policy struct {
Kind string `mapstructure:"kind"`
Backend string `mapstructure:"backend"`
Config map[string]interface{} `mapstructure:"config"`
Data map[string]interface{} `mapstructure:"data"`
}
type Status struct {
StartTime time.Time `json:"start_time"`
UpTime time.Duration `json:"up_time"`
Version string `json:"version"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.