config

package
v2.19.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

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"`
	SharePrefix                           string                            `mapstructure:"share_prefix"`
	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"`
	StatCacheConfig                       cache.Config                      `mapstructure:"stat_cache_config"`
	UserIdentifierCacheTTL                int                               `mapstructure:"user_identifier_cache_ttl"`
	MachineAuthAPIKey                     string                            `mapstructure:"machine_auth_apikey"`
	SkipUpdatingExistingSharesMountpoints bool                              `mapstructure:"skip_updating_existing_shares_mountpoint"`
	EnableDenials                         bool                              `mapstructure:"enable_denials"`
	OCMMountPoint                         string                            `mapstructure:"ocm_mount_point"`
	ListOCMShares                         bool                              `mapstructure:"list_ocm_shares"`
	Notifications                         map[string]interface{}            `mapstructure:"notifications"`
	IncludeOCMSharees                     bool                              `mapstructure:"include_ocm_sharees"`
	ShowEmailInResults                    bool                              `mapstructure:"show_email_in_results"`
}

Config holds the config options that need to be passed down to all ocs handlers

func (*Config) Init

func (c *Config) Init()

Init sets sane defaults

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL