pub struct KubernetesSettings {
pub cluster: Option<KubernetesClusterSettings>,
pub exposure: Option<KubernetesExposureSettings>,
}Expand description
Kubernetes runtime substrate configuration.
This controls how setup chooses the cluster backing Platform::Kubernetes
deployments. When omitted, cloud-backed Kubernetes deployments default to a
managed cluster and generic/on-prem Kubernetes defaults to an external
cluster.
JSON schema
{
"description": "Kubernetes runtime substrate configuration.\n\nThis controls how setup chooses the cluster backing `Platform::Kubernetes`\ndeployments. When omitted, cloud-backed Kubernetes deployments default to a\nmanaged cluster and generic/on-prem Kubernetes defaults to an external\ncluster.",
"type": "object",
"properties": {
"cluster": {
"$ref": "#/components/schemas/KubernetesClusterSettings"
},
"exposure": {
"$ref": "#/components/schemas/KubernetesExposureSettings"
}
}
}Fields§
§cluster: Option<KubernetesClusterSettings>§exposure: Option<KubernetesExposureSettings>Implementations§
Source§impl KubernetesSettings
impl KubernetesSettings
pub fn builder() -> KubernetesSettings
Trait Implementations§
Source§impl Clone for KubernetesSettings
impl Clone for KubernetesSettings
Source§fn clone(&self) -> KubernetesSettings
fn clone(&self) -> KubernetesSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 KubernetesSettings
impl Debug for KubernetesSettings
Source§impl Default for KubernetesSettings
impl Default for KubernetesSettings
Source§impl<'de> Deserialize<'de> for KubernetesSettings
impl<'de> Deserialize<'de> for KubernetesSettings
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 From<&KubernetesSettings> for KubernetesSettings
impl From<&KubernetesSettings> for KubernetesSettings
Source§fn from(value: &KubernetesSettings) -> Self
fn from(value: &KubernetesSettings) -> Self
Converts to this type from the input type.
Source§impl From<KubernetesSettings> for KubernetesSettings
impl From<KubernetesSettings> for KubernetesSettings
Source§fn from(value: KubernetesSettings) -> Self
fn from(value: KubernetesSettings) -> Self
Converts to this type from the input type.
Source§impl Serialize for KubernetesSettings
impl Serialize for KubernetesSettings
Source§impl TryFrom<KubernetesSettings> for KubernetesSettings
impl TryFrom<KubernetesSettings> for KubernetesSettings
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: KubernetesSettings) -> Result<Self, ConversionError>
fn try_from(value: KubernetesSettings) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for KubernetesSettings
impl RefUnwindSafe for KubernetesSettings
impl Send for KubernetesSettings
impl Sync for KubernetesSettings
impl Unpin for KubernetesSettings
impl UnsafeUnpin for KubernetesSettings
impl UnwindSafe for KubernetesSettings
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