Struct bollard_stubs::models::SwarmSpecCaConfig[][src]

pub struct SwarmSpecCaConfig {
    pub node_cert_expiry: Option<i64>,
    pub external_cas: Option<Vec<SwarmSpecCaConfigExternalCAs>>,
    pub signing_ca_cert: Option<String>,
    pub signing_ca_key: Option<String>,
    pub force_rotate: Option<u64>,
}

CA configuration.

Fields

node_cert_expiry: Option<i64>

The duration node certificates are issued for.

external_cas: Option<Vec<SwarmSpecCaConfigExternalCAs>>

Configuration for forwarding signing requests to an external certificate authority.

signing_ca_cert: Option<String>

The desired signing CA certificate for all swarm node TLS leaf certificates, in PEM format.

signing_ca_key: Option<String>

The desired signing CA key for all swarm node TLS leaf certificates, in PEM format.

force_rotate: Option<u64>

An integer whose purpose is to force swarm to generate a new signing CA certificate and key, if none have been specified in SigningCACert and SigningCAKey

Trait Implementations

impl Clone for SwarmSpecCaConfig[src]

impl Debug for SwarmSpecCaConfig[src]

impl Default for SwarmSpecCaConfig[src]

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

impl PartialEq<SwarmSpecCaConfig> for SwarmSpecCaConfig[src]

impl Serialize for SwarmSpecCaConfig[src]

impl StructuralPartialEq for SwarmSpecCaConfig[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.