CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
publish::SettingsPublisher Class Reference

#include <settings.h>

Collaboration diagram for publish::SettingsPublisher:

Public Member Functions

 SettingsPublisher (const std::string &fqrn)
 
 SettingsPublisher (const SettingsRepository &settings_repository)
 
void SetUrl (const std::string &url)
 
void SetProxy (const std::string &proxy)
 
void SetOwner (const std::string &user_name)
 
void SetOwner (uid_t uid, gid_t gid)
 
void SetIsSilent (bool value)
 
void SetIsManaged (bool value)
 
std::string GetReadOnlyXAttr (const std::string &attr)
 
std::string fqrn () const
 
std::string url () const
 
std::string proxy () const
 
unsigned whitelist_validity_days () const
 
uid_t owner_uid () const
 
uid_t owner_gid () const
 
bool is_silent () const
 
bool is_managed () const
 
const SettingsStoragestorage () const
 
const SettingsTransactiontransaction () const
 
const SettingsKeychainkeychain () const
 
SettingsStorageGetStorage ()
 
SettingsTransactionGetTransaction ()
 
SettingsKeychainGetKeychain ()
 

Static Public Attributes

static const unsigned kDefaultWhitelistValidity = 30
 

Private Attributes

Setting< std::string > fqrn_
 
Setting< std::string > url_
 
Setting< std::string > proxy_
 
Setting< uid_t > owner_uid_
 
Setting< gid_t > owner_gid_
 
Setting< unsigned > whitelist_validity_days_
 
Setting< bool > is_silent_
 
Setting< bool > is_managed_
 
SettingsStorage storage_
 
SettingsTransaction transaction_
 
SettingsKeychain keychain_
 

Detailed Description

Description of an editable repository.

Definition at line 393 of file settings.h.

Constructor & Destructor Documentation

publish::SettingsPublisher::SettingsPublisher ( const std::string &  fqrn)
inlineexplicit

Definition at line 397 of file settings.h.

publish::SettingsPublisher::SettingsPublisher ( const SettingsRepository settings_repository)
explicit

Definition at line 318 of file settings.cc.

Here is the call graph for this function:

Member Function Documentation

std::string publish::SettingsPublisher::fqrn ( ) const
inline

Definition at line 421 of file settings.h.

SettingsKeychain* publish::SettingsPublisher::GetKeychain ( )
inline

Definition at line 437 of file settings.h.

Referenced by publish::CmdMkfs::Main().

Here is the caller graph for this function:

std::string publish::SettingsPublisher::GetReadOnlyXAttr ( const std::string &  attr)

Definition at line 477 of file settings.cc.

Here is the call graph for this function:

SettingsStorage* publish::SettingsPublisher::GetStorage ( )
inline

Definition at line 435 of file settings.h.

Referenced by publish::CmdMkfs::Main().

Here is the caller graph for this function:

SettingsTransaction* publish::SettingsPublisher::GetTransaction ( )
inline

Definition at line 436 of file settings.h.

Referenced by publish::CmdMkfs::Main().

Here is the caller graph for this function:

bool publish::SettingsPublisher::is_managed ( ) const
inline

Definition at line 430 of file settings.h.

Referenced by publish::Publisher().

Here is the caller graph for this function:

bool publish::SettingsPublisher::is_silent ( ) const
inline

Definition at line 429 of file settings.h.

const SettingsKeychain& publish::SettingsPublisher::keychain ( ) const
inline

Definition at line 434 of file settings.h.

Referenced by publish::Publisher(), and publish::SettingsRepository::SettingsRepository().

Here is the caller graph for this function:

uid_t publish::SettingsPublisher::owner_gid ( ) const
inline

Definition at line 428 of file settings.h.

uid_t publish::SettingsPublisher::owner_uid ( ) const
inline

Definition at line 427 of file settings.h.

std::string publish::SettingsPublisher::proxy ( ) const
inline

Definition at line 423 of file settings.h.

Referenced by SetProxy().

Here is the caller graph for this function:

void publish::SettingsPublisher::SetIsManaged ( bool  value)

Definition at line 363 of file settings.cc.

void publish::SettingsPublisher::SetIsSilent ( bool  value)

Definition at line 359 of file settings.cc.

void publish::SettingsPublisher::SetOwner ( const std::string &  user_name)

Definition at line 347 of file settings.cc.

Referenced by publish::CmdMkfs::Main().

Here is the call graph for this function:

Here is the caller graph for this function:

void publish::SettingsPublisher::SetOwner ( uid_t  uid,
gid_t  gid 
)

Definition at line 354 of file settings.cc.

void publish::SettingsPublisher::SetProxy ( const std::string &  proxy)

Definition at line 342 of file settings.cc.

Here is the call graph for this function:

void publish::SettingsPublisher::SetUrl ( const std::string &  url)

Definition at line 336 of file settings.cc.

Referenced by publish::CmdMkfs::Main().

Here is the call graph for this function:

Here is the caller graph for this function:

const SettingsStorage& publish::SettingsPublisher::storage ( ) const
inline

Definition at line 432 of file settings.h.

Referenced by publish::CmdMkfs::Main(), and publish::Publisher().

Here is the caller graph for this function:

const SettingsTransaction& publish::SettingsPublisher::transaction ( ) const
inline

Definition at line 433 of file settings.h.

Referenced by GetReadOnlyXAttr(), publish::CmdMkfs::Main(), and publish::Publisher().

Here is the caller graph for this function:

std::string publish::SettingsPublisher::url ( ) const
inline

Definition at line 422 of file settings.h.

Referenced by SetUrl().

Here is the caller graph for this function:

unsigned publish::SettingsPublisher::whitelist_validity_days ( ) const
inline

Definition at line 424 of file settings.h.

Member Data Documentation

Setting<std::string> publish::SettingsPublisher::fqrn_
private

Definition at line 440 of file settings.h.

Referenced by fqrn().

Setting<bool> publish::SettingsPublisher::is_managed_
private

Definition at line 447 of file settings.h.

Referenced by is_managed(), and SetIsManaged().

Setting<bool> publish::SettingsPublisher::is_silent_
private

Definition at line 446 of file settings.h.

Referenced by is_silent(), and SetIsSilent().

const unsigned publish::SettingsPublisher::kDefaultWhitelistValidity = 30
static

Definition at line 395 of file settings.h.

SettingsKeychain publish::SettingsPublisher::keychain_
private

Definition at line 451 of file settings.h.

Referenced by GetKeychain(), keychain(), and SettingsPublisher().

Setting<gid_t> publish::SettingsPublisher::owner_gid_
private

Definition at line 444 of file settings.h.

Referenced by owner_gid(), and SetOwner().

Setting<uid_t> publish::SettingsPublisher::owner_uid_
private

Definition at line 443 of file settings.h.

Referenced by owner_uid(), and SetOwner().

Setting<std::string> publish::SettingsPublisher::proxy_
private

Definition at line 442 of file settings.h.

Referenced by proxy(), and SetProxy().

SettingsStorage publish::SettingsPublisher::storage_
private

Definition at line 449 of file settings.h.

Referenced by GetStorage(), and storage().

SettingsTransaction publish::SettingsPublisher::transaction_
private

Definition at line 450 of file settings.h.

Referenced by GetTransaction(), and transaction().

Setting<std::string> publish::SettingsPublisher::url_
private

Definition at line 441 of file settings.h.

Referenced by SetUrl(), and url().

Setting<unsigned> publish::SettingsPublisher::whitelist_validity_days_
private

Definition at line 445 of file settings.h.

Referenced by whitelist_validity_days().


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