CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
swissknife::CommandListReflog Class Reference

#include <swissknife_list_reflog.h>

Inheritance diagram for swissknife::CommandListReflog:
Collaboration diagram for swissknife::CommandListReflog:

Public Member Functions

 ~CommandListReflog ()
 
virtual std::string GetName () const
 
virtual std::string GetDescription () const
 
virtual ParameterList GetParams () const
 
int Main (const ArgumentList &args)
 
template<class ObjectFetcherT >
bool Run (ObjectFetcherT *object_fetcher, string repo_name, string output_path, shash::Any reflog_hash)
 
- Public Member Functions inherited from swissknife::Command
 Command ()
 
virtual ~Command ()
 
- Public Member Functions inherited from ServerTool
 ServerTool ()
 
virtual ~ServerTool ()
 
bool InitDownloadManager (const bool follow_redirects, const unsigned max_pool_handles=1, const bool use_system_proxy=true)
 
bool InitVerifyingSignatureManager (const std::string &pubkey_path, const std::string &trusted_certs="")
 
bool InitSigningSignatureManager (const std::string &certificate_path, const std::string &private_key_path, const std::string &private_key_password)
 
manifest::ManifestOpenLocalManifest (const std::string path) const
 
manifest::Failures FetchRemoteManifestEnsemble (const std::string &repository_url, const std::string &repository_name, manifest::ManifestEnsemble *ensemble) const
 
manifest::ManifestFetchRemoteManifest (const std::string &repository_url, const std::string &repository_name, const shash::Any &base_hash=shash::Any()) const
 
template<class ObjectFetcherT >
manifest::ReflogFetchReflog (ObjectFetcherT *object_fetcher, const std::string &repo_name, const shash::Any &reflog_hash)
 
manifest::ReflogCreateEmptyReflog (const std::string &temp_directory, const std::string &repo_name)
 
download::DownloadManagerdownload_manager () const
 
signature::SignatureManagersignature_manager () const
 
perf::Statisticsstatistics ()
 
const perf::Statisticsstatistics () const
 

Protected Member Functions

template<class ObjectFetcherT >
bool Run (ObjectFetcherT *object_fetcher, std::string repo_name, std::string output_path, shash::Any reflog_hash)
 
void CatalogCallback (const CatalogTraversalData< catalog::Catalog > &data)
 
void InsertObjects (const std::vector< shash::Any > &list)
 
void DumpObjects (FILE *stream)
 

Static Protected Member Functions

static uint32_t hasher (const shash::Any &key)
 

Protected Attributes

UniquePtr< SmallHashDynamic
< shash::Any, bool > > 
objects_
 
- Protected Attributes inherited from ServerTool
UniquePtr
< download::DownloadManager
download_manager_
 
UniquePtr
< signature::SignatureManager
signature_manager_
 
perf::Statistics statistics_
 

Additional Inherited Members

- Static Public Attributes inherited from swissknife::Command
static const char kGenericParam = '+'
 
static const char kGenericParamSeparator = ','
 

Detailed Description

Definition at line 20 of file swissknife_list_reflog.h.

Constructor & Destructor Documentation

swissknife::CommandListReflog::~CommandListReflog ( )
inline

Definition at line 22 of file swissknife_list_reflog.h.

Member Function Documentation

void swissknife::CommandListReflog::CatalogCallback ( const CatalogTraversalData< catalog::Catalog > &  data)
protected

Definition at line 166 of file swissknife_list_reflog.cc.

Referenced by Run().

Here is the call graph for this function:

Here is the caller graph for this function:

void swissknife::CommandListReflog::DumpObjects ( FILE *  stream)
protected

Definition at line 187 of file swissknife_list_reflog.cc.

virtual std::string swissknife::CommandListReflog::GetDescription ( ) const
inlinevirtual

Implements swissknife::Command.

Definition at line 24 of file swissknife_list_reflog.h.

virtual std::string swissknife::CommandListReflog::GetName ( ) const
inlinevirtual

Implements swissknife::Command.

Definition at line 23 of file swissknife_list_reflog.h.

ParameterList swissknife::CommandListReflog::GetParams ( ) const
virtual

Implements swissknife::Command.

Definition at line 21 of file swissknife_list_reflog.cc.

static uint32_t swissknife::CommandListReflog::hasher ( const shash::Any key)
inlinestaticprotected

Definition at line 41 of file swissknife_list_reflog.h.

void swissknife::CommandListReflog::InsertObjects ( const std::vector< shash::Any > &  list)
protected

Definition at line 178 of file swissknife_list_reflog.cc.

int swissknife::CommandListReflog::Main ( const ArgumentList args)
virtual

Implements swissknife::Command.

Definition at line 32 of file swissknife_list_reflog.cc.

Here is the call graph for this function:

template<class ObjectFetcherT >
bool swissknife::CommandListReflog::Run ( ObjectFetcherT *  object_fetcher,
std::string  repo_name,
std::string  output_path,
shash::Any  reflog_hash 
)
protected
template<class ObjectFetcherT >
bool swissknife::CommandListReflog::Run ( ObjectFetcherT *  object_fetcher,
string  repo_name,
string  output_path,
shash::Any  reflog_hash 
)

Definition at line 91 of file swissknife_list_reflog.cc.

Here is the call graph for this function:

Member Data Documentation

UniquePtr<SmallHashDynamic<shash::Any, bool> > swissknife::CommandListReflog::objects_
protected

Definition at line 32 of file swissknife_list_reflog.h.


The documentation for this class was generated from the following files: