package
3.7.0-alpha.1+incompatible
Repository: https://github.com/goodwinos/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

BlobDispatcher takes the request context and builds the appropriate handler for handling blob requests.
ConfigurationFrom returns the configuration stored in ctx if present.
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.
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.
RegistryClientFrom returns the registry client stored in ctx if present.
SignatureDispatcher handles the GET and PUT requests for signature endpoint.
TokenRealm returns the template URL to use as the token realm redirect.
WithConfiguration returns a new Context with provided configuration.
WithRegistryClient returns a new Context with provided registry client.
WithUserInfoLogger creates a new context with provided user infomation.
WithWriteLimiter returns a new Context with a write limiter.
WriteLimiterFrom returns the write limiter if one is stored in ctx, or nil otherwise.

# Constants

AcceptSchema2EnvVar is a boolean environment variable that allows to accept manifest schema v2 on manifest put requests.
AccessControllerOptionParams is an option name for passing AccessControllerParams to AccessController.
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.
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.
No description provided by the author
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
AccessControllerParams is the parameters for newAccessController.

# 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