confmaptest

package
v0.58.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Overview

Package confmaptest helps loading confmap.Conf to test packages implementing using the configuration.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConf

func LoadConf(fileName string) (*confmap.Conf, error)

LoadConf loads a confmap.Conf from file, and does NOT validate the configuration.

func ValidateProviderScheme added in v0.58.0

func ValidateProviderScheme(p confmap.Provider) error

ValidateProviderScheme enforces that given confmap.Provider.Scheme() object is following the restriction defined by the collector:

Types

This section is empty.

Jump to

Keyboard shortcuts

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