Documentation ¶
Overview ¶
Package registry provides a registry for configuration documents.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNotRegistered indicates that the manifest kind is not registered. ErrNotRegistered = errors.New("not registered") // ErrExists indicates that the manifest is already registered. ErrExists = errors.New("exists") )
Functions ¶
func Register ¶
func Register(kind string, f NewDocumentFunc)
Register registers a manifests with the registry.
Types ¶
type NewDocumentFunc ¶
NewDocumentFunc represents a function that creates a new document by version.
Click to show internal directories.
Click to hide internal directories.