Struct sozu_command_lib::config::Config
[−]
[src]
pub struct Config { pub command_socket: String, pub command_buffer_size: Option<usize>, pub max_command_buffer_size: Option<usize>, pub saved_state: Option<String>, pub metrics: MetricsConfig, pub proxies: HashMap<String, ProxyConfig>, pub log_level: Option<String>, pub log_target: Option<String>, pub applications: HashMap<String, AppConfig>, }
Fields
command_socket: String
command_buffer_size: Option<usize>
max_command_buffer_size: Option<usize>
saved_state: Option<String>
metrics: MetricsConfig
proxies: HashMap<String, ProxyConfig>
log_level: Option<String>
log_target: Option<String>
applications: HashMap<String, AppConfig>
Methods
impl Config
[src]
fn load_from_path(path: &str) -> Result<Config>
fn generate_config_messages(&self) -> Vec<ConfigMessage>
fn load_file(path: &str) -> Result<String>
fn split_certificate_chain(chain: String) -> Vec<String>
Trait Implementations
impl Debug for Config
[src]
impl Clone for Config
[src]
fn clone(&self) -> Config
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Config
[src]
fn eq(&self, __arg_0: &Config) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Config) -> bool
This method tests for !=
.