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

pub struct StatefulSet {
    pub api_version: Option<String>,
    pub kind: Option<String>,
    pub metadata: Option<ObjectMeta>,
    pub spec: Option<StatefulSetSpec>,
    pub status: Option<StatefulSetStatus>,
}

StatefulSet represents a set of pods with consistent identities. Identities are defined as:

  • Network: A single stable DNS and hostname.
  • Storage: As many VolumeClaims as requested. The StatefulSet guarantees that a given network identity will always map to the same storage identity.

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

Spec defines the desired identities of pods in this set.

Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.

Methods

impl StatefulSet
[src]

create a StatefulSet

Use CreateAppsV1NamespacedStatefulSetResponse to parse the HTTP response.

impl StatefulSet
[src]

delete collection of StatefulSet

Use DeleteAppsV1CollectionNamespacedStatefulSetResponse to parse the HTTP response.

impl StatefulSet
[src]

delete a StatefulSet

Use DeleteAppsV1NamespacedStatefulSetResponse to parse the HTTP response.

impl StatefulSet
[src]

list or watch objects of kind StatefulSet

Use ListAppsV1NamespacedStatefulSetResponse to parse the HTTP response.

impl StatefulSet
[src]

list or watch objects of kind StatefulSet

Use ListAppsV1StatefulSetForAllNamespacesResponse to parse the HTTP response.

impl StatefulSet
[src]

partially update the specified StatefulSet

Use PatchAppsV1NamespacedStatefulSetResponse to parse the HTTP response.

impl StatefulSet
[src]

partially update status of the specified StatefulSet

Use PatchAppsV1NamespacedStatefulSetStatusResponse to parse the HTTP response.

impl StatefulSet
[src]

read the specified StatefulSet

Use ReadAppsV1NamespacedStatefulSetResponse to parse the HTTP response.

impl StatefulSet
[src]

read status of the specified StatefulSet

Use ReadAppsV1NamespacedStatefulSetStatusResponse to parse the HTTP response.

impl StatefulSet
[src]

replace the specified StatefulSet

Use ReplaceAppsV1NamespacedStatefulSetResponse to parse the HTTP response.

impl StatefulSet
[src]

replace status of the specified StatefulSet

Use ReplaceAppsV1NamespacedStatefulSetStatusResponse to parse the HTTP response.

impl StatefulSet
[src]

watch changes to an object of kind StatefulSet

Use WatchAppsV1NamespacedStatefulSetResponse to parse the HTTP response.

impl StatefulSet
[src]

watch individual changes to a list of StatefulSet

Use WatchAppsV1NamespacedStatefulSetListResponse to parse the HTTP response.

impl StatefulSet
[src]

watch individual changes to a list of StatefulSet

Use WatchAppsV1StatefulSetListForAllNamespacesResponse to parse the HTTP response.

Trait Implementations

impl Clone for StatefulSet
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for StatefulSet
[src]

Formats the value using the given formatter. Read more

impl Default for StatefulSet
[src]

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

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for StatefulSet
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for StatefulSet

impl Sync for StatefulSet