registry

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	StorageDirectory string
	Host             string
	Port             uint16
	ReadOnly         bool
	TLS              TLS
}

func (Config) ToRegistryConfiguration

func (c Config) ToRegistryConfiguration() (*configuration.Configuration, error)

type Registry

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

func NewRegistry

func NewRegistry(cfg Config) (*Registry, error)

func (Registry) Address

func (r Registry) Address() string

func (*Registry) ListenAndServe

func (r *Registry) ListenAndServe() error

type TLS added in v0.6.0

type TLS struct {
	Certificate string
	Key         string
}

Jump to

Keyboard shortcuts

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