5 #ifndef CVMFS_CATALOG_MGR_CLIENT_H_
6 #define CVMFS_CATALOG_MGR_CLIENT_H_
17 #include "gtest/gtest_prod.h"
53 FRIEND_TEST(T_CatalogManagerClient, LoadByHashNetworkFailure);
54 FRIEND_TEST(T_CatalogManagerClient, LoadRootCatalog);
91 const std::string &name,
92 const std::string &alt_catalog_path,
93 std::string *catalog_path);
144 #endif // CVMFS_CATALOG_MGR_CLIENT_H_
shash::Any fixed_root_catalog_
cvmfs::Fetcher * fetcher_
UniquePtr< manifest::Manifest > manifest_
perf::Counter * n_certificate_misses_
bool fixed_alt_root_catalog_
BackoffThrottle backoff_throttle_
virtual void StageNestedCatalogByHash(const shash::Any &hash, const PathString &mountpoint)
CachedManifestEnsemble(CacheManager *cache_mgr, ClientCatalogManager *catalog_mgr)
perf::Counter * n_certificate_hits_
std::map< PathString, shash::Any > loaded_catalogs_
std::string repo_name() const
LoadReturn FetchCatalogByHash(const shash::Any &hash, const std::string &name, const std::string &alt_catalog_path, std::string *catalog_path)
bool IsRevisionBlacklisted()
std::map< PathString, shash::Any > mounted_catalogs_
void FetchCertificate(const shash::Any &hash)
virtual LoadReturn LoadCatalogByHash(CatalogContext *ctlg_context)
ClientCatalogManager(MountPoint *mountpoint)
ClientCatalogManager * catalog_mgr_
bool InitFixed(const shash::Any &root_hash, bool alternative_path)
std::string GetCatalogDescription(const PathString &mountpoint, const shash::Any &hash)
CacheManager * cache_mgr_
signature::SignatureManager * signature_mgr_
catalog::Catalog * CreateCatalog(const PathString &mountpoint, const shash::Any &catalog_hash, catalog::Catalog *parent_catalog)
FRIEND_TEST(T_CatalogManagerClient, MountLatest)
virtual ~ClientCatalogManager()
uint64_t all_inodes() const
virtual LoadReturn GetNewRootCatalogContext(CatalogContext *result)
void ActivateCatalog(catalog::Catalog *catalog)
bool offline_mode() const
manifest::Manifest * manifest() const
uint64_t loaded_inodes() const
void UnloadCatalog(const catalog::Catalog *catalog)