CernVM-FS
2.12.0
|
#include <swissknife_sync.h>
Public Member Functions | |
SyncParameters () | |
Static Public Attributes | |
static const unsigned | kDefaultMaxWeight = 100000 |
static const unsigned | kDefaultMinWeight = 1000 |
static const size_t | kDefaultMinFileChunkSize = 4 * 1024 * 1024 |
static const size_t | kDefaultAvgFileChunkSize = 8 * 1024 * 1024 |
static const size_t | kDefaultMaxFileChunkSize = 16 * 1024 * 1024 |
static const unsigned | kDefaultNestedKcatalogLimit = 500 |
static const unsigned | kDefaultRootKcatalogLimit = 200 |
static const unsigned | kDefaultFileMbyteLimit = 1024 |
This file is part of the CernVM File System.
Definition at line 16 of file swissknife_sync.h.
|
inline |
Definition at line 26 of file swissknife_sync.h.
std::string SyncParameters::authz_file |
Definition at line 79 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
size_t SyncParameters::avg_file_chunk_size |
Definition at line 105 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::CheckParams(), swissknife::Ingest::Main(), swissknife::CommandSync::Main(), and swissknife::CommandSync::ReadFileChunkingArgs().
std::string SyncParameters::base_directory |
Definition at line 81 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main().
shash::Any SyncParameters::base_hash |
Definition at line 73 of file swissknife_sync.h.
Referenced by publish::ConstructSyncManagers(), swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
bool SyncParameters::branched_catalog |
Definition at line 98 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
std::string SyncParameters::cache_dir |
Definition at line 83 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::Main().
zlib::Algorithms SyncParameters::compression_alg |
Definition at line 99 of file swissknife_sync.h.
Referenced by publish::SyncMediator::GetCompressionAlgorithm(), swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
std::string SyncParameters::dir_rdonly |
Definition at line 71 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::CheckParams(), publish::ConstructSyncManagers(), swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
std::string SyncParameters::dir_scratch |
Definition at line 70 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::CheckParams(), publish::ConstructSyncManagers(), and swissknife::CommandSync::Main().
std::string SyncParameters::dir_temp |
Definition at line 72 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::CheckParams(), publish::SyncMediator::Commit(), publish::ConstructSyncManagers(), swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
std::string SyncParameters::dir_union |
Definition at line 69 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::CheckParams(), publish::ConstructSyncManagers(), and swissknife::CommandSync::Main().
bool SyncParameters::direct_io |
Definition at line 94 of file swissknife_sync.h.
Referenced by publish::SyncMediator::IsDirectIo(), and swissknife::CommandSync::Main().
bool SyncParameters::dry_run |
Definition at line 85 of file swissknife_sync.h.
Referenced by publish::SyncMediator::AddDirectory(), publish::SyncMediator::AddFile(), publish::SyncMediator::AddLocalHardlinkGroups(), publish::SyncMediator::Commit(), publish::ConstructSyncManagers(), publish::SyncMediator::CreateNestedCatalog(), swissknife::CommandSync::Main(), publish::SyncMediator::RemoveDirectory(), publish::SyncMediator::RemoveFile(), publish::SyncMediator::RemoveNestedCatalog(), and publish::SyncMediator::TouchDirectory().
bool SyncParameters::enable_mtime_ns |
Definition at line 92 of file swissknife_sync.h.
Referenced by publish::SyncMediator::AddDirectory(), publish::SyncMediator::AddFile(), publish::SyncMediator::AddHardlinkGroup(), swissknife::Ingest::Main(), swissknife::CommandSync::Main(), publish::SyncMediator::PublishFilesCallback(), and publish::SyncMediator::TouchDirectory().
bool SyncParameters::enforce_limits |
Definition at line 100 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
bool SyncParameters::external_data |
Definition at line 93 of file swissknife_sync.h.
Referenced by publish::SyncMediator::IsExternalData(), and swissknife::CommandSync::Main().
unsigned SyncParameters::file_mbyte_limit |
Definition at line 103 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
bool SyncParameters::generate_legacy_bulk_chunks |
Definition at line 88 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
gid_t SyncParameters::gid |
Definition at line 114 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main().
bool SyncParameters::ignore_special_files |
Definition at line 97 of file swissknife_sync.h.
Referenced by publish::SyncMediator::Add(), and swissknife::CommandSync::Main().
bool SyncParameters::ignore_xdir_hardlinks |
Definition at line 89 of file swissknife_sync.h.
Referenced by publish::SyncMediator::AddLocalHardlinkGroups(), and swissknife::CommandSync::Main().
bool SyncParameters::include_xattrs |
Definition at line 91 of file swissknife_sync.h.
Referenced by publish::SyncMediator::AddDirectory(), publish::SyncMediator::AddFile(), publish::SyncMediator::AddHardlinkGroup(), swissknife::CommandSync::Main(), publish::SyncMediator::PublishFilesCallback(), and publish::SyncMediator::TouchDirectory().
bool SyncParameters::is_balanced |
Definition at line 111 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
|
static |
Definition at line 20 of file swissknife_sync.h.
|
static |
Definition at line 24 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
|
static |
Definition at line 21 of file swissknife_sync.h.
|
static |
Definition at line 17 of file swissknife_sync.h.
|
static |
Definition at line 19 of file swissknife_sync.h.
|
static |
Definition at line 18 of file swissknife_sync.h.
|
static |
Definition at line 22 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
|
static |
Definition at line 23 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
std::string SyncParameters::key_file |
Definition at line 119 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
std::string SyncParameters::manifest_path |
Definition at line 75 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::CheckParams(), swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
uint64_t SyncParameters::manual_revision |
Definition at line 107 of file swissknife_sync.h.
Referenced by publish::SyncMediator::Commit(), and swissknife::CommandSync::Main().
uint64_t SyncParameters::max_concurrent_write_jobs |
Definition at line 109 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
size_t SyncParameters::max_file_chunk_size |
Definition at line 106 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::CheckParams(), swissknife::Ingest::Main(), swissknife::CommandSync::Main(), and swissknife::CommandSync::ReadFileChunkingArgs().
unsigned SyncParameters::max_weight |
Definition at line 112 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
size_t SyncParameters::min_file_chunk_size |
Definition at line 104 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::CheckParams(), swissknife::Ingest::Main(), swissknife::CommandSync::Main(), and swissknife::CommandSync::ReadFileChunkingArgs().
unsigned SyncParameters::min_weight |
Definition at line 113 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
bool SyncParameters::mucatalogs |
Definition at line 86 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::Main().
unsigned SyncParameters::nested_kcatalog_limit |
Definition at line 101 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
unsigned SyncParameters::num_upload_tasks |
Definition at line 110 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::Main().
bool SyncParameters::print_changeset |
Definition at line 84 of file swissknife_sync.h.
Referenced by publish::SyncMediator::AddLocalHardlinkGroups(), publish::ConstructSyncManagers(), and swissknife::CommandSync::Main().
std::string SyncParameters::public_keys |
Definition at line 78 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
std::string SyncParameters::repo_name |
Definition at line 68 of file swissknife_sync.h.
Referenced by publish::ConstructSyncManagers(), swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
RepositoryTag SyncParameters::repo_tag |
Definition at line 120 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), swissknife::CommandSync::Main(), and publish::Sync().
unsigned SyncParameters::root_kcatalog_limit |
Definition at line 102 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
std::string SyncParameters::session_token_file |
Definition at line 118 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::CheckParams(), swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
upload::Spooler* SyncParameters::spooler |
Definition at line 67 of file swissknife_sync.h.
Referenced by publish::SyncMediator::AddFile(), publish::SyncMediator::Commit(), publish::ConstructSyncManagers(), swissknife::Ingest::Main(), swissknife::CommandSync::Main(), and publish::SyncMediator::SyncMediator().
std::string SyncParameters::spooler_definition |
Definition at line 76 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::CheckParams(), swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
bool SyncParameters::stop_for_catalog_tweaks |
Definition at line 90 of file swissknife_sync.h.
Referenced by publish::SyncMediator::Commit(), and swissknife::CommandSync::Main().
std::string SyncParameters::stratum0 |
Definition at line 74 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::CheckParams(), publish::ConstructSyncManagers(), swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
std::string SyncParameters::tar_file |
Definition at line 80 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main().
std::string SyncParameters::to_delete |
Definition at line 82 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main().
uint64_t SyncParameters::ttl_seconds |
Definition at line 108 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::Main().
uid_t SyncParameters::uid |
Definition at line 115 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main().
std::string SyncParameters::union_fs_type |
Definition at line 77 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::Main().
bool SyncParameters::use_file_chunking |
Definition at line 87 of file swissknife_sync.h.
Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().
int SyncParameters::virtual_dir_actions |
Definition at line 96 of file swissknife_sync.h.
Referenced by publish::SyncMediator::Commit(), and swissknife::CommandSync::Main().
bool SyncParameters::voms_authz |
Definition at line 95 of file swissknife_sync.h.
Referenced by swissknife::CommandSync::Main().