Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BouncerConfig ¶
type BouncerConfig struct { CloudProviders models.CloudProviders `yaml:"cloud_providers"` RuleNamePrefix string `yaml:"rule_name_prefix"` UpdateFrequency string `yaml:"update_frequency"` Daemon bool `yaml:"daemonize"` LogMode string `yaml:"log_mode"` LogDir string `yaml:"log_dir"` LogLevel log.Level `yaml:"log_level"` APIUrl string `yaml:"api_url"` APIKey string `yaml:"api_key"` }
func GenerateConfig ¶
func GenerateConfig(configBuff []byte) (*BouncerConfig, error)
func NewConfig ¶
func NewConfig(configPath string) (*BouncerConfig, error)
Click to show internal directories.
Click to hide internal directories.