oci

package
v0.0.0-...-3231407 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ResolveRetries is the number of times to attempt resolving a key before giving up.
	ResolveRetries = 3

	// ResolveTimeout is the timeout for resolving a key.
	ResolveTimeout = 1 * time.Second
)

Functions

This section is empty.

Types

type Mirror

type Mirror struct {
	// contains filtered or unexported fields
}

Mirror is a handler that handles requests to this registry Mirror.

func NewMirror

func NewMirror(router routing.Router) *Mirror

NewMirror creates a new mirror handler.

func (*Mirror) Handle

func (m *Mirror) Handle(c *gin.Context)

Handle handles a request to this registry mirror.

type Registry

type Registry struct {
	// contains filtered or unexported fields
}

Registry is a handler that handles requests to this registry.

func NewRegistry

func NewRegistry(containerdStore containerd.Store) *Registry

NewRegistry creates a new registry handler.

func (*Registry) Handle

func (r *Registry) Handle(c *gin.Context)

Handle handles a request to this registry.

Directories

Path Synopsis
store

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL