package distribution

import "github.com/docker/cli/components/engine/api/server/router/distribution"

Index

Functions

func NewRouter

func NewRouter(backend Backend) router.Router

NewRouter initializes a new distribution router

Types

type Backend

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.

Source Files

backend.go distribution.go distribution_routes.go

Version
v17.10.0-ce-rc1+incompatible
Published
Oct 4, 2017
Platform
windows/amd64
Imports
16 packages
Last checked
29 seconds ago

Tools for package owners.