package
3.8.0-alpha.0+incompatible
Repository: https://github.com/sjug/origin.git
Documentation: pkg.go.dev
# Packages
Package api describes routes and urls that extends the Registry JSON HTTP API.
Package audit log the beginning and end of each API request to different logger.
Package client provides functions to make requests to external APIs.
No description provided by the author
No description provided by the author
Package metrics provides functions to collect runtime registry statistics and expose the registered metrics via HTTP.
No description provided by the author
# Functions
NewApp configures the registry application and returns http.Handler for it.
NewBlobGetterService returns a getter for remote blobs.
NewManifestHandler creates a manifest handler for the given manifest.
NewManifestHandlerFromImage creates a new manifest handler for a manifest stored in the given image.
NewSignatureDispatcher provides a function that handles the GET and PUT requests for signature endpoint.
NewTokenHandler returns a handler that implements the docker token protocol.
No description provided by the author
RegisterSignatureHandler registers the Docker image signature extension to Docker registry.
TokenRealm returns the template URL to use as the token realm redirect.
WithUserInfoLogger creates a new context with provided user infomation.
# Constants
AcceptSchema2EnvVar is a boolean environment variable that allows to accept manifest schema v2 on manifest put requests.
BlobRepositoryCacheTTLEnvVar is an environment variable specifying an eviction timeout for <blob belongs to repository> entries.
DockerRegistryURLEnvVar is a mandatory environment variable name specifying url of internal docker registry.
DockerRegistryURLEnvVarOption is an optional environment that overrides the DOCKER_REGISTRY_URL.
EnforceQuotaEnvVar is a boolean environment variable that allows to turn quota enforcement on or off.
MirrorPullthrough is a boolean environment variable that controls mirroring of blobs on pullthrough.
OpenShiftDefaultRegistry overrides the DockerRegistryURLEnvVar as in OpenShift the default registry URL is controller by this environment variable.
ProjectCacheTTLEnvVar is an environment variable specifying an eviction timeout for project quota objects.
Pullthrough is a boolean environment variable that controls whether pullthrough is enabled.
No description provided by the author
No description provided by the author
# Variables
Non-challenging errors.
Errors used and exported by this package.
No description provided by the author
No description provided by the author
Errors used and exported by this package.
Challenging errors.
Errors used and exported by this package.
Errors used and exported by this package.
# Structs
No description provided by the author
App is a global registry application object.
ErrManifestBlobBadSize is returned when the blob size in a manifest does not match the actual size.
# Interfaces
BlobGetterService combines the operations to access and read blobs.
A ManifestHandler defines a common set of operations on all versions of manifest schema.
# Type aliases
ByGeneration allows for sorting tag events from latest to oldest.
No description provided by the author