registry

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DebugTransport

func DebugTransport(t http.RoundTripper) http.RoundTripper

Types

type BlobProxy

type BlobProxy interface {
	registry.ReferenceFetcher
	content.Fetcher
}

type BlobStore

type BlobStore = registry.BlobStore

type ManifestProxy

type ManifestProxy interface {
	registry.ReferenceFetcher
	content.Fetcher
}

type ManifestStore

type ManifestStore = registry.ManifestStore

type Option

type Option func(*options)

func WithClientCA

func WithClientCA(clientCA *x509.CertPool) Option

func WithClientID

func WithClientID(id string) Option

func WithDebug

func WithDebug() Option

func WithInsecure

func WithInsecure() Option

func WithPlainHTTP

func WithPlainHTTP() Option

func WithProxy

func WithProxy(host string) Option

func WithProxyClientCA

func WithProxyClientCA(clientCA *x509.CertPool) Option

func WithProxyInsecure

func WithProxyInsecure() Option

func WithProxyPassword

func WithProxyPassword(password string) Option

func WithProxyPlainHTTP

func WithProxyPlainHTTP() Option

func WithProxyUser

func WithProxyUser(user string) Option

type Registry

type Registry = registry.Registry

func NewRegistry

func NewRegistry(ctx context.Context, name string, opts ...Option) (Registry, error)

type Repository

type Repository = registry.Repository

func NewRepository

func NewRepository(ctx context.Context, reference string, opts ...Option) (Repository, error)

type RepositoryProxy

type RepositoryProxy interface {
	registry.ReferenceFetcher
	content.Fetcher
}

Jump to

Keyboard shortcuts

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