Struct k8s_openapi::api::core::v1::ReplicationController
source · pub struct ReplicationController {
pub metadata: ObjectMeta,
pub spec: Option<ReplicationControllerSpec>,
pub status: Option<ReplicationControllerStatus>,
}
Expand description
ReplicationController represents the configuration of a replication controller.
Fields§
§metadata: ObjectMeta
If the Labels of a ReplicationController are empty, they are defaulted to be the same as the Pod(s) that the replication controller manages. Standard object’s metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
spec: Option<ReplicationControllerSpec>
Spec defines the specification of the desired behavior of the replication controller. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
status: Option<ReplicationControllerStatus>
Status is the most recently observed status of the replication controller. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
Trait Implementations§
source§impl Clone for ReplicationController
impl Clone for ReplicationController
source§fn clone(&self) -> ReplicationController
fn clone(&self) -> ReplicationController
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReplicationController
impl Debug for ReplicationController
source§impl DeepMerge for ReplicationController
impl DeepMerge for ReplicationController
source§fn merge_from(&mut self, other: Self)
fn merge_from(&mut self, other: Self)
other
into self
.source§impl Default for ReplicationController
impl Default for ReplicationController
source§fn default() -> ReplicationController
fn default() -> ReplicationController
source§impl<'de> Deserialize<'de> for ReplicationController
impl<'de> Deserialize<'de> for ReplicationController
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>,
source§impl Metadata for ReplicationController
impl Metadata for ReplicationController
source§impl PartialEq for ReplicationController
impl PartialEq for ReplicationController
source§fn eq(&self, other: &ReplicationController) -> bool
fn eq(&self, other: &ReplicationController) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Resource for ReplicationController
impl Resource for ReplicationController
source§const API_VERSION: &'static str = "v1"
const API_VERSION: &'static str = "v1"
Resource::GROUP
and Resource::VERSION
(eg "apiextensions.k8s.io/v1beta1"
)
or just the version for resources without a group (eg "v1"
). Read more