loader

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDeprecatedProperties

func GetDeprecatedProperties(configDetails types.ConfigDetails) map[string]string

func GetUnsupportedProperties

func GetUnsupportedProperties(configDetails types.ConfigDetails) []string

func Load

func Load(configDetails types.ConfigDetails) (*types.Config, error)

Load reads a ConfigDetails and returns a fully loaded configuration

func ParseYAML

func ParseYAML(source []byte) (types.Dict, error)

ParseYAML reads the bytes from a file, parses the bytes into a mapping structure, and returns it.

Types

type ForbiddenPropertiesError

type ForbiddenPropertiesError struct {
	Properties map[string]string
}

func (*ForbiddenPropertiesError) Error

func (e *ForbiddenPropertiesError) Error() string

Jump to

Keyboard shortcuts

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