Documentation
¶
Index ¶
Constants ¶
View Source
const ( CLEANUP_PVC_CONTENT_PERIOD = 3 * time.Minute CLEANUP_TIMEOUT = 10 * time.Minute PVC_CLEANER_POD_CLUSTER_ROLE = "pvc-cleaner-pod-cluster-role" PVC_CLEANER_POD_ROLEBINDING = "pvc-cleaner-pod-rolebinding" PVC_CLEANER_POD_SERVICE_ACCOUNT = "pvc-cleaner-pod-service-account" DEFAULT_PVC_CLAIM_NAME = "app-studio-default-workspace" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PVCSubPathCleaner ¶
type PVCSubPathCleaner struct {
// contains filtered or unexported fields
}
func NewPVCSubPathCleaner ¶
func NewPVCSubPathCleaner( pipelineRunApi v1beta1.PipelineRunInterface, subPathStorage *storage.PVCSubPathsStorage, corev1 v1.CoreV1Interface, rbacv1 typedrbacv1.RbacV1Interface, namespace string) *PVCSubPathCleaner
func (*PVCSubPathCleaner) AddNewPVC ¶
func (cleaner *PVCSubPathCleaner) AddNewPVC(pipelineRun *pipelinev1.PipelineRun)
func (*PVCSubPathCleaner) CleanupSubFolders ¶
func (cleaner *PVCSubPathCleaner) CleanupSubFolders()
func (*PVCSubPathCleaner) ProvidePodCleanerPermissions ¶
func (cleaner *PVCSubPathCleaner) ProvidePodCleanerPermissions() error
func (*PVCSubPathCleaner) ScheduleCleanUpSubPathFoldersContent ¶
func (cleaner *PVCSubPathCleaner) ScheduleCleanUpSubPathFoldersContent()
Click to show internal directories.
Click to hide internal directories.