CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SyncParameters Struct Reference

#include <swissknife_sync.h>

Collaboration diagram for SyncParameters:

Public Member Functions

 SyncParameters ()
 

Public Attributes

upload::Spooler * spooler
 
std::string repo_name
 
std::string dir_union
 
std::string dir_scratch
 
std::string dir_rdonly
 
std::string dir_temp
 
shash::Any base_hash
 
std::string stratum0
 
std::string manifest_path
 
std::string spooler_definition
 
std::string union_fs_type
 
std::string public_keys
 
std::string authz_file
 
std::string tar_file
 
std::string base_directory
 
std::string to_delete
 
std::string cache_dir
 
bool print_changeset
 
bool dry_run
 
bool mucatalogs
 
bool use_file_chunking
 
bool generate_legacy_bulk_chunks
 
bool ignore_xdir_hardlinks
 
bool stop_for_catalog_tweaks
 
bool include_xattrs
 
bool enable_mtime_ns
 
bool external_data
 
bool direct_io
 
bool voms_authz
 
int virtual_dir_actions
 
bool ignore_special_files
 
bool branched_catalog
 
zlib::Algorithms compression_alg
 
bool enforce_limits
 
unsigned nested_kcatalog_limit
 
unsigned root_kcatalog_limit
 
unsigned file_mbyte_limit
 
size_t min_file_chunk_size
 
size_t avg_file_chunk_size
 
size_t max_file_chunk_size
 
uint64_t manual_revision
 
uint64_t ttl_seconds
 
uint64_t max_concurrent_write_jobs
 
unsigned num_upload_tasks
 
bool is_balanced
 
unsigned max_weight
 
unsigned min_weight
 
gid_t gid
 
uid_t uid
 
std::string session_token_file
 
std::string key_file
 
RepositoryTag repo_tag
 

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
 

Detailed Description

This file is part of the CernVM File System.

Definition at line 16 of file swissknife_sync.h.

Constructor & Destructor Documentation

SyncParameters::SyncParameters ( )
inline

Definition at line 26 of file swissknife_sync.h.

Member Data Documentation

std::string SyncParameters::authz_file

Definition at line 79 of file swissknife_sync.h.

Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().

std::string SyncParameters::base_directory

Definition at line 81 of file swissknife_sync.h.

Referenced by swissknife::Ingest::Main().

shash::Any SyncParameters::base_hash
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().

std::string SyncParameters::dir_scratch
std::string SyncParameters::dir_union
bool SyncParameters::direct_io
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
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
bool SyncParameters::is_balanced

Definition at line 111 of file swissknife_sync.h.

Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().

const size_t SyncParameters::kDefaultAvgFileChunkSize = 8 * 1024 * 1024
static

Definition at line 20 of file swissknife_sync.h.

const unsigned SyncParameters::kDefaultFileMbyteLimit = 1024
static

Definition at line 24 of file swissknife_sync.h.

Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().

const size_t SyncParameters::kDefaultMaxFileChunkSize = 16 * 1024 * 1024
static

Definition at line 21 of file swissknife_sync.h.

const unsigned SyncParameters::kDefaultMaxWeight = 100000
static

Definition at line 17 of file swissknife_sync.h.

const size_t SyncParameters::kDefaultMinFileChunkSize = 4 * 1024 * 1024
static

Definition at line 19 of file swissknife_sync.h.

const unsigned SyncParameters::kDefaultMinWeight = 1000
static

Definition at line 18 of file swissknife_sync.h.

const unsigned SyncParameters::kDefaultNestedKcatalogLimit = 500
static

Definition at line 22 of file swissknife_sync.h.

Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().

const unsigned SyncParameters::kDefaultRootKcatalogLimit = 200
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
uint64_t SyncParameters::manual_revision
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().

unsigned SyncParameters::max_weight

Definition at line 112 of file swissknife_sync.h.

Referenced by swissknife::Ingest::Main(), and swissknife::CommandSync::Main().

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
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
RepositoryTag SyncParameters::repo_tag
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
std::string SyncParameters::spooler_definition
bool SyncParameters::stop_for_catalog_tweaks
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
bool SyncParameters::voms_authz

Definition at line 95 of file swissknife_sync.h.

Referenced by swissknife::CommandSync::Main().


The documentation for this struct was generated from the following file: