config

package
v0.0.0-...-4760111 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const SanitizedValue = "*****"

Variables

This section is empty.

Functions

func FromYAML

func FromYAML(content []byte, cfg Config) error

func Load

func Load(file string, cfg Config) error

func ToJson

func ToJson(cfg Config) ([]byte, error)

func ToYAML

func ToYAML(cfg Config) ([]byte, error)

Types

type Config

type Config interface {
	Sanitize()
	Validate() error
}

func ConfigForDisplay

func ConfigForDisplay(cfg Config) (Config, error)

Jump to

Keyboard shortcuts

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