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: ObjectMetaIf 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: ReplicationController)
 
fn merge_from(&mut self, other: ReplicationController)
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<ReplicationController, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
 
fn deserialize<D>(
    deserializer: D,
) -> Result<ReplicationController, <D as Deserializer<'de>>::Error>where
    D: Deserializer<'de>,
source§impl Metadata for ReplicationController
 
impl Metadata for ReplicationController
source§type Ty = ObjectMeta
 
type Ty = ObjectMeta
source§fn metadata(&self) -> &<ReplicationController as Metadata>::Ty
 
fn metadata(&self) -> &<ReplicationController as Metadata>::Ty
source§fn metadata_mut(&mut self) -> &mut <ReplicationController as Metadata>::Ty
 
fn metadata_mut(&mut self) -> &mut <ReplicationController as Metadata>::Ty
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 moresource§const GROUP: &'static str = ""
 
const GROUP: &'static str = ""
source§const URL_PATH_SEGMENT: &'static str = "replicationcontrollers"
 
const URL_PATH_SEGMENT: &'static str = "replicationcontrollers"
source§type Scope = NamespaceResourceScope
 
type Scope = NamespaceResourceScope
source§impl Serialize for ReplicationController
 
impl Serialize for ReplicationController
source§fn serialize<S>(
    &self,
    serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
 
fn serialize<S>(
    &self,
    serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
    S: Serializer,
impl StructuralPartialEq for ReplicationController
Auto Trait Implementations§
impl Freeze for ReplicationController
impl RefUnwindSafe for ReplicationController
impl Send for ReplicationController
impl Sync for ReplicationController
impl Unpin for ReplicationController
impl UnwindSafe for ReplicationController
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
 
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<K> OwnerReferenceExt for Kwhere
    K: Metadata<Ty = ObjectMeta>,
 
impl<K> OwnerReferenceExt for Kwhere
    K: Metadata<Ty = ObjectMeta>,
source§fn is_owned_by<T>(&self, owner: &T) -> boolwhere
    T: Metadata<Ty = ObjectMeta>,
 
fn is_owned_by<T>(&self, owner: &T) -> boolwhere
    T: Metadata<Ty = ObjectMeta>,
self being owned by ownersource§fn is_controlled_by<T>(&self, owner: &T) -> boolwhere
    T: Metadata<Ty = ObjectMeta>,
 
fn is_controlled_by<T>(&self, owner: &T) -> boolwhere
    T: Metadata<Ty = ObjectMeta>,
self being owned and controlled by ownersource§impl<T> ResourceBuilder for Twhere
    T: Metadata<Ty = ObjectMeta>,
 
impl<T> ResourceBuilder for Twhere
    T: Metadata<Ty = ObjectMeta>,
source§fn owner(self, owner: OwnerReference) -> T
 
fn owner(self, owner: OwnerReference) -> T
source§fn label(self, key: impl ToString, value: impl ToString) -> T
 
fn label(self, key: impl ToString, value: impl ToString) -> T
labels()