CernVM-FS
2.12.0
|
#include <settings.h>
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 SettingsStorage & | storage () const |
const SettingsTransaction & | transaction () const |
const SettingsKeychain & | keychain () const |
SettingsStorage * | GetStorage () |
SettingsTransaction * | GetTransaction () |
SettingsKeychain * | GetKeychain () |
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_ |
Description of an editable repository.
Definition at line 398 of file settings.h.
|
inlineexplicit |
Definition at line 402 of file settings.h.
|
explicit |
|
inline |
Definition at line 428 of file settings.h.
|
inline |
Definition at line 445 of file settings.h.
Referenced by publish::SettingsBuilder::ApplyOptionsFromServerPath(), and publish::CmdMkfs::Main().
std::string publish::SettingsPublisher::GetReadOnlyXAttr | ( | const std::string & | attr | ) |
|
inline |
Definition at line 443 of file settings.h.
Referenced by publish::SettingsBuilder::ApplyOptionsFromServerPath(), and publish::CmdMkfs::Main().
|
inline |
Definition at line 444 of file settings.h.
Referenced by publish::SettingsBuilder::ApplyOptionsFromServerPath(), and publish::CmdMkfs::Main().
|
inline |
Definition at line 438 of file settings.h.
|
inline |
Definition at line 437 of file settings.h.
Referenced by publish::Publisher().
|
inline |
Definition at line 436 of file settings.h.
|
inline |
Definition at line 442 of file settings.h.
Referenced by publish::Publisher(), and publish::SettingsRepository::SettingsRepository().
|
inline |
Definition at line 435 of file settings.h.
|
inline |
Definition at line 434 of file settings.h.
|
inline |
Definition at line 430 of file settings.h.
Referenced by SetProxy().
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().
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 | ) |
void publish::SettingsPublisher::SetUrl | ( | const std::string & | url | ) |
Definition at line 349 of file settings.cc.
Referenced by publish::CmdMkfs::Main().
|
inline |
Definition at line 440 of file settings.h.
Referenced by publish::CmdMkfs::Main(), and publish::Publisher().
|
inline |
Definition at line 441 of file settings.h.
Referenced by GetReadOnlyXAttr(), publish::CmdMkfs::Main(), and publish::Publisher().
|
inline |
Definition at line 429 of file settings.h.
Referenced by SetUrl().
|
inline |
Definition at line 431 of file settings.h.
|
private |
Definition at line 448 of file settings.h.
Referenced by fqrn().
|
private |
Definition at line 458 of file settings.h.
Referenced by ignore_invalid_lease(), and SetIgnoreInvalidLease().
|
private |
Definition at line 455 of file settings.h.
Referenced by is_managed(), and SetIsManaged().
|
private |
Definition at line 454 of file settings.h.
Referenced by is_silent(), and SetIsSilent().
|
static |
Definition at line 400 of file settings.h.
|
private |
Definition at line 462 of file settings.h.
Referenced by GetKeychain(), keychain(), and SettingsPublisher().
|
private |
Definition at line 452 of file settings.h.
Referenced by owner_gid(), and SetOwner().
|
private |
Definition at line 451 of file settings.h.
Referenced by owner_uid(), and SetOwner().
|
private |
Definition at line 450 of file settings.h.
Referenced by proxy(), and SetProxy().
|
private |
Definition at line 460 of file settings.h.
Referenced by GetStorage(), and storage().
|
private |
Definition at line 461 of file settings.h.
Referenced by GetTransaction(), and transaction().
|
private |
Definition at line 449 of file settings.h.
|
private |
Definition at line 453 of file settings.h.
Referenced by whitelist_validity_days().