CernVM-FS  2.10.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
params.h
Go to the documentation of this file.
1 
5 #ifndef CVMFS_RECEIVER_PARAMS_H_
6 #define CVMFS_RECEIVER_PARAMS_H_
7 
8 #include <string>
9 
10 #include "compression.h"
11 #include "crypto/hash.h"
12 
13 namespace receiver {
14 
15 std::string GetSpoolerTempDir(const std::string& spooler_config);
16 
17 struct Params {
18  std::string stratum0;
19  std::string proxy;
20  std::string spooler_configuration;
22  std::string hash_alg_str;
35  size_t max_weight;
36  size_t min_weight;
38 };
39 
40 bool GetParamsFromFile(const std::string& repo_name, Params* params);
41 
42 } // namespace receiver
43 
44 #endif // CVMFS_RECEIVER_PARAMS_H_
size_t min_weight
Definition: params.h:36
size_t avg_chunk_size
Definition: params.h:27
std::string spooler_configuration
Definition: params.h:20
zlib::Algorithms compression_alg
Definition: params.h:23
size_t nested_kcatalog_limit
Definition: params.h:30
bool GetParamsFromFile(const std::string &repo_name, Params *params)
Definition: params.cc:20
bool use_autocatalogs
Definition: params.h:34
std::string GetSpoolerTempDir(const std::string &spooler_config)
Definition: params.cc:14
Algorithms
Definition: hash.h:41
bool use_file_chunking
Definition: params.h:25
std::string hash_alg_str
Definition: params.h:22
Algorithms
Definition: compression.h:44
size_t max_weight
Definition: params.h:35
size_t max_chunk_size
Definition: params.h:28
std::string stratum0
Definition: params.h:18
bool garbage_collection
Definition: params.h:33
size_t min_chunk_size
Definition: params.h:26
size_t file_mbyte_limit
Definition: params.h:32
size_t root_kcatalog_limit
Definition: params.h:31
std::string proxy
Definition: params.h:19
bool upload_stats_db
Definition: params.h:37
bool generate_legacy_bulk_chunks
Definition: params.h:24
bool enforce_limits
Definition: params.h:29
shash::Algorithms hash_alg
Definition: params.h:21