CernVM-FS  2.9.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 "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 spooler_configuration;
21  std::string hash_alg_str;
34  size_t max_weight;
35  size_t min_weight;
37 };
38 
39 bool GetParamsFromFile(const std::string& repo_name, Params* params);
40 
41 } // namespace receiver
42 
43 #endif // CVMFS_RECEIVER_PARAMS_H_
size_t min_weight
Definition: params.h:35
size_t avg_chunk_size
Definition: params.h:26
std::string spooler_configuration
Definition: params.h:19
zlib::Algorithms compression_alg
Definition: params.h:22
size_t nested_kcatalog_limit
Definition: params.h:29
bool GetParamsFromFile(const std::string &repo_name, Params *params)
Definition: params.cc:20
bool use_autocatalogs
Definition: params.h:33
std::string GetSpoolerTempDir(const std::string &spooler_config)
Definition: params.cc:14
Algorithms
Definition: hash.h:39
bool use_file_chunking
Definition: params.h:24
std::string hash_alg_str
Definition: params.h:21
Algorithms
Definition: compression.h:44
size_t max_weight
Definition: params.h:34
size_t max_chunk_size
Definition: params.h:27
std::string stratum0
Definition: params.h:18
bool garbage_collection
Definition: params.h:32
size_t min_chunk_size
Definition: params.h:25
size_t file_mbyte_limit
Definition: params.h:31
size_t root_kcatalog_limit
Definition: params.h:30
bool upload_stats_db
Definition: params.h:36
bool generate_legacy_bulk_chunks
Definition: params.h:23
bool enforce_limits
Definition: params.h:28
shash::Algorithms hash_alg
Definition: params.h:20