Struct k8s_openapi::api::extensions::v1beta1::IngressBackend [−][src]
pub struct IngressBackend {
pub resource: Option<TypedLocalObjectReference>,
pub service_name: Option<String>,
pub service_port: Option<IntOrString>,
}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, serviceName and servicePort must not be specified.
service_name: Option<String>Specifies the name of the referenced service.
service_port: Option<IntOrString>Specifies the port of the referenced service.
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 IngressBackendimpl Send for IngressBackendimpl Sync for IngressBackendimpl Unpin for IngressBackendimpl UnwindSafe for IngressBackendBlanket Implementations
Mutably borrows from an owned value. Read more