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

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 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 metadata.

Specification of the desired behavior of the Deployment.

Most recently observed status of the Deployment.

Methods

impl Deployment
[src]

create a Deployment

Use CreateAppsV1NamespacedDeploymentResponse to parse the HTTP response.

impl Deployment
[src]

delete collection of Deployment

Use DeleteAppsV1CollectionNamespacedDeploymentResponse to parse the HTTP response.

impl Deployment
[src]

delete a Deployment

Use DeleteAppsV1NamespacedDeploymentResponse to parse the HTTP response.

impl Deployment
[src]

list or watch objects of kind Deployment

Use ListAppsV1DeploymentForAllNamespacesResponse to parse the HTTP response.

impl Deployment
[src]

list or watch objects of kind Deployment

Use ListAppsV1NamespacedDeploymentResponse to parse the HTTP response.

impl Deployment
[src]

partially update the specified Deployment

Use PatchAppsV1NamespacedDeploymentResponse to parse the HTTP response.

impl Deployment
[src]

partially update status of the specified Deployment

Use PatchAppsV1NamespacedDeploymentStatusResponse to parse the HTTP response.

impl Deployment
[src]

read the specified Deployment

Use ReadAppsV1NamespacedDeploymentResponse to parse the HTTP response.

impl Deployment
[src]

read status of the specified Deployment

Use ReadAppsV1NamespacedDeploymentStatusResponse to parse the HTTP response.

impl Deployment
[src]

replace the specified Deployment

Use ReplaceAppsV1NamespacedDeploymentResponse to parse the HTTP response.

impl Deployment
[src]

replace status of the specified Deployment

Use ReplaceAppsV1NamespacedDeploymentStatusResponse to parse the HTTP response.

impl Deployment
[src]

watch individual changes to a list of Deployment

Use WatchAppsV1DeploymentListForAllNamespacesResponse to parse the HTTP response.

impl Deployment
[src]

watch changes to an object of kind Deployment

Use WatchAppsV1NamespacedDeploymentResponse to parse the HTTP response.

impl Deployment
[src]

watch individual changes to a list of Deployment

Use WatchAppsV1NamespacedDeploymentListResponse to parse the HTTP response.

Trait Implementations

impl Clone for Deployment
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Deployment
[src]

Formats the value using the given formatter. Read more

impl Default for Deployment
[src]

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

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

Deserialize this value from the given Serde deserializer. Read more

impl Serialize for Deployment
[src]

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

impl Send for Deployment

impl Sync for Deployment