package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev
# Functions
NewDefaultClient creates a default client based on endpoint and secret.
NewReplicationClient used to create a client for replication.
# Constants
ImageGC the name of image garbage collection job in job service.
ImageGCReadOnly the name of image garbage collection read only job in job service.
ImageScanAllJob is the name of "scanall" job in job service.
ImageScanJob is name of scan job it will be used as key to register to job service.
JobActionStop : the action to stop the job.
JobKindGeneric : Kind of generic job.
JobKindPeriodic : Kind of periodic job.
JobKindScheduled : Kind of scheduled job.
JobServiceStatusCancelled : job status cancelled.
JobServiceStatusError : job status error.
JobServiceStatusPending : job status pending.
JobServiceStatusRunning : job status running.
JobServiceStatusScheduled : job status scheduled.
JobServiceStatusStopped : job status stopped.
JobServiceStatusSuccess : job status success.
# Variables
ErrJobNotFound indicates the job not found.
GlobalClient is an instance of the default client that can be used globally.
# Structs
DefaultClient is the default implementation of Client interface.
ScanJobParms holds parameters used to submit jobs to jobservice.
StatusBehindError represents the error got when trying to stop a success/failed job.
# Interfaces
Client wraps interface to access jobservice.