Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RunNewJobs is handled by task that start prepared jobs RunNewJobs = "run_new_jobs" // CheckJobsStatus is handled by task that update scheduled jobs status CheckJobsStatus = "check_jobs_status" // CheckOneShotBackupsStatus is handled by task that update jobs status for one shot backups CheckOneShotBackupsStatus = "check_backups_status" // CleanupExpiredSinks is handled by task that cleanup deleted backups or older files CleanupExpiredSinks = "cleanup_expired_sinks" // RescheduleJobsWithQuotaError is handled by task that start a new jobs that were interrupted due to quota exhaustion RescheduleJobsWithQuotaError = "reschedule_jobs_with_quota_error" // PrepareBackupJobs is handled by task that prepares new Jobs for scheduling PrepareBackupJobs = "prepare_backup_jobs" // CheckJobsStuck is handled by task that prepares check Jobs that are running to long CheckJobsStuck = "check_jobs_stuck" // CheckSinkProjectCompliance is handled by task that checks if backups are still immutable CheckSinkProjectCompliance = "check_sink_project_compliance" // CleanupTrashcans is handled by task that cleans up trashcan CleanupTrashcans = "cleanup_trashcans" )
Variables ¶
This section is empty.
Functions ¶
func RunTask ¶
func RunTask(task string, tokenSourceProvider impersonate.TargetPrincipalForProjectProvider, credentialsProvider secret.SecretProvider)
RunTask triggers specified task
Types ¶
Click to show internal directories.
Click to hide internal directories.