pub struct ExtensionConfigClientConfig {
pub ca_bundle: Option<String>,
pub service: Option<ExtensionConfigClientConfigService>,
pub url: Option<String>,
}
Expand description
clientConfig defines how to communicate with the Extension server.
Fields§
§ca_bundle: Option<String>
caBundle is a PEM encoded CA bundle which will be used to validate the Extension server’s server certificate.
service: Option<ExtensionConfigClientConfigService>
service is a reference to the Kubernetes service for the Extension server.
Note: Exactly one of url
or service
must be specified.
If the Extension server is running within a cluster, then you should use service
.
url: Option<String>
url gives the location of the Extension server, in standard URL form
(scheme://host:port/path
).
Note: Exactly one of url
or service
must be specified.
The scheme must be “https”.
The host
should not refer to a service running in the cluster; use
the service
field instead.
A path is optional, and if present may be any string permissible in a URL. If a path is set it will be used as prefix to the hook-specific path.
Attempting to use a user or basic auth e.g. “user:password@” is not allowed. Fragments (“#…”) and query parameters (“?…”) are not allowed either.
Trait Implementations§
Source§impl Clone for ExtensionConfigClientConfig
impl Clone for ExtensionConfigClientConfig
Source§fn clone(&self) -> ExtensionConfigClientConfig
fn clone(&self) -> ExtensionConfigClientConfig
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExtensionConfigClientConfig
impl Debug for ExtensionConfigClientConfig
Source§impl Default for ExtensionConfigClientConfig
impl Default for ExtensionConfigClientConfig
Source§fn default() -> ExtensionConfigClientConfig
fn default() -> ExtensionConfigClientConfig
Source§impl<'de> Deserialize<'de> for ExtensionConfigClientConfig
impl<'de> Deserialize<'de> for ExtensionConfigClientConfig
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>,
Source§impl JsonSchema for ExtensionConfigClientConfig
impl JsonSchema for ExtensionConfigClientConfig
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref
keyword. Read moreSource§impl PartialEq for ExtensionConfigClientConfig
impl PartialEq for ExtensionConfigClientConfig
Source§fn eq(&self, other: &ExtensionConfigClientConfig) -> bool
fn eq(&self, other: &ExtensionConfigClientConfig) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ExtensionConfigClientConfig
Auto Trait Implementations§
impl Freeze for ExtensionConfigClientConfig
impl RefUnwindSafe for ExtensionConfigClientConfig
impl Send for ExtensionConfigClientConfig
impl Sync for ExtensionConfigClientConfig
impl Unpin for ExtensionConfigClientConfig
impl UnwindSafe for ExtensionConfigClientConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more