garbagecollection

package
v0.0.0-...-02c6b06 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanWorkflowPods

func CleanWorkflowPods(c client.Client, wf *argov1.Workflow) error

CleanWorkflowPods deletes all pods of a completed workflow. cleanup pods to remove workload from the api server and etcd. logs are still accessible through "archiveLogs" option in argo

func GCWorkflowArtifacts

func GCWorkflowArtifacts(log logr.Logger, s3Client s3.Client, wf *argov1.Workflow) (reconcile.Result, error)

GCWorkflowArtifacts collects all outputs of a workflow by traversing through nodes and collect outputs artifacts from the s3 storage. These artifacts are then deleted form the s3 storage.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL