pub struct InitContainerPropertiesDefinition {
pub image: Option<String>,
pub command: Vec<String>,
pub environment_variables: Vec<EnvironmentVariable>,
pub instance_view: Option<InstanceView>,
pub volume_mounts: Vec<VolumeMount>,
pub security_context: Option<SecurityContextDefinition>,
}Expand description
The init container definition properties.
Fields§
§image: Option<String>The image of the init container.
command: Vec<String>The command to execute within the init container in exec form.
environment_variables: Vec<EnvironmentVariable>The environment variables to set in the init container.
instance_view: Option<InstanceView>The instance view of the init container. Only valid in response.
volume_mounts: Vec<VolumeMount>The volume mounts available to the init container.
security_context: Option<SecurityContextDefinition>The security context for the container.
Implementations§
Trait Implementations§
Source§impl Clone for InitContainerPropertiesDefinition
impl Clone for InitContainerPropertiesDefinition
Source§fn clone(&self) -> InitContainerPropertiesDefinition
fn clone(&self) -> InitContainerPropertiesDefinition
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 InitContainerPropertiesDefinition
impl Default for InitContainerPropertiesDefinition
Source§fn default() -> InitContainerPropertiesDefinition
fn default() -> InitContainerPropertiesDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InitContainerPropertiesDefinition
impl<'de> Deserialize<'de> for InitContainerPropertiesDefinition
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 InitContainerPropertiesDefinition
impl PartialEq for InitContainerPropertiesDefinition
Source§fn eq(&self, other: &InitContainerPropertiesDefinition) -> bool
fn eq(&self, other: &InitContainerPropertiesDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for InitContainerPropertiesDefinition
Auto Trait Implementations§
impl Freeze for InitContainerPropertiesDefinition
impl RefUnwindSafe for InitContainerPropertiesDefinition
impl Send for InitContainerPropertiesDefinition
impl Sync for InitContainerPropertiesDefinition
impl Unpin for InitContainerPropertiesDefinition
impl UnwindSafe for InitContainerPropertiesDefinition
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