Struct k8s_openapi::api::networking::v1::IngressTLS
source · pub struct IngressTLS {
pub hosts: Option<Vec<String>>,
pub secret_name: Option<String>,
}
Expand description
IngressTLS describes the transport layer security associated with an ingress.
Fields§
§hosts: Option<Vec<String>>
hosts is a list of hosts included in the TLS certificate. The values in this list must match the name/s used in the tlsSecret. Defaults to the wildcard host setting for the loadbalancer controller fulfilling this Ingress, if left unspecified.
secret_name: Option<String>
secretName is the name of the secret used to terminate TLS traffic on port 443. Field is left optional to allow TLS routing based on SNI hostname alone. If the SNI host in a listener conflicts with the “Host” header field used by an IngressRule, the SNI host is used for termination and value of the “Host” header is used for routing.
Trait Implementations§
source§impl Clone for IngressTLS
impl Clone for IngressTLS
source§fn clone(&self) -> IngressTLS
fn clone(&self) -> IngressTLS
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 IngressTLS
impl Debug for IngressTLS
source§impl DeepMerge for IngressTLS
impl DeepMerge for IngressTLS
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
Merge
other
into self
.source§impl Default for IngressTLS
impl Default for IngressTLS
source§fn default() -> IngressTLS
fn default() -> IngressTLS
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for IngressTLS
impl<'de> Deserialize<'de> for IngressTLS
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
source§impl PartialEq for IngressTLS
impl PartialEq for IngressTLS
source§fn eq(&self, other: &IngressTLS) -> bool
fn eq(&self, other: &IngressTLS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for IngressTLS
impl Serialize for IngressTLS
impl StructuralPartialEq for IngressTLS
Auto Trait Implementations§
impl Freeze for IngressTLS
impl RefUnwindSafe for IngressTLS
impl Send for IngressTLS
impl Sync for IngressTLS
impl Unpin for IngressTLS
impl UnwindSafe for IngressTLS
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more