Struct k8s_openapi::v1_8::api::extensions::v1beta1::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>,
}DEPRECATED - This group version of Deployment is deprecated by apps/v1beta2/Deployment. See the release notes for more information. 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 Deploymentpub fn create_extensions_v1beta1_namespaced_deployment(
namespace: &str,
body: &Deployment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn create_extensions_v1beta1_namespaced_deployment(
namespace: &str,
body: &Deployment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>create a Deployment
Use CreateExtensionsV1beta1NamespacedDeploymentResponse to parse the HTTP response.
impl Deployment[src]
impl Deploymentpub fn delete_extensions_v1beta1_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_extensions_v1beta1_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 DeleteExtensionsV1beta1CollectionNamespacedDeploymentResponse to parse the HTTP response.
impl Deployment[src]
impl Deploymentpub fn delete_extensions_v1beta1_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_extensions_v1beta1_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 DeleteExtensionsV1beta1NamespacedDeploymentResponse to parse the HTTP response.
impl Deployment[src]
impl Deploymentpub fn list_extensions_v1beta1_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_extensions_v1beta1_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 ListExtensionsV1beta1DeploymentForAllNamespacesResponse to parse the HTTP response.
impl Deployment[src]
impl Deploymentpub fn list_extensions_v1beta1_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_extensions_v1beta1_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 ListExtensionsV1beta1NamespacedDeploymentResponse to parse the HTTP response.
impl Deployment[src]
impl Deploymentpub fn patch_extensions_v1beta1_namespaced_deployment(
name: &str,
namespace: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn patch_extensions_v1beta1_namespaced_deployment(
name: &str,
namespace: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>partially update the specified Deployment
Use PatchExtensionsV1beta1NamespacedDeploymentResponse to parse the HTTP response.
impl Deployment[src]
impl Deploymentpub fn patch_extensions_v1beta1_namespaced_deployment_status(
name: &str,
namespace: &str,
body: &Patch,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn patch_extensions_v1beta1_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 PatchExtensionsV1beta1NamespacedDeploymentStatusResponse to parse the HTTP response.
impl Deployment[src]
impl Deploymentpub fn read_extensions_v1beta1_namespaced_deployment(
name: &str,
namespace: &str,
exact: Option<bool>,
export: Option<bool>,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn read_extensions_v1beta1_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 ReadExtensionsV1beta1NamespacedDeploymentResponse to parse the HTTP response.
impl Deployment[src]
impl Deploymentpub fn read_extensions_v1beta1_namespaced_deployment_status(
name: &str,
namespace: &str,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn read_extensions_v1beta1_namespaced_deployment_status(
name: &str,
namespace: &str,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>read status of the specified Deployment
Use ReadExtensionsV1beta1NamespacedDeploymentStatusResponse to parse the HTTP response.
impl Deployment[src]
impl Deploymentpub fn replace_extensions_v1beta1_namespaced_deployment(
name: &str,
namespace: &str,
body: &Deployment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn replace_extensions_v1beta1_namespaced_deployment(
name: &str,
namespace: &str,
body: &Deployment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>replace the specified Deployment
Use ReplaceExtensionsV1beta1NamespacedDeploymentResponse to parse the HTTP response.
impl Deployment[src]
impl Deploymentpub fn replace_extensions_v1beta1_namespaced_deployment_status(
name: &str,
namespace: &str,
body: &Deployment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>[src]
pub fn replace_extensions_v1beta1_namespaced_deployment_status(
name: &str,
namespace: &str,
body: &Deployment,
pretty: Option<&str>
) -> Result<Request<Vec<u8>>, RequestError>replace status of the specified Deployment
Use ReplaceExtensionsV1beta1NamespacedDeploymentStatusResponse to parse the HTTP response.
impl Deployment[src]
impl Deploymentpub fn watch_extensions_v1beta1_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_extensions_v1beta1_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 WatchExtensionsV1beta1DeploymentListForAllNamespacesResponse to parse the HTTP response.
impl Deployment[src]
impl Deploymentpub fn watch_extensions_v1beta1_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_extensions_v1beta1_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 WatchExtensionsV1beta1NamespacedDeploymentResponse to parse the HTTP response.
impl Deployment[src]
impl Deploymentpub fn watch_extensions_v1beta1_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_extensions_v1beta1_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 WatchExtensionsV1beta1NamespacedDeploymentListResponse to parse the HTTP response.
Trait Implementations
impl Clone for Deployment[src]
impl Clone for Deploymentfn clone(&self) -> Deployment[src]
fn clone(&self) -> DeploymentReturns 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 Deploymentfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for Deployment[src]
impl Default for Deploymentfn default() -> Deployment[src]
fn default() -> DeploymentReturns the "default value" for a type. Read more
impl PartialEq for Deployment[src]
impl PartialEq for Deploymentfn eq(&self, other: &Deployment) -> bool[src]
fn eq(&self, other: &Deployment) -> boolThis 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) -> boolThis method tests for !=.
impl<'de> Deserialize<'de> for Deployment[src]
impl<'de> Deserialize<'de> for Deploymentfn 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 DeploymentAuto Trait Implementations
impl Send for Deployment
impl Send for Deploymentimpl Sync for Deployment
impl Sync for Deployment