Struct k8s_openapi::v1_11::api::apps::v1beta1::ScaleStatus[][src]

pub struct ScaleStatus {
    pub replicas: i32,
    pub selector: Option<BTreeMap<String, String>>,
    pub target_selector: Option<String>,
}

ScaleStatus represents the current status of a scale subresource.

Fields

actual number of observed instances of the scaled object.

label query over pods that should match the replicas count. More info: http://kubernetes.io/docs/user-guide/labels#label-selectors

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

impl Clone for ScaleStatus
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ScaleStatus
[src]

Formats the value using the given formatter. Read more

impl Default for ScaleStatus
[src]

Returns the "default value" for a type. Read more

impl PartialEq for ScaleStatus
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'de> Deserialize<'de> for ScaleStatus
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ScaleStatus
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for ScaleStatus

impl Sync for ScaleStatus