Documentation ¶
Index ¶
- Constants
- func DumpToFile(filename string, cfg Config) error
- func FromYAML(content []byte, cfg Config) error
- func Load(file string, cfg Config) error
- func LoadWithOption(file string, cfg Config, strict bool, includeEnv bool, validate bool) error
- func PrintDeprecations(deprecations []Deprecation, cfg Config, out io.Writer)
- func ToJson(cfg Config) ([]byte, error)
- func ToYAML(cfg Config) ([]byte, error)
- type BaseConfig
- type Config
- type Deprecation
Constants ¶
View Source
const SanitizedValue = "*****"
Variables ¶
This section is empty.
Functions ¶
func DumpToFile ¶
func LoadWithOption ¶
func PrintDeprecations ¶
func PrintDeprecations(deprecations []Deprecation, cfg Config, out io.Writer)
Types ¶
type BaseConfig ¶
type BaseConfig struct{}
func (BaseConfig) PostProcess ¶
func (c BaseConfig) PostProcess() error
func (BaseConfig) Sanitize ¶
func (c BaseConfig) Sanitize()
func (BaseConfig) Validate ¶
func (c BaseConfig) Validate() error
type Config ¶
func ConfigForDisplay ¶
Click to show internal directories.
Click to hide internal directories.