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

# Functions

New returns an instance of the default scheduler.
RegisterCallbackFunc registers the callback function which will be called when the scheduler is triggered.

# Constants

the job name that used to register to Jobservice.

# Variables

Sched is an instance of the default scheduler that can be used globally.

# Structs

PeriodicJob is designed to generate hook event periodically.
Schedule describes the detail information about the created schedule.

# Interfaces

DAO is the data access object interface for schedule.
Scheduler provides the capability to run a periodic task, a callback function needs to be registered before using the scheduler.

# Type aliases

CallbackFunc defines the function that the scheduler calls when triggered.