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

#include <swissknife_lsrepo.h>

Inheritance diagram for swissknife::CommandListCatalogs:
Collaboration diagram for swissknife::CommandListCatalogs:

Public Member Functions

 CommandListCatalogs ()
 
 ~CommandListCatalogs ()
 
virtual std::string GetName () const
 
virtual std::string GetDescription () const
 
virtual ParameterList GetParams () const
 
int Main (const ArgumentList &args)
 
- 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 (const shash::Any &manual_root_hash, ObjectFetcherT *object_fetcher)
 
void CatalogCallback (const CatalogTraversalData< catalog::Catalog > &data)
 

Private Attributes

bool print_tree_
 
bool print_hash_
 
bool print_size_
 
bool print_entries_
 

Additional Inherited Members

- Static Public Attributes inherited from swissknife::Command
static const char kGenericParam = '+'
 
static const char kGenericParamSeparator = ','
 
- Protected Attributes inherited from ServerTool
UniquePtr
< download::DownloadManager
download_manager_
 
UniquePtr
< signature::SignatureManager
signature_manager_
 
perf::Statistics statistics_
 

Detailed Description

Definition at line 21 of file swissknife_lsrepo.h.

Constructor & Destructor Documentation

swissknife::CommandListCatalogs::CommandListCatalogs ( )

Definition at line 16 of file swissknife_lsrepo.cc.

swissknife::CommandListCatalogs::~CommandListCatalogs ( )
inline

Definition at line 24 of file swissknife_lsrepo.h.

Member Function Documentation

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

Definition at line 86 of file swissknife_lsrepo.cc.

Referenced by Run().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Implements swissknife::Command.

Definition at line 26 of file swissknife_lsrepo.h.

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

Implements swissknife::Command.

Definition at line 25 of file swissknife_lsrepo.h.

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

Implements swissknife::Command.

Definition at line 21 of file swissknife_lsrepo.cc.

Here is the call graph for this function:

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

Implements swissknife::Command.

Definition at line 38 of file swissknife_lsrepo.cc.

Here is the call graph for this function:

template<class ObjectFetcherT >
bool swissknife::CommandListCatalogs::Run ( const shash::Any manual_root_hash,
ObjectFetcherT *  object_fetcher 
)
inlineprotected

Definition at line 37 of file swissknife_lsrepo.h.

Referenced by Main().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

bool swissknife::CommandListCatalogs::print_entries_
private

Definition at line 55 of file swissknife_lsrepo.h.

Referenced by CatalogCallback(), and Main().

bool swissknife::CommandListCatalogs::print_hash_
private

Definition at line 53 of file swissknife_lsrepo.h.

Referenced by CatalogCallback(), and Main().

bool swissknife::CommandListCatalogs::print_size_
private

Definition at line 54 of file swissknife_lsrepo.h.

Referenced by CatalogCallback(), and Main().

bool swissknife::CommandListCatalogs::print_tree_
private

Definition at line 52 of file swissknife_lsrepo.h.

Referenced by CatalogCallback(), and Main().


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