pub struct WorkflowLevelArtifactGC {
pub force_finalizer_removal: Option<bool>,
pub pod_metadata: Option<Box<Metadata>>,
pub pod_spec_patch: Option<String>,
pub service_account_name: Option<String>,
pub strategy: Option<String>,
}Expand description
WorkflowLevelArtifactGC describes how to delete artifacts from
completed Workflows - this spec is used on the Workflow level.
Fields§
§force_finalizer_removal: Option<bool>ForceFinalizerRemoval: if set to true, the finalizer
will be removed in the case that Artifact GC fails
pod_metadata: Option<Box<Metadata>>§pod_spec_patch: Option<String>PodSpecPatch holds strategic merge patch to apply against the artgc pod spec.
service_account_name: Option<String>ServiceAccountName is an optional field for specifying
the Service Account that should be assigned to the Pod doing the deletion
strategy: Option<String>Strategy is the strategy to use.
Implementations§
Trait Implementations§
Source§impl Clone for WorkflowLevelArtifactGC
impl Clone for WorkflowLevelArtifactGC
Source§fn clone(&self) -> WorkflowLevelArtifactGC
fn clone(&self) -> WorkflowLevelArtifactGC
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 Debug for WorkflowLevelArtifactGC
impl Debug for WorkflowLevelArtifactGC
Source§impl Default for WorkflowLevelArtifactGC
impl Default for WorkflowLevelArtifactGC
Source§fn default() -> WorkflowLevelArtifactGC
fn default() -> WorkflowLevelArtifactGC
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowLevelArtifactGC
impl<'de> Deserialize<'de> for WorkflowLevelArtifactGC
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 WorkflowLevelArtifactGC
impl PartialEq for WorkflowLevelArtifactGC
Source§impl Serialize for WorkflowLevelArtifactGC
impl Serialize for WorkflowLevelArtifactGC
impl StructuralPartialEq for WorkflowLevelArtifactGC
Auto Trait Implementations§
impl Freeze for WorkflowLevelArtifactGC
impl RefUnwindSafe for WorkflowLevelArtifactGC
impl Send for WorkflowLevelArtifactGC
impl Sync for WorkflowLevelArtifactGC
impl Unpin for WorkflowLevelArtifactGC
impl UnwindSafe for WorkflowLevelArtifactGC
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