Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //nolint:gochecknoglobals NoSchema = &gojsonschema.Schema{} ErrNoRegisteredName = errors.New("could not find a config entry with that name") ErrEnvVarRef = errors.New("could not find an environment variable") ErrPathVarRef = errors.New("could not find path variable") ErrPathVarRefCircular = errors.New("circular path reference detected") ErrMalformedPathRef = errors.New("malformed path reference") ErrMalformedEnvRef = errors.New("malformed env reference") ErrUnmarshal = errors.New("failed to decode configuration") ErrSubmatchEnv = errors.New("failed to find submatch in env match") ErrSchema = errors.New("schema validation failed") )
Functions ¶
Types ¶
type Config ¶
type Config interface {
Schema() *gojsonschema.Schema
}
Click to show internal directories.
Click to hide internal directories.