Struct k8s_openapi::v1_7::kubernetes::pkg::apis::extensions::v1beta1::ScaleStatus
source · pub struct ScaleStatus {
pub replicas: i32,
pub selector: Option<BTreeMap<String, String>>,
pub target_selector: Option<String>,
}
Expand description
represents the current status of a scale subresource.
Fields§
§replicas: i32
actual number of observed instances of the scaled object.
selector: Option<BTreeMap<String, String>>
label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors
target_selector: Option<String>
label selector for pods that should match the replicas count. This is a serializated version of both map-based and more expressive set-based selectors. This is done to avoid introspection in the clients. The string will be in the same format as the query-param syntax. If the target type only supports map-based selectors, both this field and map-based selector field are populated. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
Trait Implementations§
source§impl Clone for ScaleStatus
impl Clone for ScaleStatus
source§fn clone(&self) -> ScaleStatus
fn clone(&self) -> ScaleStatus
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ScaleStatus
impl Debug for ScaleStatus
source§impl Default for ScaleStatus
impl Default for ScaleStatus
source§fn default() -> ScaleStatus
fn default() -> ScaleStatus
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ScaleStatus
impl<'de> Deserialize<'de> for ScaleStatus
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more