pub struct StatefulSetUpdateStrategy {
pub rolling_update: Option<RollingUpdateStatefulSetStrategy>,
pub type_: Option<String>,
}Available on crate feature
k8s only.Expand description
StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.
Fields§
§rolling_update: Option<RollingUpdateStatefulSetStrategy>RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
type_: Option<String>Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
Trait Implementations§
Source§impl Clone for StatefulSetUpdateStrategy
impl Clone for StatefulSetUpdateStrategy
Source§fn clone(&self) -> StatefulSetUpdateStrategy
fn clone(&self) -> StatefulSetUpdateStrategy
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 StatefulSetUpdateStrategy
impl Debug for StatefulSetUpdateStrategy
Source§impl DeepMerge for StatefulSetUpdateStrategy
impl DeepMerge for StatefulSetUpdateStrategy
Source§fn merge_from(&mut self, other: StatefulSetUpdateStrategy)
fn merge_from(&mut self, other: StatefulSetUpdateStrategy)
Merge
other into self.Source§impl Default for StatefulSetUpdateStrategy
impl Default for StatefulSetUpdateStrategy
Source§fn default() -> StatefulSetUpdateStrategy
fn default() -> StatefulSetUpdateStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatefulSetUpdateStrategy
impl<'de> Deserialize<'de> for StatefulSetUpdateStrategy
Source§fn deserialize<D>(
deserializer: D,
) -> Result<StatefulSetUpdateStrategy, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<StatefulSetUpdateStrategy, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for StatefulSetUpdateStrategy
Available on crate feature schemars only.
impl JsonSchema for StatefulSetUpdateStrategy
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 Serialize for StatefulSetUpdateStrategy
impl Serialize for StatefulSetUpdateStrategy
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 StatefulSetUpdateStrategy
Auto Trait Implementations§
impl Forget for StatefulSetUpdateStrategy
impl Freeze for StatefulSetUpdateStrategy
impl Move for StatefulSetUpdateStrategy
impl RefUnwindSafe for StatefulSetUpdateStrategy
impl Send for StatefulSetUpdateStrategy
impl Sync for StatefulSetUpdateStrategy
impl Unpin for StatefulSetUpdateStrategy
impl UnsafeUnpin for StatefulSetUpdateStrategy
impl UnwindSafe for StatefulSetUpdateStrategy
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