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§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