Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultConfig = Config{ LogLevel: "info", Port: 50055, MaxConnections: 100, InformerResyncPeriod: 30 * time.Minute, ProfilePort: 0, }
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // LogLevel can be one of: debug, info, warn, error LogLevel string `yaml:"log_level" env:"BEYLA_K8S_CACHE_LOG_LEVEL"` // Port where the service is going to listen to Port int `yaml:"port" env:"BEYLA_K8S_CACHE_PORT"` // MaxConnection is the maximum number of concurrent clients that the service can handle at the same time MaxConnections int `yaml:"max_connections" env:"BEYLA_K8S_CACHE_MAX_CONNECTIONS"` // ProfilePort is the port where the pprof server is going to listen to. 0 (default) means disabled ProfilePort int `yaml:"profile_port" env:"BEYLA_K8S_CACHE_PROFILE_PORT"` // InformerResyncPeriod is the time interval between complete resyncs of the informers InformerResyncPeriod time.Duration `yaml:"informer_resync_period" env:"BEYLA_K8S_CACHE_INFORMER_RESYNC_PERIOD"` InternalMetrics instrument.InternalMetricsConfig `yaml:"internal_metrics"` }
Config options of the Kubernetes Cache service. Check the "DefaultConfig" variable for a view of the default values.
Click to show internal directories.
Click to hide internal directories.