registry

package
v0.0.0-...-c57cf68 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2015 License: GPL-3.0 Imports: 2 Imported by: 0

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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