[][src]Struct k8s_openapi::api::core::v1::LoadBalancerIngress

pub struct LoadBalancerIngress {
    pub hostname: Option<String>,
    pub ip: Option<String>,
    pub ports: Option<Vec<PortStatus>>,
}

LoadBalancerIngress represents the status of a load-balancer ingress point: traffic intended for the service should be sent to an ingress point.

Fields

hostname: Option<String>

Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers)

ip: Option<String>

IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers)

ports: Option<Vec<PortStatus>>

Ports is a list of records of service ports If used, every port defined in the service should have an entry in it

Trait Implementations

impl Clone for LoadBalancerIngress[src]

impl Debug for LoadBalancerIngress[src]

impl Default for LoadBalancerIngress[src]

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

impl PartialEq<LoadBalancerIngress> for LoadBalancerIngress[src]

impl Serialize for LoadBalancerIngress[src]

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