pub struct ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources {
pub claims: Option<Vec<ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResourcesClaims>>,
pub limits: Option<BTreeMap<String, IntOrString>>,
pub requests: Option<BTreeMap<String, IntOrString>>,
}Expand description
resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
Fields§
§claims: Option<Vec<ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResourcesClaims>>Claims lists the names of resources, defined in spec.resourceClaims, that are used by this container. This is an alpha field and requires enabling the DynamicResourceAllocation feature gate. This field is immutable. It can only be set for containers.
limits: Option<BTreeMap<String, IntOrString>>Limits describes the maximum amount of compute resources allowed. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
requests: Option<BTreeMap<String, IntOrString>>Requests describes the minimum amount of compute resources required. If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, otherwise to an implementation-defined value. Requests cannot exceed Limits. More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
Trait Implementations§
Source§impl Clone for ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
impl Clone for ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
Source§fn clone(&self) -> ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
fn clone(&self) -> ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
impl Default for ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
Source§fn default() -> ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
fn default() -> ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
Source§impl<'de> Deserialize<'de> for ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
impl<'de> Deserialize<'de> for ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl JsonSchema for ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
impl JsonSchema for ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
impl RefUnwindSafe for ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
impl Send for ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
impl Sync for ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
impl Unpin for ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
impl UnwindSafe for ClusterEphemeralVolumeSourceVolumeClaimTemplateSpecResources
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
Source§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
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>
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>
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 more