5 #ifndef CVMFS_PUBLISH_SETTINGS_H_
6 #define CVMFS_PUBLISH_SETTINGS_H_
78 :
workspace_(std::string(
"/var/spool/cvmfs/") + fqrn)
180 void SetTemplate(
const std::string &from,
const std::string &to);
285 ,
type_(upload::SpoolerDefinition::Local)
286 ,
tmp_dir_(std::string(
"/srv/cvmfs/") + fqrn +
"/data/txn")
287 ,
endpoint_(std::string(
"/srv/cvmfs/") + fqrn)
293 void MakeS3(
const std::string &s3_config,
const std::string &tmp_dir);
294 void MakeGateway(
const std::string &host,
unsigned port,
295 const std::string &tmp_dir);
360 ,
url_(std::string(
"http://localhost/cvmfs/") +
fqrn_())
404 ,
url_(std::string(
"http://localhost/cvmfs/") + fqrn)
420 void SetOwner(
const std::string &user_name);
421 void SetOwner(uid_t uid, gid_t gid);
474 ,
url_(std::string(
"http://localhost/cvmfs/") +
alias_())
524 const std::string &ident,
bool needs_managed =
false);
576 #endif // CVMFS_PUBLISH_SETTINGS_H_
unsigned autobalance_min_weight() const
void SetUnionFsType(const std::string &union_fs)
SettingsKeychain * GetKeychain()
SettingsSpoolArea spool_area_
Setting< std::string > keychain_dir_
void SetIgnoreInvalidLease(bool value)
Setting< unsigned > whitelist_validity_days_
bool use_catalog_autobalance() const
std::string endpoint() const
std::string readonly_mnt() const
std::string checkout_marker() const
void SetEnableMtimeNs(bool value)
bool HasGatewayKey() const
Setting< unsigned > timeout_s_
const T & operator()() const
shash::Algorithms hash_algorithm() const
std::string voms_authz() const
SettingsPublisher * CreateSettingsPublisher(const std::string &ident, bool needs_managed=false)
SettingsTransaction * GetTransaction()
void SetUrl(const std::string &url)
void SetUnionMount(const std::string &path)
void MakeGateway(const std::string &host, unsigned port, const std::string &tmp_dir)
Setting< bool > is_managed_
void SetTimeout(unsigned seconds)
SettingsKeychain * GetKeychain()
unsigned limit_root_catalog_kentries() const
void SetKeychainDir(const std::string &keychain_dir)
Setting< gid_t > owner_gid_
std::string keychain_dir() const
void SetLimitNestedCatalogKentries(unsigned value)
void SetAutobalanceMaxWeight(unsigned value)
std::string gw_key_path() const
void SetIsSilent(bool value)
SettingsKeychain(const std::string &fqrn)
bool ignore_invalid_lease() const
Setting< UnionFsType > union_fs_
unsigned layout_revision() const
Setting< upload::SpoolerDefinition::DriverType > type_
Setting< uint32_t > ttl_second_
std::string private_key_path() const
void SetTemplate(const std::string &from, const std::string &to)
Setting< bool > enforce_limits_
unsigned autobalance_max_weight() const
std::string GetSingleAlias()
Setting< std::string > union_mnt_
std::string client_config() const
std::string template_to() const
SettingsRepository(const std::string &fqrn)
void SetLayoutRevision(const unsigned revision)
EUnionMountRepairMode repair_mode() const
std::string log_dir() const
SettingsTransaction transaction_
void SetConfigPath(const std::string &config_path)
Setting< std::string > voms_authz_
Setting< bool > ignore_invalid_lease_
bool enable_mtime_ns() const
void SetLeasePath(const std::string &path)
Setting< std::string > tmp_dir_
unsigned limit_nested_catalog_kentries() const
std::string cert_bundle() const
Setting< unsigned > layout_revision_
void SetAutobalanceMinWeight(unsigned value)
SettingsPublisher(const std::string &fqrn)
OptionsManager * options_mgr_
Setting< bool > is_silent_
bool HasMasterKeys() const
void ApplyOptionsFromServerPath(const OptionsManager &options_mgr_, SettingsPublisher *settings_publisher)
Setting< shash::Any > base_hash_
std::string master_public_key_path() const
Setting< unsigned > limit_root_catalog_kentries_
SettingsBuilder(const std::string &c)
std::string transaction_lock() const
std::string cache_dir() const
bool HasRepositoryKeys() const
std::string proxy() const
UnionFsType union_fs() const
const SettingsKeychain & keychain() const
void SetTmpDir(const std::string &tmp_dir)
bool IsManagedRepository() const
Setting< bool > in_enter_session_
void SetDryRun(bool value)
std::string scratch_wastebin() const
Setting< std::string > template_from_
Setting< uid_t > owner_uid_
std::string union_mnt() const
Setting< bool > use_catalog_autobalance_
bool print_changeset() const
void SetProxy(const std::string &proxy)
std::string GetReadOnlyXAttr(const std::string &attr)
std::string publishing_lock() const
std::string lease_path() const
void SetUrl(const std::string &url)
std::string master_private_key_path() const
std::string ovl_work_dir() const
SettingsRepository CreateSettingsRepository(const std::string &ident)
Setting< unsigned > autobalance_max_weight_
const SettingsSpoolArea & spool_area() const
void SetLimitRootCatalogKentries(unsigned value)
Setting< std::string > url_
void SetIsManaged(bool value)
Setting & operator=(const T &v)
Setting< std::string > workspace_
const SettingsTransaction & transaction() const
Setting< std::string > fqrn_
SettingsPublisher * CreateSettingsPublisherFromSession()
uint32_t ttl_second() const
Setting< std::string > alias_
SettingsKeychain keychain_
std::string proxy() const
void SetHashAlgorithm(const std::string &algorithm)
std::string workspace() const
void SetLocator(const std::string &locator)
SettingsTransaction(const std::string &fqrn)
Setting< std::string > fqrn_
void SetCertBundle(const std::string &cert_bundle)
zlib::Algorithms compression_algorithm() const
std::string certificate_path() const
Setting< bool > print_changeset_
SettingsStorage * GetStorage()
const SettingsStorage & storage() const
Setting< zlib::Algorithms > compression_algorithm_
Setting< std::string > fqrn_
Setting< std::string > cert_bundle_
OptionsManager * options_mgr() const
void SetLimitFileSizeMb(unsigned value)
Setting< std::string > url_
Setting< std::string > template_to_
void SetUseCatalogAutobalance(bool value)
Setting< EUnionMountRepairMode > repair_mode_
Setting< unsigned > autobalance_min_weight_
void SetCompressionAlgorithm(const std::string &algorithm)
bool enforce_limits() const
Setting< std::string > private_key_path_
void SetSpoolArea(const std::string &path)
Setting< shash::Algorithms > hash_algorithm_
unsigned limit_file_size_mb() const
void SetEnforceLimits(bool value)
Setting< std::string > tmp_dir_
void SetProxy(const std::string &proxy)
Setting< std::string > master_private_key_path_
shash::Any base_hash() const
const SettingsKeychain & keychain() const
static const unsigned kDefaultWhitelistValidity
std::string tmp_dir() const
Setting< std::string > proxy_
void SetBaseHash(const shash::Any &hash)
Setting< std::string > endpoint_
void SetPrintChangeset(bool value)
std::string readonly_talk_socket() const
SettingsStorage(const std::string &fqrn)
std::string scratch_dir() const
std::string gw_session_token() const
unsigned whitelist_validity_days() const
std::map< std::string, std::string > GetSessionEnvironment()
SettingsSpoolArea * GetSpoolArea()
bool HasDanglingRepositoryKeys() const
Setting< unsigned > limit_file_size_mb_
void MakeLocal(const std::string &path)
Setting< std::string > master_public_key_path_
upload::SpoolerDefinition::DriverType type() const
std::string scratch_base() const
void SetOwner(const std::string &user_name)
void SetRepairMode(const EUnionMountRepairMode val)
std::string template_from() const
bool in_enter_session() const
Setting< unsigned > limit_nested_catalog_kentries_
Setting< std::string > fqrn_
Setting< bool > is_volatile_
SettingsKeychain keychain_
Setting< std::string > certificate_path_
bool SetIfDefault(const T &v)
Setting< std::string > proxy_
std::string client_lconfig() const
void MakeS3(const std::string &s3_config, const std::string &tmp_dir)
Setting< std::string > tmp_dir_
std::string GetLocator() const
Setting< std::string > url_
void SetInEnterSession(const bool value)
SettingsReplica(const std::string &fqrn)
Setting< std::string > gw_key_path_
Setting< std::string > lease_path_
std::string tmp_dir() const
SettingsSpoolArea(const std::string &fqrn)
Setting< bool > is_garbage_collectable_
Setting< std::string > fqrn_
bool HasDanglingMasterKeys() const
Setting< bool > enable_mtime_ns_
std::string client_log() const
bool is_garbage_collectable() const