package
0.4.0
Repository: https://github.com/joelfischerr/scion.git
Documentation: pkg.go.dev

# Functions

InitAll initializes all defaulters.
ValidateAll validates all validators.
WriteSample writes all sample config blocks in order of appearance with indentation and header to dst.
WriteString writes the string to dst.

# Constants

No description provided by the author

# Structs

NoDefaulter implements a Defaulter that does a no-op on InitDefaults.
NoValidator implements a Validator that never fails to validate.
StringSampler implements a Sampler that writes string Text and provides Name as ConfigName.

# Interfaces

Config is the interface that config structs should implement to allow for streamlined initialization, validation and sample generation.
Defaulter defines the initialization part of Config.
Sampler defines the sample generation part of Config.
Validator defines the validation part of Config.

# Type aliases

CtxMap contains the context for sample generation.
Path is the header of a config block possibly consisting of multiple parts.