envprovider

package module
v0.96.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 41

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() confmap.Provider

New returns a new confmap.Provider that reads the configuration from the given environment variable.

This Provider supports "env" scheme, and can be called with a selector: `env:NAME_OF_ENVIRONMENT_VARIABLE` Deprecated: [v0.94.0] Use NewWithSettings instead.

func NewWithSettings

func NewWithSettings(confmap.ProviderSettings) confmap.Provider

NewWithSettings returns a new confmap.Provider that reads the configuration from the given environment variable.

This Provider supports "env" scheme, and can be called with a selector: `env:NAME_OF_ENVIRONMENT_VARIABLE`

Types

This section is empty.

Jump to

Keyboard shortcuts

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