pub struct FluentBitEnvVarsValueFromResourceFieldRef {
pub container_name: Option<String>,
pub divisor: Option<IntOrString>,
pub resource: String,
}Expand description
Selects a resource of the container: only resources limits and requests (limits.cpu, limits.memory, limits.ephemeral-storage, requests.cpu, requests.memory and requests.ephemeral-storage) are currently supported.
Fields§
§container_name: Option<String>Container name: required for volumes, optional for env vars
divisor: Option<IntOrString>Specifies the output format of the exposed resources, defaults to “1”
resource: StringRequired: resource to select
Trait Implementations§
Source§impl Clone for FluentBitEnvVarsValueFromResourceFieldRef
impl Clone for FluentBitEnvVarsValueFromResourceFieldRef
Source§fn clone(&self) -> FluentBitEnvVarsValueFromResourceFieldRef
fn clone(&self) -> FluentBitEnvVarsValueFromResourceFieldRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for FluentBitEnvVarsValueFromResourceFieldRef
impl Default for FluentBitEnvVarsValueFromResourceFieldRef
Source§fn default() -> FluentBitEnvVarsValueFromResourceFieldRef
fn default() -> FluentBitEnvVarsValueFromResourceFieldRef
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FluentBitEnvVarsValueFromResourceFieldRef
impl<'de> Deserialize<'de> for FluentBitEnvVarsValueFromResourceFieldRef
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FluentBitEnvVarsValueFromResourceFieldRef
impl PartialEq for FluentBitEnvVarsValueFromResourceFieldRef
Source§fn eq(&self, other: &FluentBitEnvVarsValueFromResourceFieldRef) -> bool
fn eq(&self, other: &FluentBitEnvVarsValueFromResourceFieldRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FluentBitEnvVarsValueFromResourceFieldRef
Auto Trait Implementations§
impl Freeze for FluentBitEnvVarsValueFromResourceFieldRef
impl RefUnwindSafe for FluentBitEnvVarsValueFromResourceFieldRef
impl Send for FluentBitEnvVarsValueFromResourceFieldRef
impl Sync for FluentBitEnvVarsValueFromResourceFieldRef
impl Unpin for FluentBitEnvVarsValueFromResourceFieldRef
impl UnwindSafe for FluentBitEnvVarsValueFromResourceFieldRef
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