[−][src]Struct openshift_openapi::api::apps::v1::DeploymentRequest
DeploymentRequest is a request to a deployment config for a new deployment.
Fields
exclude_triggers: Option<Vec<String>>
ExcludeTriggers instructs the instantiator to avoid processing the specified triggers. This field overrides the triggers from latest and allows clients to control specific logic. This field is ignored if not specified.
force: bool
Force will try to force a new deployment to run. If the deployment config is paused, then setting this to true will return an Invalid error.
latest: bool
Latest will update the deployment config with the latest state from all triggers.
name: String
Name of the deployment config for requesting a new deployment.
Implementations
impl DeploymentRequest
[src]
pub fn create_namespaced_deployment_config_instantiate(
name: &str,
namespace: &str,
body: &DeploymentRequest,
optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
[src]
name: &str,
namespace: &str,
body: &DeploymentRequest,
optional: CreateOptional
) -> Result<(Request<Vec<u8>>, fn(_: StatusCode) -> ResponseBody<CreateResponse<Self>>), RequestError>
create instantiate 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
-
name
name of the DeploymentRequest
-
namespace
object name and auth scope, such as for teams and projects
-
body
-
optional
Optional parameters. Use
Default::default()
to not pass any.
Trait Implementations
impl Clone for DeploymentRequest
[src]
fn clone(&self) -> DeploymentRequest
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for DeploymentRequest
[src]
impl Default for DeploymentRequest
[src]
fn default() -> DeploymentRequest
[src]
impl<'de> Deserialize<'de> for DeploymentRequest
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl PartialEq<DeploymentRequest> for DeploymentRequest
[src]
fn eq(&self, other: &DeploymentRequest) -> bool
[src]
fn ne(&self, other: &DeploymentRequest) -> bool
[src]
impl Resource for DeploymentRequest
[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 DeploymentRequest
[src]
impl StructuralPartialEq for DeploymentRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for DeploymentRequest
impl Send for DeploymentRequest
impl Sync for DeploymentRequest
impl Unpin for DeploymentRequest
impl UnwindSafe for DeploymentRequest
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>,