[−][src]Struct openshift_openapi::api::apps::v1::DeploymentConfigRollback
DeploymentConfigRollback provides the input to rollback generation.
Fields
name: StringName of the deployment config that will be rolled back.
spec: DeploymentConfigRollbackSpecSpec defines the options to rollback generation.
updated_annotations: Option<BTreeMap<String, String>>UpdatedAnnotations is a set of new annotations that will be added in the deployment config.
Implementations
impl DeploymentConfigRollback[src]
pub fn create_namespaced_deployment_config_rollback(
name: &str,
namespace: &str,
body: &DeploymentConfigRollback,
optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>[src]
name: &str,
namespace: &str,
body: &DeploymentConfigRollback,
optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
create rollback of a DeploymentConfig
Use the returned k8s_openapi::ResponseBody<k8s_openapi::CreateResponse<Self>> constructor, or k8s_openapi::CreateResponse<Self> directly, to parse the HTTP response.
Arguments
-
namename of the DeploymentConfigRollback
-
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 DeploymentConfigRollback[src]
fn clone(&self) -> DeploymentConfigRollback[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for DeploymentConfigRollback[src]
impl Default for DeploymentConfigRollback[src]
fn default() -> DeploymentConfigRollback[src]
impl<'de> Deserialize<'de> for DeploymentConfigRollback[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>, [src]
D: Deserializer<'de>,
impl PartialEq<DeploymentConfigRollback> for DeploymentConfigRollback[src]
fn eq(&self, other: &DeploymentConfigRollback) -> bool[src]
fn ne(&self, other: &DeploymentConfigRollback) -> bool[src]
impl Resource for DeploymentConfigRollback[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 DeploymentConfigRollback[src]
impl StructuralPartialEq for DeploymentConfigRollback[src]
Auto Trait Implementations
impl RefUnwindSafe for DeploymentConfigRollback
impl Send for DeploymentConfigRollback
impl Sync for DeploymentConfigRollback
impl Unpin for DeploymentConfigRollback
impl UnwindSafe for DeploymentConfigRollback
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: for<'de> Deserialize<'de>, [src]
T: for<'de> 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>,