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
api_version: Option<String>
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: Option<RawExtension>
Data is the serialized representation of the state.
kind: Option<String>
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
metadata: Option<ObjectMeta>
Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
revision: i64
Revision indicates the revision of the state represented by Data.
Methods
impl ControllerRevision
[src]
impl ControllerRevision
pub fn create_apps_v1_namespaced_controller_revision(
namespace: &str,
body: &ControllerRevision,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn create_apps_v1_namespaced_controller_revision(
namespace: &str,
body: &ControllerRevision,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
create a ControllerRevision
Use CreateAppsV1NamespacedControllerRevisionResponse
to parse the HTTP response.
impl ControllerRevision
[src]
impl ControllerRevision
pub fn delete_apps_v1_collection_namespaced_controller_revision(
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn delete_apps_v1_collection_namespaced_controller_revision(
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
delete collection of ControllerRevision
Use DeleteAppsV1CollectionNamespacedControllerRevisionResponse
to parse the HTTP response.
impl ControllerRevision
[src]
impl ControllerRevision
pub fn delete_apps_v1_namespaced_controller_revision(
name: &str,
namespace: &str,
grace_period_seconds: Option<i64>,
orphan_dependents: Option<bool>,
pretty: Option<&str>,
propagation_policy: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn delete_apps_v1_namespaced_controller_revision(
name: &str,
namespace: &str,
grace_period_seconds: Option<i64>,
orphan_dependents: Option<bool>,
pretty: Option<&str>,
propagation_policy: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
delete a ControllerRevision
Use DeleteAppsV1NamespacedControllerRevisionResponse
to parse the HTTP response.
impl ControllerRevision
[src]
impl ControllerRevision
pub fn list_apps_v1_controller_revision_for_all_namespaces(
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn list_apps_v1_controller_revision_for_all_namespaces(
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
list or watch objects of kind ControllerRevision
Use ListAppsV1ControllerRevisionForAllNamespacesResponse
to parse the HTTP response.
impl ControllerRevision
[src]
impl ControllerRevision
pub fn list_apps_v1_namespaced_controller_revision(
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn list_apps_v1_namespaced_controller_revision(
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
list or watch objects of kind ControllerRevision
Use ListAppsV1NamespacedControllerRevisionResponse
to parse the HTTP response.
impl ControllerRevision
[src]
impl ControllerRevision
pub fn patch_apps_v1_namespaced_controller_revision(
name: &str,
namespace: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn patch_apps_v1_namespaced_controller_revision(
name: &str,
namespace: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
partially update the specified ControllerRevision
Use PatchAppsV1NamespacedControllerRevisionResponse
to parse the HTTP response.
impl ControllerRevision
[src]
impl ControllerRevision
pub fn read_apps_v1_namespaced_controller_revision(
name: &str,
namespace: &str,
exact: Option<bool>,
export: Option<bool>,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn read_apps_v1_namespaced_controller_revision(
name: &str,
namespace: &str,
exact: Option<bool>,
export: Option<bool>,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
read the specified ControllerRevision
Use ReadAppsV1NamespacedControllerRevisionResponse
to parse the HTTP response.
impl ControllerRevision
[src]
impl ControllerRevision
pub fn replace_apps_v1_namespaced_controller_revision(
name: &str,
namespace: &str,
body: &ControllerRevision,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn replace_apps_v1_namespaced_controller_revision(
name: &str,
namespace: &str,
body: &ControllerRevision,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
replace the specified ControllerRevision
Use ReplaceAppsV1NamespacedControllerRevisionResponse
to parse the HTTP response.
impl ControllerRevision
[src]
impl ControllerRevision
pub fn watch_apps_v1_controller_revision_list_for_all_namespaces(
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn watch_apps_v1_controller_revision_list_for_all_namespaces(
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
watch individual changes to a list of ControllerRevision
Use WatchAppsV1ControllerRevisionListForAllNamespacesResponse
to parse the HTTP response.
impl ControllerRevision
[src]
impl ControllerRevision
pub fn watch_apps_v1_namespaced_controller_revision(
name: &str,
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn watch_apps_v1_namespaced_controller_revision(
name: &str,
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
watch changes to an object of kind ControllerRevision
Use WatchAppsV1NamespacedControllerRevisionResponse
to parse the HTTP response.
impl ControllerRevision
[src]
impl ControllerRevision
pub fn watch_apps_v1_namespaced_controller_revision_list(
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn watch_apps_v1_namespaced_controller_revision_list(
namespace: &str,
continue_: Option<&str>,
field_selector: Option<&str>,
include_uninitialized: Option<bool>,
label_selector: Option<&str>,
limit: Option<i64>,
pretty: Option<&str>,
resource_version: Option<&str>,
timeout_seconds: Option<i64>,
watch: Option<bool>
) -> Result<Request<Vec<u8>>, RequestError>
watch individual changes to a list of ControllerRevision
Use WatchAppsV1NamespacedControllerRevisionListResponse
to parse the HTTP response.
Trait Implementations
impl Clone for ControllerRevision
[src]
impl Clone for ControllerRevision
fn clone(&self) -> ControllerRevision
[src]
fn clone(&self) -> ControllerRevision
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for ControllerRevision
[src]
impl Debug for ControllerRevision
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for ControllerRevision
[src]
impl Default for ControllerRevision
fn default() -> ControllerRevision
[src]
fn default() -> ControllerRevision
Returns the "default value" for a type. Read more
impl PartialEq for ControllerRevision
[src]
impl PartialEq for ControllerRevision
fn eq(&self, other: &ControllerRevision) -> bool
[src]
fn eq(&self, other: &ControllerRevision) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ControllerRevision) -> bool
[src]
fn ne(&self, other: &ControllerRevision) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for ControllerRevision
[src]
impl<'de> Deserialize<'de> for ControllerRevision
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Serialize for ControllerRevision
[src]
impl Serialize for ControllerRevision
Auto Trait Implementations
impl Send for ControllerRevision
impl Send for ControllerRevision
impl Sync for ControllerRevision
impl Sync for ControllerRevision