pub struct KubernetesDeploymentConfig {
pub replicas: Option<u32>,
pub port: Option<u16>,
pub ingress_host: Option<String>,
pub cpu_request: Option<String>,
pub memory_request: Option<String>,
pub cpu_limit: Option<String>,
pub memory_limit: Option<String>,
pub autoscaling: Option<bool>,
pub disruption_budget: Option<bool>,
pub network_policy: Option<bool>,
}Fields§
§replicas: Option<u32>§port: Option<u16>§ingress_host: Option<String>§cpu_request: Option<String>§memory_request: Option<String>§cpu_limit: Option<String>§memory_limit: Option<String>§autoscaling: Option<bool>§disruption_budget: Option<bool>§network_policy: Option<bool>Implementations§
Trait Implementations§
Source§impl Clone for KubernetesDeploymentConfig
impl Clone for KubernetesDeploymentConfig
Source§fn clone(&self) -> KubernetesDeploymentConfig
fn clone(&self) -> KubernetesDeploymentConfig
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 KubernetesDeploymentConfig
impl Debug for KubernetesDeploymentConfig
Source§impl Default for KubernetesDeploymentConfig
impl Default for KubernetesDeploymentConfig
Source§fn default() -> KubernetesDeploymentConfig
fn default() -> KubernetesDeploymentConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for KubernetesDeploymentConfig
impl<'de> Deserialize<'de> for KubernetesDeploymentConfig
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
impl Eq for KubernetesDeploymentConfig
impl StructuralPartialEq for KubernetesDeploymentConfig
Auto Trait Implementations§
impl Freeze for KubernetesDeploymentConfig
impl RefUnwindSafe for KubernetesDeploymentConfig
impl Send for KubernetesDeploymentConfig
impl Sync for KubernetesDeploymentConfig
impl Unpin for KubernetesDeploymentConfig
impl UnsafeUnpin for KubernetesDeploymentConfig
impl UnwindSafe for KubernetesDeploymentConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> ⓘ
Converts
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> ⓘ
Converts
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request