docker: Index | Files

package distribution

import ""


Package Files

backend.go distribution.go distribution_routes.go

func NewRouter Uses

func NewRouter(backend Backend) router.Router

NewRouter initializes a new distribution router

type Backend Uses

type Backend interface {
    GetRepository(context.Context, reference.Named, *types.AuthConfig) (distribution.Repository, bool, error)

Backend is all the methods that need to be implemented to provide image specific functionality.

Package distribution imports 17 packages (graph) and is imported by 3 packages. Updated 2019-09-23. Refresh now. Tools for package owners.