confmaptest

package
v0.100.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 7 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 NewNopProviderSettings added in v0.98.0

func NewNopProviderSettings() confmap.ProviderSettings

func ValidateProviderScheme

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