# Functions

NewAuth creates a new Auth service.
NewAuthProvider creates a new AuthProvider.
NewCache returns a new Cache instance.

# Structs

Auth is a service for authentication it breaks into 2 "modes" - allowed and trusted allowed mode is for "read" requests (GET, HEAD, OPTIONS) trusted mode is for "write" requests (PATCH, POST, PUT, DELETE).
AuthProvider is an interface for authorization providers.
Cache is a middleware that caches responses according to the Docker Registry API v2 specification, cacheable endpoints and status codes.