Versions in this module Expand all Collapse all v0 v0.4.4 Apr 23, 2015 Changes in this version + var ErrNamespaceRequired = errors.New("repository namespace required") + var ErrOpenShiftAccessDenied = errors.New("openshift access denied") + var ErrOpenShiftTokenRequired = errors.New("expected openshift bearer token as password for basic token to registry") + var ErrTokenInvalid = errors.New("failed to decode basic token") + var ErrTokenRequired = errors.New("authorization header with basic token required") + func BearerTokenFrom(ctx context.Context) (string, bool) + func VerifyOpenShiftAccess(namespace, imageRepo, verb, bearerToken string) error + func VerifyOpenShiftUser(user, bearerToken string) error + func WithBearerToken(parent context.Context, bearerToken string) context.Context + type AccessController struct + func (ac *AccessController) Authorized(ctx context.Context, accessRecords ...registryauth.Access) (context.Context, error)