StatefulSetGetExt

Trait StatefulSetGetExt 

Source
pub trait StatefulSetGetExt {
Show 19 methods // Required methods fn spec(&self) -> Option<&StatefulSetSpec>; fn status(&self) -> Option<&StatefulSetStatus>; // Provided methods fn ordinals(&self) -> Option<i32> { ... } fn pod_management_policy(&self) -> Option<&str> { ... } fn revision_history_limit(&self) -> Option<i32> { ... } fn service_name(&self) -> Option<&str> { ... } fn spec_replicas(&self) -> Option<i32> { ... } fn min_ready_seconds(&self) -> Option<i32> { ... } fn template(&self) -> Option<&PodTemplateSpec> { ... } fn available_replicas(&self) -> Option<i32> { ... } fn collision_count(&self) -> Option<i32> { ... } fn conditions(&self) -> Option<&[StatefulSetCondition]> { ... } fn current_replicas(&self) -> Option<i32> { ... } fn current_revision(&self) -> Option<&str> { ... } fn observed_generation(&self) -> Option<i64> { ... } fn ready_replicas(&self) -> Option<i32> { ... } fn status_replicas(&self) -> i32 { ... } fn update_revision(&self) -> Option<&str> { ... } fn updated_replicas(&self) -> Option<i32> { ... }
}

Required Methods§

Provided Methods§

Source

fn ordinals(&self) -> Option<i32>

Source

fn pod_management_policy(&self) -> Option<&str>

Source

fn revision_history_limit(&self) -> Option<i32>

Source

fn service_name(&self) -> Option<&str>

Source

fn spec_replicas(&self) -> Option<i32>

Source

fn min_ready_seconds(&self) -> Option<i32>

Source

fn template(&self) -> Option<&PodTemplateSpec>

The PodTemplateSpec used to create Pods in the StatefulSet.

Source

fn available_replicas(&self) -> Option<i32>

Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.

Source

fn collision_count(&self) -> Option<i32>

The count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.

Source

fn conditions(&self) -> Option<&[StatefulSetCondition]>

Represents the latest available observations of a statefulset’s current state.

Source

fn current_replicas(&self) -> Option<i32>

The number of Pods created by the StatefulSet controller from the StatefulSet version indicated by current_revision.

Source

fn current_revision(&self) -> Option<&str>

If not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).

Source

fn observed_generation(&self) -> Option<i64>

The most recent generation observed for this StatefulSet. It corresponds to the StatefulSet’s generation, which is updated on mutation by the API Server.

Source

fn ready_replicas(&self) -> Option<i32>

The number of pods created for this StatefulSet with a Ready Condition.

Source

fn status_replicas(&self) -> i32

The number of Pods created by the StatefulSet controller.

Source

fn update_revision(&self) -> Option<&str>

If not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)

Source

fn updated_replicas(&self) -> Option<i32>

The number of Pods created by the StatefulSet controller from the StatefulSet version indicated by update_revision.

Implementors§