Struct sozu_command_lib::config::HttpFrontendConfig
source · pub struct HttpFrontendConfig {
pub address: SocketAddr,
pub hostname: String,
pub path: PathRule,
pub method: Option<String>,
pub certificate: Option<String>,
pub key: Option<String>,
pub certificate_chain: Option<Vec<String>>,
pub tls_versions: Vec<TlsVersion>,
pub position: RulePosition,
pub tags: Option<BTreeMap<String, String>>,
}
Fields§
§address: SocketAddr
§hostname: String
§path: PathRule
§method: Option<String>
§certificate: Option<String>
§key: Option<String>
§certificate_chain: Option<Vec<String>>
§tls_versions: Vec<TlsVersion>
§position: RulePosition
Implementations§
source§impl HttpFrontendConfig
impl HttpFrontendConfig
pub fn generate_orders(&self, cluster_id: &str) -> Vec<ProxyRequestOrder>
Trait Implementations§
source§impl Clone for HttpFrontendConfig
impl Clone for HttpFrontendConfig
source§fn clone(&self) -> HttpFrontendConfig
fn clone(&self) -> HttpFrontendConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for HttpFrontendConfig
impl Debug for HttpFrontendConfig
source§impl<'de> Deserialize<'de> for HttpFrontendConfig
impl<'de> Deserialize<'de> for HttpFrontendConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more