pub struct PodSettings {
pub secret_env: Vec<SecretEnvVar>,
pub service_account: Option<String>,
pub read_only_volumes: Vec<ReadOnlyVolume>,
pub managed_settings: Option<String>,
}Expand description
Pod-level settings a step asks for (K8s ephemeral provider only).
Merged with the provider’s own settings when the pod is built: the step wins on conflicts (same env var name, service account, managed settings).
§Examples
use ironflow_core::provider::PodSettings;
let settings = PodSettings::default();
assert!(settings.is_empty());Fields§
§secret_env: Vec<SecretEnvVar>Environment variables read from Kubernetes Secrets.
service_account: Option<String>Service account of the pod. Overrides the provider’s.
read_only_volumes: Vec<ReadOnlyVolume>Volumes mounted read-only, after the provider’s.
managed_settings: Option<String>Name of a managed-settings preset registered on the provider.
Implementations§
Source§impl PodSettings
impl PodSettings
Trait Implementations§
Source§impl Clone for PodSettings
impl Clone for PodSettings
Source§impl Debug for PodSettings
impl Debug for PodSettings
Source§impl Default for PodSettings
impl Default for PodSettings
Source§impl<'de> Deserialize<'de> for PodSettings
impl<'de> Deserialize<'de> for PodSettings
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
impl Eq for PodSettings
Source§impl PartialEq for PodSettings
impl PartialEq for PodSettings
Source§impl Serialize for PodSettings
impl Serialize for PodSettings
impl StructuralPartialEq for PodSettings
Auto Trait Implementations§
impl Freeze for PodSettings
impl RefUnwindSafe for PodSettings
impl Send for PodSettings
impl Sync for PodSettings
impl Unpin for PodSettings
impl UnsafeUnpin for PodSettings
impl UnwindSafe for PodSettings
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
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.