config

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config map[string]shared.FieldGroup

Config is a struct that represents a configuration as a mapping of field groups

func NewConfig

func NewConfig(fullConfig map[string]interface{}) (Config, error)

NewConfig creates a Config struct from a map[string]interface{}

func (Config) Validate

func (c Config) Validate(opts shared.Options) []shared.ValidationError

Validate checks the configuration settings for this field group

Jump to

Keyboard shortcuts

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