Apache Mesos
Public Member Functions | Public Attributes | List of all members
mesos::internal::master::Flags Class Reference

#include <flags.hpp>

Inheritance diagram for mesos::internal::master::Flags:
mesos::internal::logging::Flags flags::FlagsBase

Public Member Functions

 Flags ()
 
- Public Member Functions inherited from mesos::internal::logging::Flags
 Flags ()
 
- Public Member Functions inherited from flags::FlagsBase
 FlagsBase ()
 
virtual ~FlagsBase ()=default
 
 FlagsBase (const FlagsBase &)=default
 
 FlagsBase (FlagsBase &&)=delete
 
FlagsBaseoperator= (const FlagsBase &)=default
 
FlagsBaseoperator= (FlagsBase &&)=delete
 
virtual Try< Warningsload (const std::string &prefix)
 
virtual Try< Warningsload (const Option< std::string > &prefix, int argc, const char *const *argv, bool unknowns=false, bool duplicates=false)
 
virtual Try< Warningsload (const Option< std::string > &prefix, int *argc, char ***argv, bool unknowns=false, bool duplicates=false)
 
virtual Try< Warningsload (const std::map< std::string, Option< std::string >> &values, bool unknowns=false, const Option< std::string > &prefix=None())
 
virtual Try< Warningsload (const std::map< std::string, std::string > &values, bool unknowns=false, const Option< std::string > &prefix=None())
 
std::string usage (const Option< std::string > &message=None()) const
 
void setUsageMessage (const std::string &message)
 
const_iterator begin () const
 
const_iterator end () const
 
iterator begin ()
 
iterator end ()
 
template<typename Flags , typename T1 , typename T2 , typename F >
void add (T1 Flags::*t1, const Name &name, const Option< Name > &alias, const std::string &help, const T2 *t2, F validate)
 
template<typename Flags , typename T1 , typename T2 , typename F >
void add (T1 Flags::*t1, const Name &name, const Option< Name > &alias, const std::string &help, const T2 &t2, F validate)
 
template<typename Flags , typename T1 , typename T2 , typename F >
void add (T1 Flags::*t1, const Name &name, const std::string &help, const T2 &t2, F validate)
 
template<typename Flags , typename T1 , typename T2 >
void add (T1 Flags::*t1, const Name &name, const std::string &help, const T2 &t2)
 
template<typename Flags , typename T >
void add (T Flags::*t, const Name &name, const std::string &help)
 
template<typename Flags , typename T1 , typename T2 >
void add (T1 Flags::*t1, const Name &name, const Option< Name > &alias, const std::string &help, const T2 &t2)
 
template<typename Flags , typename T , typename F >
void add (Option< T > Flags::*option, const Name &name, const Option< Name > &alias, const std::string &help, F validate)
 
template<typename Flags , typename T , typename F >
void add (Option< T > Flags::*option, const Name &name, const std::string &help, F validate)
 
template<typename Flags , typename T >
void add (Option< T > Flags::*option, const Name &name, const std::string &help)
 
template<typename Flags , typename T >
void add (Option< T > Flags::*option, const Name &name, const Option< Name > &alias, const std::string &help)
 
void add (const Flag &flag)
 
std::map< std::string, Option< std::string > > extract (const std::string &prefix) const
 
std::map< std::string, std::string > buildEnvironment (const Option< std::string > &prefix=None()) const
 

Public Attributes

bool version
 
Option< std::string > hostname
 
bool hostname_lookup
 
bool root_submissions
 
Option< std::string > work_dir
 
std::string registry
 
Option< int > quorum
 
Duration zk_session_timeout
 
bool registry_strict
 
Duration registry_fetch_timeout
 
Duration registry_store_timeout
 
bool log_auto_initialize
 
Duration agent_reregister_timeout
 
std::string recovery_agent_removal_limit
 
Option< std::string > agent_removal_rate_limit
 
std::string webui_dir
 
Option< Pathwhitelist
 
std::string role_sorter
 
std::string framework_sorter
 
Duration allocation_interval
 
Option< std::string > cluster
 
Option< std::string > roles
 
Option< std::string > weights
 
bool authenticate_frameworks
 
bool authenticate_agents
 
bool authenticate_http_readonly
 
bool authenticate_http_readwrite
 
bool authenticate_http_frameworks
 
Option< Pathcredentials
 
Option< ACLs > acls
 
Option< Firewall > firewall_rules
 
Option< RateLimits > rate_limits
 
Option< Durationoffer_timeout
 
Option< Modules > modules
 
Option< std::string > modulesDir
 
std::string authenticators
 
std::string allocator
 
Option< std::set< std::string > > fair_sharing_excluded_resource_names
 
bool filter_gpu_resources
 
std::string min_allocatable_resources
 
Option< std::string > hooks
 
Duration agent_ping_timeout
 
size_t max_agent_ping_timeouts
 
std::string authorizers
 
std::string http_authenticators
 
Option< std::string > http_framework_authenticators
 
size_t max_completed_frameworks
 
size_t max_completed_tasks_per_framework
 
size_t max_unreachable_tasks_per_framework
 
Option< std::string > master_contender
 
Option< std::string > master_detector
 
Duration registry_gc_interval
 
Duration registry_max_agent_age
 
size_t registry_max_agent_count
 
bool require_agent_domain
 
Option< DomainInfo > domain
 
Option< std::string > ip
 
uint16_t port
 
Option< std::string > advertise_ip
 
Option< std::string > advertise_port
 
Option< flags::SecurePathOrValuezk
 
bool memory_profiling
 
Option< std::string > ip_discovery_command
 
- Public Attributes inherited from mesos::internal::logging::Flags
bool quiet
 
std::string logging_level
 
Option< std::string > log_dir
 
int logbufsecs
 
bool initialize_driver_logging
 
Option< std::string > external_log_file
 
- Public Attributes inherited from flags::FlagsBase
bool help
 

Additional Inherited Members

- Public Types inherited from flags::FlagsBase
typedef std::map< std::string, Flag >::const_iterator const_iterator
 
typedef std::map< std::string, Flag >::iterator iterator
 
- Protected Attributes inherited from flags::FlagsBase
std::string programName_
 
Option< std::string > usageMessage_
 

Constructor & Destructor Documentation

mesos::internal::master::Flags::Flags ( )

Member Data Documentation

Option<ACLs> mesos::internal::master::Flags::acls
Option<std::string> mesos::internal::master::Flags::advertise_ip
Option<std::string> mesos::internal::master::Flags::advertise_port
Duration mesos::internal::master::Flags::agent_ping_timeout
Option<std::string> mesos::internal::master::Flags::agent_removal_rate_limit
Duration mesos::internal::master::Flags::agent_reregister_timeout
Duration mesos::internal::master::Flags::allocation_interval
std::string mesos::internal::master::Flags::allocator
bool mesos::internal::master::Flags::authenticate_agents
bool mesos::internal::master::Flags::authenticate_frameworks
bool mesos::internal::master::Flags::authenticate_http_frameworks
bool mesos::internal::master::Flags::authenticate_http_readonly
bool mesos::internal::master::Flags::authenticate_http_readwrite
std::string mesos::internal::master::Flags::authenticators
std::string mesos::internal::master::Flags::authorizers
Option<std::string> mesos::internal::master::Flags::cluster
Option<Path> mesos::internal::master::Flags::credentials
Option<DomainInfo> mesos::internal::master::Flags::domain
Option<std::set<std::string> > mesos::internal::master::Flags::fair_sharing_excluded_resource_names
bool mesos::internal::master::Flags::filter_gpu_resources
Option<Firewall> mesos::internal::master::Flags::firewall_rules
std::string mesos::internal::master::Flags::framework_sorter
Option<std::string> mesos::internal::master::Flags::hooks
Option<std::string> mesos::internal::master::Flags::hostname
bool mesos::internal::master::Flags::hostname_lookup
std::string mesos::internal::master::Flags::http_authenticators
Option<std::string> mesos::internal::master::Flags::http_framework_authenticators
Option<std::string> mesos::internal::master::Flags::ip
Option<std::string> mesos::internal::master::Flags::ip_discovery_command
bool mesos::internal::master::Flags::log_auto_initialize
Option<std::string> mesos::internal::master::Flags::master_contender
Option<std::string> mesos::internal::master::Flags::master_detector
size_t mesos::internal::master::Flags::max_agent_ping_timeouts
size_t mesos::internal::master::Flags::max_completed_frameworks
size_t mesos::internal::master::Flags::max_completed_tasks_per_framework
size_t mesos::internal::master::Flags::max_unreachable_tasks_per_framework
bool mesos::internal::master::Flags::memory_profiling
std::string mesos::internal::master::Flags::min_allocatable_resources
Option<Modules> mesos::internal::master::Flags::modules
Option<std::string> mesos::internal::master::Flags::modulesDir
Option<Duration> mesos::internal::master::Flags::offer_timeout
uint16_t mesos::internal::master::Flags::port
Option<int> mesos::internal::master::Flags::quorum
Option<RateLimits> mesos::internal::master::Flags::rate_limits
std::string mesos::internal::master::Flags::recovery_agent_removal_limit
std::string mesos::internal::master::Flags::registry
Duration mesos::internal::master::Flags::registry_fetch_timeout
Duration mesos::internal::master::Flags::registry_gc_interval
Duration mesos::internal::master::Flags::registry_max_agent_age
size_t mesos::internal::master::Flags::registry_max_agent_count
Duration mesos::internal::master::Flags::registry_store_timeout
bool mesos::internal::master::Flags::registry_strict
bool mesos::internal::master::Flags::require_agent_domain
std::string mesos::internal::master::Flags::role_sorter
Option<std::string> mesos::internal::master::Flags::roles
bool mesos::internal::master::Flags::root_submissions
bool mesos::internal::master::Flags::version
std::string mesos::internal::master::Flags::webui_dir
Option<std::string> mesos::internal::master::Flags::weights
Option<Path> mesos::internal::master::Flags::whitelist
Option<std::string> mesos::internal::master::Flags::work_dir
Option<flags::SecurePathOrValue> mesos::internal::master::Flags::zk
Duration mesos::internal::master::Flags::zk_session_timeout

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