[][src]Struct bollard_stubs::models::SwarmSpecCaConfigExternalCAs

pub struct SwarmSpecCaConfigExternalCAs {
    pub protocol: Option<SwarmSpecCaConfigExternalCAsProtocolEnum>,
    pub url: Option<String>,
    pub options: Option<HashMap<String, String>>,
    pub ca_cert: Option<String>,
}

Fields

protocol: Option<SwarmSpecCaConfigExternalCAsProtocolEnum>

Protocol for communication with the external CA (currently only cfssl is supported).

url: Option<String>

URL where certificate signing requests should be sent.

options: Option<HashMap<String, String>>

An object with key/value pairs that are interpreted as protocol-specific options for the external CA driver.

ca_cert: Option<String>

The root CA certificate (in PEM format) this external CA uses to issue TLS certificates (assumed to be to the current swarm root CA certificate if not provided).

Trait Implementations

impl Clone for SwarmSpecCaConfigExternalCAs[src]

impl Debug for SwarmSpecCaConfigExternalCAs[src]

impl Default for SwarmSpecCaConfigExternalCAs[src]

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

impl PartialEq<SwarmSpecCaConfigExternalCAs> for SwarmSpecCaConfigExternalCAs[src]

impl Serialize for SwarmSpecCaConfigExternalCAs[src]

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