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