package distribution

import "github.com/dotcloud/docker/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 {
	GetRepositories(context.Context, reference.Named, *registry.AuthConfig) ([]distribution.Repository, 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
v28.1.1+incompatible (latest)
Published
Apr 18, 2025
Platform
linux/amd64
Imports
16 packages
Last checked
42 minutes ago

Tools for package owners.