package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev
# Functions
NewExecutionManager return an instance of the default execution manager.
NewHookHandler creates a hook handler instance.
NewManager creates an instance of the default task manager.
RegisterCheckInProcessor registers check in processor for the specific vendor type.
RegisterExecutionStatusChangePostFunc registers an execution status change post function for the specific vendor type.
RegisterTaskStatusChangePostFunc registers a task status change post function for the specific vendor type.
SetExecutionSweeperCount sets the count of execution records retained by the sweeper If no count is set for the specified vendor, the default value will be used The sweeper retains the latest created #count execution records for the specified vendor.
# Constants
const definitions.
const definitions.
const definitions.
# Structs
Execution is one run for one action.
HookHandler handles the job status changing webhook.
Job is the model represents the requested jobservice job.
Task is the unit for running.
# Type aliases
CheckInProcessor is the processor to process the check in data which is sent by jobservice via webhook.
ExecutionStatusChangePostFunc is the function called after the execution status changed.
StatusChangePostFunc is the function called after the task status changed.