v2_2

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Append

func Append(oldConfig, newConfig types.Config) types.Config

Append appends newConfig to oldConfig and returns the result. Appending one config to another is accomplished by iterating over every field in the config structure, appending slices, recursively appending structs, and overwriting old values with new values for all other types.

func Parse

func Parse(rawConfig []byte) (types.Config, report.Report, error)

Parse parses the raw config into a types.Config struct and generates a report of any errors, warnings, info, and deprecations it encountered. Unlike config.Parse, it does not attempt to translate the config.

func TranslateFromV2_1 added in v0.23.0

func TranslateFromV2_1(old v2_1.Config) types.Config

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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