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

#include <swissknife_history.h>

Inheritance diagram for swissknife::CommandInfoTag:
Collaboration diagram for swissknife::CommandInfoTag:

Public Member Functions

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::CommandTag
 CommandTag ()
 
- 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

std::string HumanReadableFilesize (const size_t filesize) const
 
void PrintHumanReadableInfo (const history::History::Tag &tag) const
 
- Protected Member Functions inherited from swissknife::CommandTag
EnvironmentInitializeEnvironment (const ArgumentList &args, const bool read_write)
 
bool CloseAndPublishHistory (Environment *environment)
 
bool UploadCatalogAndUpdateManifest (Environment *env, catalog::WritableCatalog *catalog)
 
void UploadClosure (const upload::SpoolerResult &result, Future< shash::Any > *hash)
 
bool UpdateUndoTags (Environment *env, const history::History::Tag &current_head_template, const bool undo_rollback=false)
 
bool FetchObject (const std::string &repository_url, const shash::Any &object_hash, const std::string &destination_path) const
 
history::HistoryGetHistory (const manifest::Manifest *manifest, const std::string &repository_url, const std::string &history_path, const bool read_write) const
 
catalog::CatalogGetCatalog (const std::string &repository_url, const shash::Any &catalog_hash, const std::string catalog_path, const bool read_write) const
 
void PrintTagMachineReadable (const history::History::Tag &tag) const
 
std::string AddPadding (const std::string &str, const size_t padding, const bool align_right=false, const std::string &fill_char=" ") const
 
bool IsUndoTagName (const std::string &tag_name) const
 

Additional Inherited Members

- Static Public Attributes inherited from swissknife::CommandTag
static const std::string kHeadTagDescription = "current HEAD"
 
static const std::string kPreviousHeadTagDescription
 
- Static Public Attributes inherited from swissknife::Command
static const char kGenericParam = '+'
 
static const char kGenericParamSeparator = ','
 
- Protected Types inherited from swissknife::CommandTag
typedef std::vector
< history::History::Tag
TagList
 
typedef std::vector
< history::History::Branch
BranchList
 
- Protected Attributes inherited from ServerTool
UniquePtr
< download::DownloadManager
download_manager_
 
UniquePtr
< signature::SignatureManager
signature_manager_
 
perf::Statistics statistics_
 

Detailed Description

Definition at line 172 of file swissknife_history.h.

Member Function Documentation

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

Implements swissknife::Command.

Definition at line 175 of file swissknife_history.h.

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

Implements swissknife::Command.

Definition at line 174 of file swissknife_history.h.

ParameterList CommandInfoTag::GetParams ( ) const
virtual

Implements swissknife::Command.

Definition at line 940 of file swissknife_history.cc.

Here is the call graph for this function:

std::string CommandInfoTag::HumanReadableFilesize ( const size_t  filesize) const
protected

Definition at line 949 of file swissknife_history.cc.

Here is the call graph for this function:

int CommandInfoTag::Main ( const ArgumentList args)
virtual

Implements swissknife::Command.

Definition at line 983 of file swissknife_history.cc.

Here is the call graph for this function:

void CommandInfoTag::PrintHumanReadableInfo ( const history::History::Tag tag) const
protected

Definition at line 965 of file swissknife_history.cc.

Here is the call graph for this function:


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