[−][src]Struct k8s_openapi::api::apps::v1beta2::Deployment
DEPRECATED - This group version of Deployment is deprecated by apps/v1/Deployment. See the release notes for more information. Deployment enables declarative updates for Pods and ReplicaSets.
Fields
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]
pub fn create_namespaced_deployment(
namespace: &str,
body: &Deployment,
optional: CreateNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateNamespacedDeploymentResponse>), RequestError>
[src]
namespace: &str,
body: &Deployment,
optional: CreateNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateNamespacedDeploymentResponse>), RequestError>
create a Deployment
Use the returned crate::ResponseBody
<
CreateNamespacedDeploymentResponse
>
constructor, or CreateNamespacedDeploymentResponse
directly, to parse the HTTP response.
Arguments
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Deployment
[src]
pub fn delete_collection_namespaced_deployment(
namespace: &str,
optional: DeleteCollectionNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteCollectionNamespacedDeploymentResponse>), RequestError>
[src]
namespace: &str,
optional: DeleteCollectionNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteCollectionNamespacedDeploymentResponse>), RequestError>
delete collection of Deployment
Use the returned crate::ResponseBody
<
DeleteCollectionNamespacedDeploymentResponse
>
constructor, or DeleteCollectionNamespacedDeploymentResponse
directly, to parse the HTTP response.
Arguments
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Deployment
[src]
pub fn delete_namespaced_deployment(
name: &str,
namespace: &str,
optional: DeleteNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteNamespacedDeploymentResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: DeleteNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<DeleteNamespacedDeploymentResponse>), RequestError>
delete a Deployment
Use the returned crate::ResponseBody
<
DeleteNamespacedDeploymentResponse
>
constructor, or DeleteNamespacedDeploymentResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the Deployment
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Deployment
[src]
pub fn list_deployment_for_all_namespaces(
optional: ListDeploymentForAllNamespacesOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListDeploymentForAllNamespacesResponse>), RequestError>
[src]
optional: ListDeploymentForAllNamespacesOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListDeploymentForAllNamespacesResponse>), RequestError>
list or watch objects of kind Deployment
This operation only supports listing all items of this type.
Use the returned crate::ResponseBody
<
ListDeploymentForAllNamespacesResponse
>
constructor, or ListDeploymentForAllNamespacesResponse
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Deployment
[src]
pub fn list_namespaced_deployment(
namespace: &str,
optional: ListNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListNamespacedDeploymentResponse>), RequestError>
[src]
namespace: &str,
optional: ListNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ListNamespacedDeploymentResponse>), RequestError>
list or watch objects of kind Deployment
This operation only supports listing all items of this type.
Use the returned crate::ResponseBody
<
ListNamespacedDeploymentResponse
>
constructor, or ListNamespacedDeploymentResponse
directly, to parse the HTTP response.
Arguments
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Deployment
[src]
pub fn patch_namespaced_deployment(
name: &str,
namespace: &str,
body: &Patch,
optional: PatchNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchNamespacedDeploymentResponse>), RequestError>
[src]
name: &str,
namespace: &str,
body: &Patch,
optional: PatchNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchNamespacedDeploymentResponse>), RequestError>
partially update the specified Deployment
Use the returned crate::ResponseBody
<
PatchNamespacedDeploymentResponse
>
constructor, or PatchNamespacedDeploymentResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the Deployment
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Deployment
[src]
pub fn patch_namespaced_deployment_status(
name: &str,
namespace: &str,
body: &Patch,
optional: PatchNamespacedDeploymentStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchNamespacedDeploymentStatusResponse>), RequestError>
[src]
name: &str,
namespace: &str,
body: &Patch,
optional: PatchNamespacedDeploymentStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<PatchNamespacedDeploymentStatusResponse>), RequestError>
partially update status of the specified Deployment
Use the returned crate::ResponseBody
<
PatchNamespacedDeploymentStatusResponse
>
constructor, or PatchNamespacedDeploymentStatusResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the Deployment
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Deployment
[src]
pub fn read_namespaced_deployment(
name: &str,
namespace: &str,
optional: ReadNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedDeploymentResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ReadNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedDeploymentResponse>), RequestError>
read the specified Deployment
Use the returned crate::ResponseBody
<
ReadNamespacedDeploymentResponse
>
constructor, or ReadNamespacedDeploymentResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the Deployment
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Deployment
[src]
pub fn read_namespaced_deployment_status(
name: &str,
namespace: &str,
optional: ReadNamespacedDeploymentStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedDeploymentStatusResponse>), RequestError>
[src]
name: &str,
namespace: &str,
optional: ReadNamespacedDeploymentStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReadNamespacedDeploymentStatusResponse>), RequestError>
read status of the specified Deployment
Use the returned crate::ResponseBody
<
ReadNamespacedDeploymentStatusResponse
>
constructor, or ReadNamespacedDeploymentStatusResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the Deployment
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Deployment
[src]
pub fn replace_namespaced_deployment(
name: &str,
namespace: &str,
body: &Deployment,
optional: ReplaceNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceNamespacedDeploymentResponse>), RequestError>
[src]
name: &str,
namespace: &str,
body: &Deployment,
optional: ReplaceNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceNamespacedDeploymentResponse>), RequestError>
replace the specified Deployment
Use the returned crate::ResponseBody
<
ReplaceNamespacedDeploymentResponse
>
constructor, or ReplaceNamespacedDeploymentResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the Deployment
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Deployment
[src]
pub fn replace_namespaced_deployment_status(
name: &str,
namespace: &str,
body: &Deployment,
optional: ReplaceNamespacedDeploymentStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceNamespacedDeploymentStatusResponse>), RequestError>
[src]
name: &str,
namespace: &str,
body: &Deployment,
optional: ReplaceNamespacedDeploymentStatusOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<ReplaceNamespacedDeploymentStatusResponse>), RequestError>
replace status of the specified Deployment
Use the returned crate::ResponseBody
<
ReplaceNamespacedDeploymentStatusResponse
>
constructor, or ReplaceNamespacedDeploymentStatusResponse
directly, to parse the HTTP response.
Arguments
-
name
name of the Deployment
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Deployment
[src]
pub fn watch_deployment_for_all_namespaces(
optional: WatchDeploymentForAllNamespacesOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchDeploymentForAllNamespacesResponse>), RequestError>
[src]
optional: WatchDeploymentForAllNamespacesOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchDeploymentForAllNamespacesResponse>), RequestError>
list or watch objects of kind Deployment
This operation only supports watching one item, or a list of items, of this type for changes.
Use the returned crate::ResponseBody
<
WatchDeploymentForAllNamespacesResponse
>
constructor, or WatchDeploymentForAllNamespacesResponse
directly, to parse the HTTP response.
Arguments
-
optional
Optional parameters. Use
Default::default()
to not pass any.
impl Deployment
[src]
pub fn watch_namespaced_deployment(
namespace: &str,
optional: WatchNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchNamespacedDeploymentResponse>), RequestError>
[src]
namespace: &str,
optional: WatchNamespacedDeploymentOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<WatchNamespacedDeploymentResponse>), RequestError>
list or watch objects of kind Deployment
This operation only supports watching one item, or a list of items, of this type for changes.
Use the returned crate::ResponseBody
<
WatchNamespacedDeploymentResponse
>
constructor, or WatchNamespacedDeploymentResponse
directly, to parse the HTTP response.
Arguments
-
namespace
object name and auth scope, such as for teams and projects
-
optional
Optional parameters. Use
Default::default()
to not pass any.
Trait Implementations
impl Resource for Deployment
[src]
fn api_version() -> &'static str
[src]
fn group() -> &'static str
[src]
fn kind() -> &'static str
[src]
fn version() -> &'static str
[src]
impl Metadata for Deployment
[src]
impl Clone for Deployment
[src]
fn clone(&self) -> Deployment
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Deployment> for Deployment
[src]
fn eq(&self, other: &Deployment) -> bool
[src]
fn ne(&self, other: &Deployment) -> bool
[src]
impl Default for Deployment
[src]
fn default() -> Deployment
[src]
impl Debug for Deployment
[src]
impl Serialize for Deployment
[src]
impl<'de> Deserialize<'de> for Deployment
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Send for Deployment
impl Sync for Deployment
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,