[−][src]Struct k8s_openapi::api::apps::v1beta1::DeploymentRollback
DEPRECATED. DeploymentRollback stores the information required to rollback a deployment.
Fields
name: StringRequired: This must match the Name of a deployment.
rollback_to: RollbackConfigThe config of this deployment rollback.
updated_annotations: Option<BTreeMap<String, String>>The annotations to be updated to a deployment
Methods
impl DeploymentRollback[src]
pub fn create_namespaced_deployment_rollback(
name: &str,
namespace: &str,
body: &DeploymentRollback,
optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateNamespacedDeploymentRollbackResponse>), RequestError>[src]
name: &str,
namespace: &str,
body: &DeploymentRollback,
optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateNamespacedDeploymentRollbackResponse>), RequestError>
create rollback of a Deployment
Use the returned crate::ResponseBody<CreateNamespacedDeploymentRollbackResponse> constructor, or CreateNamespacedDeploymentRollbackResponse directly, to parse the HTTP response.
Arguments
-
namename of the DeploymentRollback
-
namespaceobject name and auth scope, such as for teams and projects
-
body -
optionalOptional parameters. Use
Default::default()to not pass any.
Trait Implementations
impl Clone for DeploymentRollback[src]
fn clone(&self) -> DeploymentRollback[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for DeploymentRollback[src]
impl Default for DeploymentRollback[src]
fn default() -> DeploymentRollback[src]
impl<'de> Deserialize<'de> for DeploymentRollback[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
impl PartialEq<DeploymentRollback> for DeploymentRollback[src]
fn eq(&self, other: &DeploymentRollback) -> bool[src]
fn ne(&self, other: &DeploymentRollback) -> bool[src]
impl Resource for DeploymentRollback[src]
const API_VERSION: &'static str[src]
const GROUP: &'static str[src]
const KIND: &'static str[src]
const VERSION: &'static str[src]
impl Serialize for DeploymentRollback[src]
impl StructuralPartialEq for DeploymentRollback[src]
Auto Trait Implementations
impl RefUnwindSafe for DeploymentRollback
impl Send for DeploymentRollback
impl Sync for DeploymentRollback
impl Unpin for DeploymentRollback
impl UnwindSafe for DeploymentRollback
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: Deserialize<'de>, [src]
T: Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,