Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var REALM = identity.REALM
Functions ¶
func Authorize ¶
Authorize the given request with the bearer token for the given repository URL and package name. If the token is empty (login failed or credentials not found), it will not be set.
func BearerToken ¶
BearerToken retrieves the bearer token for the given repository URL and package name. Either it's setup in the credentials or it will login to the registry and retrieve it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.