Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitConfig ¶
func InitConfig()
Types ¶
type CacheConfig ¶
type CacheConfig struct { ObjectTTL int `mapstructure:"object_ttl"` RedisConfig RedisConfig `mapstructure:"redis"` LocalConfig LocalCacheConfig `mapstructure:"local"` }
type Config ¶
type Config struct { Port int `mapstructure:"port"` CacheConfig CacheConfig `mapstructure:"cache"` OutputDir string `mapstructure:"output_dir"` KubeConfig string `mapstructure:"kube_config"` Namespace string `mapstructure:"namespace"` CertFile string `mapstructure:"tls_cert_file"` KeyFile string `mapstructure:"tls_key_file"` TrivyPath string `mapstructure:"trivy_path"` }
var Cfg Config
type LocalCacheConfig ¶
type RedisConfig ¶
Click to show internal directories.
Click to hide internal directories.