Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheStoreConfig ¶
type CacheStoreConfig struct { Enabled bool `yaml:"enabled" envconfig:"kuma_store_cache_enabled"` ExpirationTime time.Duration `yaml:"expirationTime" envconfig:"kuma_store_cache_expiration_time"` }
func DefaultCacheStoreConfig ¶
func DefaultCacheStoreConfig() CacheStoreConfig
func (CacheStoreConfig) Sanitize ¶
func (c CacheStoreConfig) Sanitize()
func (CacheStoreConfig) Validate ¶
func (c CacheStoreConfig) Validate() error
type StoreConfig ¶
type StoreConfig struct { // Type of Store used in the Control Plane. Can be either "kubernetes", "postgres" or "memory" Type StoreType `yaml:"type" envconfig:"kuma_store_type"` // Postgres Store configuration Postgres *postgres.PostgresStoreConfig `yaml:"postgres"` // Kubernetes Store configuration Kubernetes *k8s.KubernetesStoreConfig `yaml:"kubernetes"` // Cache configuration Cache CacheStoreConfig `yaml:"cache"` }
Resource Store configuration
func DefaultStoreConfig ¶
func DefaultStoreConfig() *StoreConfig
func (*StoreConfig) Sanitize ¶
func (s *StoreConfig) Sanitize()
func (*StoreConfig) Validate ¶
func (s *StoreConfig) Validate() error
Click to show internal directories.
Click to hide internal directories.