package
0.8.0
Repository: https://github.com/rawlingsj/pipeline.git
Documentation: pkg.go.dev

# Functions

CleanupArtifactStorage will delete the PipelineRun's artifact storage PVC if it exists.
GetArtifactStorage returns the storage interface to enable consumer code to get a container step for copy to/from storage.
GetPVCName returns the name that should be used for the PVC for a PipelineRun.
GetPVCSpec returns the PVC to create for a given PipelineRun.
InitializeArtifactStorage will check if there is there is a bucket configured or create a PVC.
NeedsPVC checks if the possibly-nil config map passed to it is configured to use a bucket for artifact storage, returning true if instead a PVC is needed.
NewArtifactBucketConfigFromConfigMap creates a Bucket from the supplied ConfigMap.

# Constants

DefaultPvcSize is the default size of the PVC to create.
PvcConfigName is the name of the configmap containing all customizations for the storage PVC.
PvcSizeKey is the name of the configmap entry that specifies the size of the PVC to create.
PvcStorageClassNameKey is the name of the configmap entry that specifies the storage class of the PVC to create.

# Interfaces

ArtifactStorageInterface is an interface to define the steps to copy an pipeline artifact to/from temporary storage.