Trait ServiceGetExt
Source pub trait ServiceGetExt {
Show 16 methods
// Required methods
fn spec(&self) -> Option<&ServiceSpec>;
fn status(&self) -> Option<&ServiceStatus>;
fn is_cluster_ip(&self) -> bool;
fn is_external_name(&self) -> bool;
fn is_node_port(&self) -> bool;
fn is_load_balancer(&self) -> bool;
// Provided methods
fn cluster_ip(&self) -> Option<&str> { ... }
fn cluster_ips(&self) -> Option<&[String]> { ... }
fn ports(&self) -> Option<&[ServicePort]> { ... }
fn port(&self, name: &str) -> Option<&ServicePort> { ... }
fn external_name(&self) -> Option<&str> { ... }
fn external_ips(&self) -> Option<&[String]> { ... }
fn selector(&self) -> Option<&BTreeMap<String, String>> { ... }
fn type(&self) -> Option<&str> { ... }
fn load_balancer_ingress(&self) -> Option<&[LoadBalancerIngress]> { ... }
fn conditions(&self) -> Option<&[Condition]> { ... }
}