Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewConfiguredMetaSource ¶
func NewConfiguredMetaSource(name config.MetadataSource, options map[string]interface{}) (meta.Source, error)
NewConfiguredMetaSource creates a metadata source from configuration.
Types ¶
type ErrDuplicateRepo ¶
type ErrDuplicateRepo struct { // ID is the offending repository ID. ID string // Path is the offending repository path. Path string }
ErrDuplicateRepo is an error about a duplicate repository ID.
func (*ErrDuplicateRepo) Error ¶
func (edr *ErrDuplicateRepo) Error() string
Error returns the string representation of the error.
type HandlerCloser ¶
HandlerCloser is a http.Handler that is notified of the HTTP server shutting down.
func NewConfiguredRouter ¶
NewConfiguredRouter creates a new router from configuration.
func NewRouter ¶
func NewRouter(repos []repo.Repository, logger *zap.Logger) (HandlerCloser, error)
NewRouter creates a new router from configuration.
Click to show internal directories.
Click to hide internal directories.