Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFscConfig ¶
func GetFscConfig(path string) (FscConfig, FscConfigMap, error)
Types ¶
type Attribute ¶
type Attribute struct { Name string `yaml:"name"` Label string `yaml:"label"` Type string `yaml:"type"` Aggregator string `yaml:"aggregator"` Multiple bool `yaml:"multiple"` // For types 'select' and 'file' Default interface{} `yaml:"default"` // For number types Min *interface{} `yaml:"min"` Max *interface{} `yaml:"max"` Step *interface{} `yaml:"step"` // For select, radios, and checkboxes types Options []struct { Name string `yaml:"name"` Label string `yaml:"label"` } `yaml:"options"` }
type Config ¶
type Config struct { Name string BackendListenAddress string GlobalConfig `mapstructure:",squash"` FscConfig SigmaFscEndpointNamesBySource FscConfigMap }
type FscConfig ¶
type FscConfig map[string]FscConfigValue
type FscConfigMap ¶
type FscConfigValue ¶
type GlobalConfig ¶
type GlobalConfig struct {
Rubrieken []Rubriek `yaml:"rubrieken"`
}
func GetGlobalConfig ¶
func GetGlobalConfig(path string) (GlobalConfig, error)
Click to show internal directories.
Click to hide internal directories.