 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewArtifactBucketConfigFromConfigMap ¶
func NewArtifactBucketConfigFromConfigMap(configMap *corev1.ConfigMap) (*v1alpha1.ArtifactBucket, error)
NewArtifactBucketConfigFromConfigMap creates a Bucket from the supplied ConfigMap
Types ¶
type ArtifactStorageInterface ¶
type ArtifactStorageInterface interface {
	GetCopyToContainerSpec(name, sourcePath, destinationPath string) []corev1.Container
	GetCopyFromContainerSpec(name, sourcePath, destinationPath string) []corev1.Container
	GetSecretsVolumes() []corev1.Volume
	GetType() string
	StorageBasePath(pr *v1alpha1.PipelineRun) string
}
    ArtifactStorageInterface is an interface to define the steps to copy an pipeline artifact to/from temporary storage
func GetArtifactStorage ¶
func GetArtifactStorage(prName string, c kubernetes.Interface, logger *zap.SugaredLogger) (ArtifactStorageInterface, error)
GetArtifactStorage returns the storage interface to enable consumer code to get a container step for copy to/from storage
func InitializeArtifactStorage ¶
func InitializeArtifactStorage(pr *v1alpha1.PipelineRun, c kubernetes.Interface, logger *zap.SugaredLogger) (ArtifactStorageInterface, error)
InitializeArtifactStorage will check if there is there is a bucket configured or create a PVC
 Click to show internal directories. 
   Click to hide internal directories.