Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MutableRegistry ¶
type MutableRegistry interface { Registry Set(key string, repo repository.Repository) Unset(key string) }
func CreateFromConfig ¶
func CreateFromConfig(cfg config.Config) (registry MutableRegistry, err error)
func NewRegistry ¶
func NewRegistry() MutableRegistry
type Registry ¶
type Registry interface { All() map[string]repository.Repository Keys() []string Get(key string) repository.Repository Size() int Marshal() config.Config }
Click to show internal directories.
Click to hide internal directories.