registry

package
v4.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: Apache-2.0 Imports: 3 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigRegistry

type ConfigRegistry interface {
	Register(id meta.ID) config.Config
	PluginVariables(id meta.ID) []Variable
}

type Registry

type Registry interface {
	ID(id meta.ID) (interface{}, error)
	Interface(i meta.Interface) (interface{}, error)
	Resolve(dep meta.Dependency) (interface{}, error)
}

type Variable

type Variable struct {
	Name        string
	Description string
	Type        enum.Kind
}

Jump to

Keyboard shortcuts

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