Struct k8s_openapi::v1_10::api::apps::v1::ReplicaSet[][src]

pub struct ReplicaSet {
    pub api_version: Option<String>,
    pub kind: Option<String>,
    pub metadata: Option<ObjectMeta>,
    pub spec: Option<ReplicaSetSpec>,
    pub status: Option<ReplicaSetStatus>,
}

ReplicaSet ensures that a specified number of pod replicas are running at any given time.

Fields

APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources

Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds

If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#spec-and-status

Status is the most recently observed status of the ReplicaSet. 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/api-conventions.md#spec-and-status

Methods

impl ReplicaSet
[src]

create a ReplicaSet

Use CreateAppsV1NamespacedReplicaSetResponse to parse the HTTP response.

impl ReplicaSet
[src]

delete collection of ReplicaSet

Use DeleteAppsV1CollectionNamespacedReplicaSetResponse to parse the HTTP response.

impl ReplicaSet
[src]

delete a ReplicaSet

Use DeleteAppsV1NamespacedReplicaSetResponse to parse the HTTP response.

impl ReplicaSet
[src]

list or watch objects of kind ReplicaSet

Use ListAppsV1NamespacedReplicaSetResponse to parse the HTTP response.

impl ReplicaSet
[src]

list or watch objects of kind ReplicaSet

Use ListAppsV1ReplicaSetForAllNamespacesResponse to parse the HTTP response.

impl ReplicaSet
[src]

partially update the specified ReplicaSet

Use PatchAppsV1NamespacedReplicaSetResponse to parse the HTTP response.

impl ReplicaSet
[src]

partially update status of the specified ReplicaSet

Use PatchAppsV1NamespacedReplicaSetStatusResponse to parse the HTTP response.

impl ReplicaSet
[src]

read the specified ReplicaSet

Use ReadAppsV1NamespacedReplicaSetResponse to parse the HTTP response.

impl ReplicaSet
[src]

read status of the specified ReplicaSet

Use ReadAppsV1NamespacedReplicaSetStatusResponse to parse the HTTP response.

impl ReplicaSet
[src]

replace the specified ReplicaSet

Use ReplaceAppsV1NamespacedReplicaSetResponse to parse the HTTP response.

impl ReplicaSet
[src]

replace status of the specified ReplicaSet

Use ReplaceAppsV1NamespacedReplicaSetStatusResponse to parse the HTTP response.

impl ReplicaSet
[src]

watch changes to an object of kind ReplicaSet

Use WatchAppsV1NamespacedReplicaSetResponse to parse the HTTP response.

impl ReplicaSet
[src]

watch individual changes to a list of ReplicaSet

Use WatchAppsV1NamespacedReplicaSetListResponse to parse the HTTP response.

impl ReplicaSet
[src]

watch individual changes to a list of ReplicaSet

Use WatchAppsV1ReplicaSetListForAllNamespacesResponse to parse the HTTP response.

Trait Implementations

impl Clone for ReplicaSet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ReplicaSet
[src]

Formats the value using the given formatter. Read more

impl Default for ReplicaSet
[src]

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

impl PartialEq for ReplicaSet
[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 ReplicaSet
[src]

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ReplicaSet
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for ReplicaSet

impl Sync for ReplicaSet