CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
repository.h File Reference
#include <string>
#include <vector>
#include "gateway_util.h"
#include "history.h"
#include "publish/settings.h"
#include "repository_util.h"
#include "upload_spooler_result.h"
#include "util/pointer.h"
#include "util/single_copy.h"
Include dependency graph for repository.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  publish::Session
 
struct  publish::Session::Settings
 

Namespaces

 catalog
 
 download
 
 history
 
 manifest
 
 perf
 
 signature
 
 upload
 
 whitelist
 
 publish
 

Enumerations

enum  publish::EMountpointAlterations {
  publish::kAlterUnionUnmount, publish::kAlterUnionLazyUnmount, publish::kAlterRdOnlyUnmount, publish::kAlterRdOnlyKillUnmount,
  publish::kAlterRdOnlyLazyUnmount, publish::kAlterUnionMount, publish::kAlterRdOnlyMount, publish::kAlterUnionOpen,
  publish::kAlterUnionLock, publish::kAlterScratchWipe
}
 

Functions

class publish::__attribute__ ((visibility("default"))) DiffListener
 
class static __attribute__((visibility("default")))
Repository std::string 
publish::GetFqrnFromUrl (const std::string &url)
 
 publish::Repository (const SettingsRepository &settings, const bool exists=true)
 
virtual publish::~Repository ()
 
void publish::Check ()
 
void publish::GarbageCollect ()
 
void publish::List ()
 
void publish::Diff (const std::string &from, const std::string &to, DiffListener *diff_listener)
 
bool publish::IsMasterReplica ()
 
const signature::SignatureManagerpublish::signature_mgr () const
 
const whitelist::Whitelistpublish::whitelist () const
 
const manifest::Manifestpublish::manifest () const
 
const history::Historypublish::history () const
 
std::string publish::meta_info () const
 
void publish::DownloadRootObjects (const std::string &url, const std::string &fqrn, const std::string &tmp_dir)
 
catalog::SimpleCatalogManagerpublish::GetSimpleCatalogManager ()
 
class __attribute__((visibility("default")))
Publisher 
publish::ManagedNode (Publisher *p)
 
int publish::Check (bool is_quiet=false)
 
void publish::Open ()
 
void publish::Lock ()
 
void publish::Unmount ()
 
void publish::Mount ()
 
void publish::ClearScratch ()
 
void publish::AlterMountpoint (EMountpointAlterations how, int log_level)
 
void publish::SetRootHash (const shash::Any &hash)
 
static Publisher * publish::Create (const SettingsPublisher &settings)
 
 publish::Publisher (const SettingsPublisher &settings, const bool exists=true)
 
virtual publish::~Publisher ()
 
void publish::UpdateMetaInfo ()
 
void publish::Transaction ()
 
void publish::Abort ()
 
void publish::Publish ()
 
void publish::Ingest ()
 
void publish::Sync ()
 
void publish::ExitShell ()
 
void publish::EditTags (const std::vector< history::History::Tag > &add_tags, const std::vector< std::string > &rm_tags)
 
void publish::MarkReplicatible (bool value)
 
void publish::Rollback ()
 
void publish::Resign ()
 
void publish::Migrate ()
 
const SettingsPublisher & publish::settings () const
 
const ServerFlagFile & publish::in_transaction () const
 
const ServerLockFile & publish::is_publishing () const
 
Session * publish::session () const
 
const upload::Spooler * publish::spooler_files () const
 
const upload::Spooler * publish::spooler_catalogs () const
 
void publish::ConstructSpoolers ()
 
void publish::ConstructSyncManagers ()
 
void publish::WipeScratchArea ()
 
void publish::CreateKeychain ()
 
void publish::CreateStorage ()
 
void publish::CreateSpoolArea ()
 
void publish::CreateRootObjects ()
 
void publish::ExportKeychain ()
 
void publish::CreateDirectoryAsOwner (const std::string &path, int mode)
 
void publish::InitSpoolArea ()
 
void publish::PushCertificate ()
 
void publish::PushHistory ()
 
void publish::PushManifest ()
 
void publish::PushMetainfo ()
 
void publish::PushReflog ()
 
void publish::PushWhitelist ()
 
void publish::OnProcessCertificate (const upload::SpoolerResult &result)
 
void publish::OnProcessHistory (const upload::SpoolerResult &result)
 
void publish::OnProcessMetainfo (const upload::SpoolerResult &result)
 
void publish::OnUploadManifest (const upload::SpoolerResult &result)
 
void publish::OnUploadReflog (const upload::SpoolerResult &result)
 
void publish::OnUploadWhitelist (const upload::SpoolerResult &result)
 
void publish::CheckTagName (const std::string &name)
 
void publish::TransactionRetry ()
 
void publish::TransactionImpl ()
 
class __attribute__((visibility("default")))
Replica 
publish::Replica (const SettingsReplica &settings)
 
virtual publish::~Replica ()
 
void publish::Snapshot ()
 

Variables

const SettingsRepository publish::settings_
 
perf::Statisticspublish::statistics_
 
signature::SignatureManagerpublish::signature_mgr_
 
download::DownloadManagerpublish::download_mgr_
 
catalog::SimpleCatalogManagerpublish::simple_catalog_mgr_
 
whitelist::Whitelistpublish::whitelist_
 
manifest::Reflogpublish::reflog_
 
manifest::Manifestpublish::manifest_
 
history::SqliteHistorypublish::history_
 
std::string publish::meta_info_
 
Publisher * publish::publisher_
 
static const unsigned publish::kRequiredLayoutRevision = 143
 
UniquePtr
< perf::StatisticsTemplate
publish::statistics_publish_
 
int publish::llvl_
 
ServerFlagFile publish::in_transaction_
 
ServerLockFile publish::is_publishing_
 
gateway::GatewayKey publish::gw_key_
 
UniquePtr< Session > publish::session_
 
UniquePtr< ManagedNode > publish::managed_node_
 
upload::Spooler * publish::spooler_files_
 
upload::Spooler * publish::spooler_catalogs_
 
catalog::WritableCatalogManagerpublish::catalog_mgr_
 
SyncParameterspublish::sync_parameters_
 
SyncMediator * publish::sync_mediator_
 
publish::SyncUnionpublish::sync_union_