CernVM-FS  2.12.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)
 
void SetIgnoreInvalidLease (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
 
bool ignore_invalid_lease () 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_
 
Setting< bool > ignore_invalid_lease_
 
SettingsStorage storage_
 
SettingsTransaction transaction_
 
SettingsKeychain keychain_
 

Detailed Description

Description of an editable repository.

Definition at line 398 of file settings.h.

Constructor & Destructor Documentation

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

Definition at line 402 of file settings.h.

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

Definition at line 331 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 428 of file settings.h.

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

Definition at line 445 of file settings.h.

Referenced by publish::SettingsBuilder::ApplyOptionsFromServerPath(), and publish::CmdMkfs::Main().

Here is the caller graph for this function:

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

Definition at line 494 of file settings.cc.

Here is the call graph for this function:

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

Definition at line 443 of file settings.h.

Referenced by publish::SettingsBuilder::ApplyOptionsFromServerPath(), and publish::CmdMkfs::Main().

Here is the caller graph for this function:

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

Definition at line 444 of file settings.h.

Referenced by publish::SettingsBuilder::ApplyOptionsFromServerPath(), and publish::CmdMkfs::Main().

Here is the caller graph for this function:

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

Definition at line 438 of file settings.h.

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

Definition at line 437 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 436 of file settings.h.

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

Definition at line 442 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 435 of file settings.h.

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

Definition at line 434 of file settings.h.

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

Definition at line 430 of file settings.h.

Referenced by SetProxy().

Here is the caller graph for this function:

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

Definition at line 380 of file settings.cc.

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

Definition at line 376 of file settings.cc.

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

Definition at line 372 of file settings.cc.

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

Definition at line 360 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 367 of file settings.cc.

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

Definition at line 355 of file settings.cc.

Here is the call graph for this function:

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

Definition at line 349 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 440 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 441 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 429 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 431 of file settings.h.

Member Data Documentation

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

Definition at line 448 of file settings.h.

Referenced by fqrn().

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

Definition at line 458 of file settings.h.

Referenced by ignore_invalid_lease(), and SetIgnoreInvalidLease().

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

Definition at line 455 of file settings.h.

Referenced by is_managed(), and SetIsManaged().

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

Definition at line 454 of file settings.h.

Referenced by is_silent(), and SetIsSilent().

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

Definition at line 400 of file settings.h.

SettingsKeychain publish::SettingsPublisher::keychain_
private

Definition at line 462 of file settings.h.

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

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

Definition at line 452 of file settings.h.

Referenced by owner_gid(), and SetOwner().

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

Definition at line 451 of file settings.h.

Referenced by owner_uid(), and SetOwner().

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

Definition at line 450 of file settings.h.

Referenced by proxy(), and SetProxy().

SettingsStorage publish::SettingsPublisher::storage_
private

Definition at line 460 of file settings.h.

Referenced by GetStorage(), and storage().

SettingsTransaction publish::SettingsPublisher::transaction_
private

Definition at line 461 of file settings.h.

Referenced by GetTransaction(), and transaction().

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

Definition at line 449 of file settings.h.

Referenced by SetUrl(), and url().

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

Definition at line 453 of file settings.h.

Referenced by whitelist_validity_days().


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