Struct k8s_openapi::api::networking::v1::IngressBackend [−][src]
pub struct IngressBackend {
pub resource: Option<TypedLocalObjectReference>,
pub service: Option<IngressServiceBackend>,
}
Expand description
IngressBackend describes all endpoints for a given service and port.
Fields
resource: Option<TypedLocalObjectReference>
Resource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with “Service”.
service: Option<IngressServiceBackend>
Service references a Service as a Backend. This is a mutually exclusive setting with “Resource”.
Trait Implementations
Returns the “default value” for a type. Read more
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IngressBackend
impl Send for IngressBackend
impl Sync for IngressBackend
impl Unpin for IngressBackend
impl UnwindSafe for IngressBackend
Blanket Implementations
Mutably borrows from an owned value. Read more