pub trait PodGetExt {
const POD_SCHEDULED: &str = "PodScheduled";
Show 28 methods
// Required methods
fn spec(&self) -> Option<&PodSpec>;
fn status(&self) -> Option<&PodStatus>;
// Provided methods
fn containers(&self) -> Option<&[Container]> { ... }
fn ephemeral_containers(&self) -> Option<&[EphemeralContainer]> { ... }
fn init_containers(&self) -> Option<&[Container]> { ... }
fn node_selector(&self) -> Option<&BTreeMap<String, String>> { ... }
fn resource_claims(&self) -> Option<&[PodResourceClaim]> { ... }
fn tolerations(&self) -> Option<&[Toleration]> { ... }
fn readiness_gates(&self) -> Option<&[PodReadinessGate]> { ... }
fn message(&self) -> Option<&str> { ... }
fn phase(&self) -> Option<&str> { ... }
fn qos_class(&self) -> Option<&str> { ... }
fn reason(&self) -> Option<&str> { ... }
fn resize(&self) -> Option<&str> { ... }
fn conditions(&self) -> Option<&[PodCondition]> { ... }
fn container_statuses(&self) -> Option<&[ContainerStatus]> { ... }
fn ephemeral_container_statuses(&self) -> Option<&[ContainerStatus]> { ... }
fn init_container_statuses(&self) -> Option<&[ContainerStatus]> { ... }
fn nominated_node_name(&self) -> Option<&str> { ... }
fn resource_claim_statuses(&self) -> Option<&[PodResourceClaimStatus]> { ... }
fn host_ip(&self) -> Option<&str> { ... }
fn host_ips(&self) -> Option<&[HostIP]> { ... }
fn pod_ip(&self) -> Option<&str> { ... }
fn pod_ips(&self) -> Option<&[PodIP]> { ... }
fn start_time(&self) -> Option<&Time> { ... }
fn condition(&self, type_: &str) -> Option<&PodCondition> { ... }
fn is_ready(&self) -> bool { ... }
fn pod_scheduled_reason(&self) -> Option<&str> { ... }
}
Provided Associated Constants§
const POD_SCHEDULED: &str = "PodScheduled"
Required Methods§
Provided Methods§
fn containers(&self) -> Option<&[Container]>
fn ephemeral_containers(&self) -> Option<&[EphemeralContainer]>
fn init_containers(&self) -> Option<&[Container]>
fn node_selector(&self) -> Option<&BTreeMap<String, String>>
fn resource_claims(&self) -> Option<&[PodResourceClaim]>
fn tolerations(&self) -> Option<&[Toleration]>
fn readiness_gates(&self) -> Option<&[PodReadinessGate]>
fn message(&self) -> Option<&str>
fn phase(&self) -> Option<&str>
fn qos_class(&self) -> Option<&str>
fn reason(&self) -> Option<&str>
fn resize(&self) -> Option<&str>
fn conditions(&self) -> Option<&[PodCondition]>
fn container_statuses(&self) -> Option<&[ContainerStatus]>
fn ephemeral_container_statuses(&self) -> Option<&[ContainerStatus]>
fn init_container_statuses(&self) -> Option<&[ContainerStatus]>
fn nominated_node_name(&self) -> Option<&str>
fn resource_claim_statuses(&self) -> Option<&[PodResourceClaimStatus]>
fn host_ip(&self) -> Option<&str>
fn host_ips(&self) -> Option<&[HostIP]>
fn pod_ip(&self) -> Option<&str>
fn pod_ips(&self) -> Option<&[PodIP]>
fn start_time(&self) -> Option<&Time>
fn condition(&self, type_: &str) -> Option<&PodCondition>
fn is_ready(&self) -> bool
fn pod_scheduled_reason(&self) -> Option<&str>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.