pub struct DaemonSetUpdateStrategy {
pub rolling_update: Option<RollingUpdateDaemonSet>,
pub type_: Option<String>,
}Available on crate feature
k8s only.Expand description
DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
Fields§
§rolling_update: Option<RollingUpdateDaemonSet>Rolling update config params. Present only if type = “RollingUpdate”.
type_: Option<String>Type of daemon set update. Can be “RollingUpdate” or “OnDelete”. Default is RollingUpdate.
Trait Implementations§
Source§impl Clone for DaemonSetUpdateStrategy
impl Clone for DaemonSetUpdateStrategy
Source§fn clone(&self) -> DaemonSetUpdateStrategy
fn clone(&self) -> DaemonSetUpdateStrategy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DaemonSetUpdateStrategy
impl Debug for DaemonSetUpdateStrategy
Source§impl DeepMerge for DaemonSetUpdateStrategy
impl DeepMerge for DaemonSetUpdateStrategy
Source§fn merge_from(&mut self, other: DaemonSetUpdateStrategy)
fn merge_from(&mut self, other: DaemonSetUpdateStrategy)
Merge
other into self.Source§impl Default for DaemonSetUpdateStrategy
impl Default for DaemonSetUpdateStrategy
Source§fn default() -> DaemonSetUpdateStrategy
fn default() -> DaemonSetUpdateStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DaemonSetUpdateStrategy
impl<'de> Deserialize<'de> for DaemonSetUpdateStrategy
Source§fn deserialize<D>(
deserializer: D,
) -> Result<DaemonSetUpdateStrategy, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<DaemonSetUpdateStrategy, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for DaemonSetUpdateStrategy
Available on crate feature schemars only.
impl JsonSchema for DaemonSetUpdateStrategy
Available on crate feature
schemars only.Source§fn json_schema(__gen: &mut SchemaGenerator) -> Schema
fn json_schema(__gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for DaemonSetUpdateStrategy
impl PartialEq for DaemonSetUpdateStrategy
Source§impl Serialize for DaemonSetUpdateStrategy
impl Serialize for DaemonSetUpdateStrategy
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DaemonSetUpdateStrategy
Auto Trait Implementations§
impl Forget for DaemonSetUpdateStrategy
impl Freeze for DaemonSetUpdateStrategy
impl RefUnwindSafe for DaemonSetUpdateStrategy
impl Send for DaemonSetUpdateStrategy
impl Sync for DaemonSetUpdateStrategy
impl Unpin for DaemonSetUpdateStrategy
impl UnsafeUnpin for DaemonSetUpdateStrategy
impl UnwindSafe for DaemonSetUpdateStrategy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
fn map_response_body<F>(self, f: F) -> MapResponseBody<Self, F>where
Self: Sized,
Available on crate feature
map-response-body only.Apply a transformation to the response body. Read more
Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
Available on crate feature
trace only.High level tracing that classifies responses using HTTP status codes. Read more
Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
Available on crate feature
trace only.High level tracing that classifies responses using gRPC headers. Read more