CernVM-FS  2.12.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 std::string &proxy, const unsigned max_pool_handles=1)
bool InitVerifyingSignatureManager (const std::string &pubkey_path)
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 > > 
- Protected Attributes inherited from ServerTool
< download::DownloadManager
< signature::SignatureManager
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 ( )

Definition at line 22 of file swissknife_list_reflog.h.

Member Function Documentation

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

Definition at line 168 of file

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)

Definition at line 189 of file

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

Implements swissknife::Command.

Definition at line 24 of file swissknife_list_reflog.h.

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

Implements swissknife::Command.

Definition at line 23 of file swissknife_list_reflog.h.

ParameterList swissknife::CommandListReflog::GetParams ( ) const

Implements swissknife::Command.

Definition at line 21 of file

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

Definition at line 41 of file swissknife_list_reflog.h.

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

Definition at line 180 of file

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

Implements swissknife::Command.

Definition at line 33 of file

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 
template<class ObjectFetcherT >
bool swissknife::CommandListReflog::Run ( ObjectFetcherT *  object_fetcher,
string  repo_name,
string  output_path,
shash::Any  reflog_hash 

Definition at line 93 of file

Here is the call graph for this function:

Member Data Documentation

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

Definition at line 32 of file swissknife_list_reflog.h.

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