confmaptest

package
v0.0.0-...-76a0d45 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

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

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