package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev
# Functions
BadRequestError returns the error of handing bad request case.
CheckStatsError is error wrapper for the error of checking stats failed.
ConflictError is error for the case of resource conflicting.
GetJobLogError is error for the case of getting job log failed.
GetJobsError is error for the case of getting jobs failed.
GetJobStatsError is error wrapper for the error of getting job stats.
GetPeriodicExecutionError is error for the case of getting periodic jobs failed.
HandleJSONDataError is error wrapper for the error of handling json data.
IsBadRequestError returns true if the error is badRequestError.
IsConflictError returns true if the error is conflictError.
IsObjectNotFoundError return true if the error is objectNotFoundError.
IsStatusMismatchError returns true if the error is statusMismatchError.
LaunchJobError is error wrapper for the error of launching job failed.
MissingBackendHandlerError is error wrapper for the error of missing backend controller.
New customized errors.
NoObjectFoundError is error wrapper for the case of no object found.
ReadRequestBodyError is error wrapper for the error of reading request body.
RetryJobError is error for the case of retrying job failed.
StatusMismatchError returns the error of job status mismatching.
StopJobError is error for the case of stopping job failed.
UnauthorizedError is error for the case of unauthorized accessing.
UnknownActionNameError is error for the case of getting unknown job action.
# Constants
BadRequestErrorCode is code for the error of bad request.
CheckStatsErrorCode is code for the error of checking stats of worker worker.
GetJobLogErrorCode is code for the error of getting job log.
GetJobsErrorCode is code for the error of getting scheduled jobs.
GetJobStatsErrorCode is code for the error of getting stats of enqueued job.
GetPeriodicExecutionErrorCode is code for the error of getting periodic executions.
HandleJSONDataErrorCode is code for the error of handling json data error.
LaunchJobErrorCode is code for the error of launching job.
MissingBackendHandlerErrorCode is code for the error of missing backend controller.
NoObjectFoundErrorCode is code for the error of no object found.
ReadRequestBodyErrorCode is code for the error of reading http request body error.
ResourceConflictsErrorCode is code for the error of resource conflicting.
RetryJobErrorCode is code for the error of retrying job.
StatusMismatchErrorCode is code for the error of mismatching status.
StopJobErrorCode is code for the error of stopping job.
UnAuthorizedErrorCode is code for the error of unauthorized accessing.
UnknownActionNameErrorCode is code for the case of unknown action name.