containerregistry

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package containerregistry GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWithRegistryApp added in v0.5.4

func ContextWithRegistryApp(ctx context.Context, app *App) context.Context

Types

type App added in v0.5.4

type App = handlers.App

func RegistryAppFromContext added in v0.5.4

func RegistryAppFromContext(ctx context.Context) *App

type Configuration

type Configuration struct {
	StorageRoot string

	RegistryAddr     string
	RegistryBaseHost string

	Proxy *Proxy
}

func (*Configuration) MustStorage

func (c *Configuration) MustStorage() driver.StorageDriver

func (*Configuration) New

func (c *Configuration) New(ctx context.Context) (distribution.Namespace, error)

func (Configuration) RuntimeDoc added in v0.2.0

func (v Configuration) RuntimeDoc(names ...string) ([]string, bool)

func (Configuration) WithoutProxy

func (c Configuration) WithoutProxy() *Configuration

type Proxy

type Proxy = configuration.Proxy

type RemoteRegistry added in v0.2.0

type RemoteRegistry = containerregistryclient.RemoteRegistry

type Server added in v0.2.0

type Server struct {
	Storage Storage

	RemoteRegistry RemoteRegistry
	// The address the server endpoint binds to
	RegistryAddr string `flag:",omitempty,expose=http"`
	// contains filtered or unexported fields
}

func (*Server) Init added in v0.2.0

func (s *Server) Init(ctx context.Context) error

func (Server) RuntimeDoc added in v0.2.0

func (v Server) RuntimeDoc(names ...string) ([]string, bool)

func (*Server) Serve added in v0.2.0

func (s *Server) Serve(ctx context.Context) error

func (*Server) SetDefaults added in v0.2.0

func (s *Server) SetDefaults()

func (*Server) Shutdown added in v0.2.0

func (s *Server) Shutdown(ctx context.Context) error

type Storage added in v0.2.0

type Storage struct {
	// Storage dir root
	Root string `flag:",omitempty,volume"`
}

func (Storage) RuntimeDoc added in v0.2.0

func (v Storage) RuntimeDoc(names ...string) ([]string, bool)

func (*Storage) SetDefaults added in v0.2.0

func (s *Storage) SetDefaults()

Directories

Path Synopsis
Package client GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE
Package client GENERATED BY gengo:runtimedoc DON'T EDIT THIS FILE

Jump to

Keyboard shortcuts

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