package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev

# Packages

# 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.

# Variables

ExecMgr is a global execution manager instance.
HkHandler is a global instance of the HookHandler.
Mgr is a global task manager instance.

# 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.

# Interfaces

ExecutionManager manages executions.
Manager manages tasks.

# 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.