Versions in this module Expand all Collapse all v1 v1.5.1 Apr 28, 2017 Changes in this version + const AcceptSchema2EnvVar + const BlobRepositoryCacheTTLEnvVar + const DockerRegistryURLEnvVar + const EnforceQuotaEnvVar + const MirrorPullthroughEnvVar + const OpenShiftAuth + const ProjectCacheTTLEnvVar + const PullthroughEnvVar + const RealmKey + const TokenRealmKey + var DefaultRegistryClient = NewRegistryClient(clientcmd.NewConfig().BindToFile()) + var ErrNamespaceRequired = errors.New("repository namespace required") + var ErrOpenShiftAccessDenied = errors.New("access denied") + var ErrTokenInvalid = errors.New("failed to decode credentials") + var ErrTokenRequired = errors.New("authorization header required") + var ErrUnsupportedAction = errors.New("unsupported action") + var ErrUnsupportedResource = errors.New("unsupported resource") + var ErrorCodeSignatureAlreadyExists = errcode.Register(errGroup, errcode.ErrorDescriptor{ ... }) + var ErrorCodeSignatureInvalid = errcode.Register(errGroup, errcode.ErrorDescriptor{ ... }) + func AuthPerformed(ctx context.Context) bool + func BlobDispatcher(ctx *handlers.Context, r *http.Request) http.Handler + func DeferredErrorsFrom(ctx context.Context) (deferredErrors, bool) + func NewTokenHandler(ctx context.Context, client RegistryClient) http.Handler + func RegisterSignatureHandler(app *handlers.App) + func RemoteBlobAccessCheckEnabledFrom(ctx context.Context) bool + func RepositoryFrom(ctx context.Context) (repo *repository, found bool) + func SignatureDispatcher(ctx *handlers.Context, r *http.Request) http.Handler + func TokenRealm(options map[string]interface{}) (*url.URL, error) + func UserClientFrom(ctx context.Context) (client.Interface, bool) + func WithAuthPerformed(parent context.Context) context.Context + func WithDeferredErrors(parent context.Context, errs deferredErrors) context.Context + func WithRemoteBlobAccessCheckEnabled(parent context.Context, enable bool) context.Context + func WithRepository(parent context.Context, repo *repository) context.Context + func WithUserClient(parent context.Context, userClient client.Interface) context.Context + func WithUserInfoLogger(ctx context.Context, username, userid string) context.Context + type AccessController struct + func (ac *AccessController) Authorized(ctx context.Context, accessRecords ...registryauth.Access) (context.Context, error) + type BlobGetterService interface + func NewBlobGetterService(namespace, name string, cacheTTL time.Duration, ...) BlobGetterService + type ByGeneration []*imageapi.TagEvent + func (b ByGeneration) Len() int + func (b ByGeneration) Less(i, j int) bool + func (b ByGeneration) Swap(i, j int) + type ImageStreamGetter func() (*imageapi.ImageStream, error) + type ManifestHandler interface + Digest func() (manifestDigest digest.Digest, err error) + FillImageMetadata func(ctx context.Context, image *imageapi.Image) error + Manifest func() distribution.Manifest + Payload func() (mediaType string, payload []byte, canonical []byte, err error) + Verify func(ctx context.Context, skipDependencyVerification bool) error + func NewManifestHandler(repo *repository, manifest distribution.Manifest) (ManifestHandler, error) + func NewManifestHandlerFromImage(repo *repository, image *imageapi.Image) (ManifestHandler, error) + type RegistryClient interface + Clients func() (client.Interface, kclientset.Interface, error) + SafeClientConfig func() restclient.Config + func NewRegistryClient(config *clientcmd.Config) RegistryClient v1.5.0-alpha.1 Dec 29, 2016 Incompatible versions in this module v3.7.0-alpha.0+incompatible Aug 1, 2017