Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Prefix string `mapstructure:"prefix"` Config data.ConfigData `mapstructure:"config"` Capabilities data.CapabilitiesData `mapstructure:"capabilities"` GatewaySvc string `mapstructure:"gatewaysvc"` StorageregistrySvc string `mapstructure:"storage_registry_svc"` DefaultUploadProtocol string `mapstructure:"default_upload_protocol"` UserAgentChunkingMap map[string]string `mapstructure:"user_agent_chunking_map"` GroupBasedCapabilities map[string][]string `mapstructure:"group_based_capabilities"` HomeNamespace string `mapstructure:"home_namespace"` AdditionalInfoAttribute string `mapstructure:"additional_info_attribute"` CacheWarmupDriver string `mapstructure:"cache_warmup_driver"` CacheWarmupDrivers map[string]map[string]interface{} `mapstructure:"cache_warmup_drivers"` ResourceInfoCacheDriver string `mapstructure:"resource_info_cache_type"` ResourceInfoCacheTTL int `mapstructure:"resource_info_cache_ttl"` ResourceInfoCacheDrivers map[string]map[string]interface{} `mapstructure:"resource_info_caches"` UserIdentifierCacheTTL int `mapstructure:"user_identifier_cache_ttl"` AllowedLanguages []string `mapstructure:"allowed_languages"` OCMMountPoint string `mapstructure:"ocm_mount_point"` Notifications map[string]interface{} `mapstructure:"notifications"` }
Config holds the config options that need to be passed down to all ocs handlers.
func (*Config) ApplyDefaults ¶ added in v1.25.0
func (c *Config) ApplyDefaults()
Init sets sane defaults.
Click to show internal directories.
Click to hide internal directories.