Struct k8s_openapi::v1_10::api::apps::v1::Deployment [−][src]
pub struct Deployment { pub api_version: Option<String>, pub kind: Option<String>, pub metadata: Option<ObjectMeta>, pub spec: Option<DeploymentSpec>, pub status: Option<DeploymentStatus>, }
Deployment enables declarative updates for Pods and ReplicaSets.
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
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 metadata.
spec: Option<DeploymentSpec>
Specification of the desired behavior of the Deployment.
status: Option<DeploymentStatus>
Most recently observed status of the Deployment.
Methods
impl Deployment
[src]
impl Deployment
pub fn create_apps_v1_namespaced_deployment(
namespace: &str,
body: &Deployment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn create_apps_v1_namespaced_deployment(
namespace: &str,
body: &Deployment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
create a Deployment
Use CreateAppsV1NamespacedDeploymentResponse
to parse the HTTP response.
impl Deployment
[src]
impl Deployment
pub fn delete_apps_v1_collection_namespaced_deployment(
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_deployment(
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 Deployment
Use DeleteAppsV1CollectionNamespacedDeploymentResponse
to parse the HTTP response.
impl Deployment
[src]
impl Deployment
pub fn delete_apps_v1_namespaced_deployment(
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_deployment(
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 Deployment
Use DeleteAppsV1NamespacedDeploymentResponse
to parse the HTTP response.
impl Deployment
[src]
impl Deployment
pub fn list_apps_v1_deployment_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_deployment_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 Deployment
Use ListAppsV1DeploymentForAllNamespacesResponse
to parse the HTTP response.
impl Deployment
[src]
impl Deployment
pub fn list_apps_v1_namespaced_deployment(
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_deployment(
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 Deployment
Use ListAppsV1NamespacedDeploymentResponse
to parse the HTTP response.
impl Deployment
[src]
impl Deployment
pub fn patch_apps_v1_namespaced_deployment(
name: &str,
namespace: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn patch_apps_v1_namespaced_deployment(
name: &str,
namespace: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
partially update the specified Deployment
Use PatchAppsV1NamespacedDeploymentResponse
to parse the HTTP response.
impl Deployment
[src]
impl Deployment
pub fn patch_apps_v1_namespaced_deployment_status(
name: &str,
namespace: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn patch_apps_v1_namespaced_deployment_status(
name: &str,
namespace: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
partially update status of the specified Deployment
Use PatchAppsV1NamespacedDeploymentStatusResponse
to parse the HTTP response.
impl Deployment
[src]
impl Deployment
pub fn read_apps_v1_namespaced_deployment(
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_deployment(
name: &str,
namespace: &str,
exact: Option<bool>,
export: Option<bool>,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
read the specified Deployment
Use ReadAppsV1NamespacedDeploymentResponse
to parse the HTTP response.
impl Deployment
[src]
impl Deployment
pub fn read_apps_v1_namespaced_deployment_status(
name: &str,
namespace: &str,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn read_apps_v1_namespaced_deployment_status(
name: &str,
namespace: &str,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
read status of the specified Deployment
Use ReadAppsV1NamespacedDeploymentStatusResponse
to parse the HTTP response.
impl Deployment
[src]
impl Deployment
pub fn replace_apps_v1_namespaced_deployment(
name: &str,
namespace: &str,
body: &Deployment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn replace_apps_v1_namespaced_deployment(
name: &str,
namespace: &str,
body: &Deployment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
replace the specified Deployment
Use ReplaceAppsV1NamespacedDeploymentResponse
to parse the HTTP response.
impl Deployment
[src]
impl Deployment
pub fn replace_apps_v1_namespaced_deployment_status(
name: &str,
namespace: &str,
body: &Deployment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
[src]
pub fn replace_apps_v1_namespaced_deployment_status(
name: &str,
namespace: &str,
body: &Deployment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>
replace status of the specified Deployment
Use ReplaceAppsV1NamespacedDeploymentStatusResponse
to parse the HTTP response.
impl Deployment
[src]
impl Deployment
pub fn watch_apps_v1_deployment_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_deployment_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 Deployment
Use WatchAppsV1DeploymentListForAllNamespacesResponse
to parse the HTTP response.
impl Deployment
[src]
impl Deployment
pub fn watch_apps_v1_namespaced_deployment(
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_deployment(
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 Deployment
Use WatchAppsV1NamespacedDeploymentResponse
to parse the HTTP response.
impl Deployment
[src]
impl Deployment
pub fn watch_apps_v1_namespaced_deployment_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_deployment_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 Deployment
Use WatchAppsV1NamespacedDeploymentListResponse
to parse the HTTP response.
Trait Implementations
impl Clone for Deployment
[src]
impl Clone for Deployment
fn clone(&self) -> Deployment
[src]
fn clone(&self) -> Deployment
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 Deployment
[src]
impl Debug for Deployment
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 Deployment
[src]
impl Default for Deployment
fn default() -> Deployment
[src]
fn default() -> Deployment
Returns the "default value" for a type. Read more
impl PartialEq for Deployment
[src]
impl PartialEq for Deployment
fn eq(&self, other: &Deployment) -> bool
[src]
fn eq(&self, other: &Deployment) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Deployment) -> bool
[src]
fn ne(&self, other: &Deployment) -> bool
This method tests for !=
.
impl<'de> Deserialize<'de> for Deployment
[src]
impl<'de> Deserialize<'de> for Deployment
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 Deployment
[src]
impl Serialize for Deployment
Auto Trait Implementations
impl Send for Deployment
impl Send for Deployment
impl Sync for Deployment
impl Sync for Deployment