package
2.2.1+incompatible
Repository: https://github.com/goharbor/harbor.git
Documentation: pkg.go.dev
# Functions
GetManager returns the default manager which is a singleton in the package.
GetSecret gets the secret from the request authorization header.
NewAuthorizer returns an instance of the authorizer.
# Interfaces
Manager generates and verifies the secret for repositories under proxy project The secret normally is used for authorizing a request trying to push artifact to a project A secret can be used only once and expires in a short period of time.