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

pub struct ControllerRevision {
    pub api_version: Option<String>,
    pub data: Option<RawExtension>,
    pub kind: Option<String>,
    pub metadata: Option<ObjectMeta>,
    pub revision: i64,
}

ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.

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

Data is the serialized representation of the state.

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

Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata

Revision indicates the revision of the state represented by Data.

Methods

impl ControllerRevision
[src]

create a ControllerRevision

Use CreateAppsV1NamespacedControllerRevisionResponse to parse the HTTP response.

impl ControllerRevision
[src]

delete collection of ControllerRevision

Use DeleteAppsV1CollectionNamespacedControllerRevisionResponse to parse the HTTP response.

impl ControllerRevision
[src]

delete a ControllerRevision

Use DeleteAppsV1NamespacedControllerRevisionResponse to parse the HTTP response.

impl ControllerRevision
[src]

list or watch objects of kind ControllerRevision

Use ListAppsV1ControllerRevisionForAllNamespacesResponse to parse the HTTP response.

impl ControllerRevision
[src]

list or watch objects of kind ControllerRevision

Use ListAppsV1NamespacedControllerRevisionResponse to parse the HTTP response.

impl ControllerRevision
[src]

partially update the specified ControllerRevision

Use PatchAppsV1NamespacedControllerRevisionResponse to parse the HTTP response.

impl ControllerRevision
[src]

read the specified ControllerRevision

Use ReadAppsV1NamespacedControllerRevisionResponse to parse the HTTP response.

impl ControllerRevision
[src]

replace the specified ControllerRevision

Use ReplaceAppsV1NamespacedControllerRevisionResponse to parse the HTTP response.

impl ControllerRevision
[src]

watch individual changes to a list of ControllerRevision

Use WatchAppsV1ControllerRevisionListForAllNamespacesResponse to parse the HTTP response.

impl ControllerRevision
[src]

watch changes to an object of kind ControllerRevision

Use WatchAppsV1NamespacedControllerRevisionResponse to parse the HTTP response.

impl ControllerRevision
[src]

watch individual changes to a list of ControllerRevision

Use WatchAppsV1NamespacedControllerRevisionListResponse to parse the HTTP response.

Trait Implementations

impl Clone for ControllerRevision
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ControllerRevision
[src]

Formats the value using the given formatter. Read more

impl Default for ControllerRevision
[src]

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

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for ControllerRevision
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations