Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Notary service Notary = "harbor-notary" // Registry service Registry = "harbor-registry" )
Variables ¶
This section is empty.
Functions ¶
func GetResourceActions ¶
func GetResourceActions(scopes []string) []*token.ResourceActions
GetResourceActions ...
func InitCreators ¶
func InitCreators()
InitCreators initialize the token creators for different services
Types ¶
type Handler ¶
type Handler struct {
beego.Controller
}
Handler handles request on /service/token, which is the auth provider for registry.
Click to show internal directories.
Click to hide internal directories.