envprovider

package module
v0.99.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 18

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory added in v0.99.0

func NewFactory() confmap.ProviderFactory

NewFactory returns a factory for a 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`

func NewWithSettings deprecated

func NewWithSettings(ps 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`

Deprecated: [v0.99.0] Use NewFactory instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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