[][src]Struct openshift_openapi::api::route::v1::TLSConfig

pub struct TLSConfig {
    pub ca_certificate: Option<String>,
    pub certificate: Option<String>,
    pub destination_ca_certificate: Option<String>,
    pub insecure_edge_termination_policy: Option<String>,
    pub key: Option<String>,
    pub termination: String,
}

TLSConfig defines config used to secure a route and provide termination

Fields

ca_certificate: Option<String>

caCertificate provides the cert authority certificate contents

certificate: Option<String>

certificate provides certificate contents

destination_ca_certificate: Option<String>

destinationCACertificate provides the contents of the ca certificate of the final destination. When using reencrypt termination this file should be provided in order to have routers use it for health checks on the secure connection. If this field is not specified, the router may provide its own destination CA and perform hostname validation using the short service name (service.namespace.svc), which allows infrastructure generated certificates to automatically verify.

insecure_edge_termination_policy: Option<String>

insecureEdgeTerminationPolicy indicates the desired behavior for insecure connections to a route. While each router may make its own decisions on which ports to expose, this is normally port 80.

  • Allow - traffic is sent to the server on the insecure port (default) * Disable - no traffic is allowed on the insecure port. * Redirect - clients are redirected to the secure port.
key: Option<String>

key provides key file contents

termination: String

termination indicates termination type.

Trait Implementations

impl Clone for TLSConfig[src]

impl Debug for TLSConfig[src]

impl Default for TLSConfig[src]

impl<'de> Deserialize<'de> for TLSConfig[src]

impl PartialEq<TLSConfig> for TLSConfig[src]

impl Serialize for TLSConfig[src]

impl StructuralPartialEq for TLSConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.