#[non_exhaustive]pub struct HttpLoadBalancing {
pub disabled: bool,
}Expand description
Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.disabled: boolWhether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.
Implementations§
Source§impl HttpLoadBalancing
impl HttpLoadBalancing
Sourcepub fn set_disabled<T: Into<bool>>(self, v: T) -> Self
pub fn set_disabled<T: Into<bool>>(self, v: T) -> Self
Sets the value of disabled.
Trait Implementations§
Source§impl Clone for HttpLoadBalancing
impl Clone for HttpLoadBalancing
Source§fn clone(&self) -> HttpLoadBalancing
fn clone(&self) -> HttpLoadBalancing
Returns a copy of the value. Read more
1.0.0 · 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 HttpLoadBalancing
impl Debug for HttpLoadBalancing
Source§impl Default for HttpLoadBalancing
impl Default for HttpLoadBalancing
Source§fn default() -> HttpLoadBalancing
fn default() -> HttpLoadBalancing
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HttpLoadBalancingwhere
HttpLoadBalancing: Default,
impl<'de> Deserialize<'de> for HttpLoadBalancingwhere
HttpLoadBalancing: Default,
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 Message for HttpLoadBalancing
impl Message for HttpLoadBalancing
Source§impl PartialEq for HttpLoadBalancing
impl PartialEq for HttpLoadBalancing
Source§impl Serialize for HttpLoadBalancing
impl Serialize for HttpLoadBalancing
impl StructuralPartialEq for HttpLoadBalancing
Auto Trait Implementations§
impl Freeze for HttpLoadBalancing
impl RefUnwindSafe for HttpLoadBalancing
impl Send for HttpLoadBalancing
impl Sync for HttpLoadBalancing
impl Unpin for HttpLoadBalancing
impl UnwindSafe for HttpLoadBalancing
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