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

#include <swissknife.h>

Inheritance diagram for swissknife::Command:
Collaboration diagram for swissknife::Command:

Public Member Functions

 Command ()
 
virtual ~Command ()
 
virtual std::string GetName () const =0
 
virtual std::string GetDescription () const =0
 
virtual ParameterList GetParams () const =0
 
virtual int Main (const ArgumentList &args)=0
 
- 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, 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
 

Static Public Attributes

static const char kGenericParam = '+'
 
static const char kGenericParamSeparator = ','
 

Additional Inherited Members

- Protected Attributes inherited from ServerTool
UniquePtr
< download::DownloadManager
download_manager_
 
UniquePtr
< signature::SignatureManager
signature_manager_
 
perf::Statistics statistics_
 

Detailed Description

Definition at line 74 of file swissknife.h.

Constructor & Destructor Documentation

swissknife::Command::Command ( )

Definition at line 25 of file swissknife.cc.

swissknife::Command::~Command ( )
virtual

Definition at line 27 of file swissknife.cc.

Member Function Documentation

Member Data Documentation

const char swissknife::Command::kGenericParam = '+'
static

Definition at line 77 of file swissknife.h.

Referenced by main().

const char swissknife::Command::kGenericParamSeparator = ','
static

Definition at line 78 of file swissknife.h.


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