pub trait DeploymentGetExt {
Show 20 methods
// Required methods
fn spec(&self) -> Option<&DeploymentSpec>;
fn status(&self) -> Option<&DeploymentStatus>;
// Provided methods
fn min_ready_seconds(&self) -> Option<i32> { ... }
fn paused(&self) -> Option<bool> { ... }
fn progress_deadline_seconds(&self) -> Option<i32> { ... }
fn revision_history_limit(&self) -> Option<i32> { ... }
fn selector(&self) -> Option<&LabelSelector> { ... }
fn strategy(&self) -> Option<&DeploymentStrategy> { ... }
fn template(&self) -> Option<&PodTemplateSpec> { ... }
fn spec_replicas(&self) -> Option<i32> { ... }
fn conditions(&self) -> Option<&[DeploymentCondition]> { ... }
fn status_replicas(&self) -> Option<i32> { ... }
fn available_replicas(&self) -> Option<i32> { ... }
fn ready_replicas(&self) -> Option<i32> { ... }
fn unavailable_replicas(&self) -> Option<i32> { ... }
fn updated_replicas(&self) -> Option<i32> { ... }
fn collision_count(&self) -> Option<i32> { ... }
fn observed_generation(&self) -> Option<i64> { ... }
fn containers(&self) -> Option<&[Container]> { ... }
fn port_by_name(&self, name: impl AsRef<str>) -> Option<&ContainerPort> { ... }
}
Required Methods§
fn spec(&self) -> Option<&DeploymentSpec>
fn status(&self) -> Option<&DeploymentStatus>
Provided Methods§
fn min_ready_seconds(&self) -> Option<i32>
fn paused(&self) -> Option<bool>
fn progress_deadline_seconds(&self) -> Option<i32>
fn revision_history_limit(&self) -> Option<i32>
fn selector(&self) -> Option<&LabelSelector>
fn strategy(&self) -> Option<&DeploymentStrategy>
fn template(&self) -> Option<&PodTemplateSpec>
fn spec_replicas(&self) -> Option<i32>
fn conditions(&self) -> Option<&[DeploymentCondition]>
fn status_replicas(&self) -> Option<i32>
fn available_replicas(&self) -> Option<i32>
fn ready_replicas(&self) -> Option<i32>
fn updated_replicas(&self) -> Option<i32>
fn collision_count(&self) -> Option<i32>
fn observed_generation(&self) -> Option<i64>
fn containers(&self) -> Option<&[Container]>
fn port_by_name(&self, name: impl AsRef<str>) -> Option<&ContainerPort>
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.