yamlprovider

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: 5 Imported by: 21

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 allows to provide yaml bytes.

This Provider supports "yaml" scheme, and can be called with a "uri" that follows:

bytes-uri = "yaml:" yaml-bytes

Examples: `yaml:processors::batch::timeout: 2s` `yaml:processors::batch/foo::timeout: 3s`

func NewWithSettings deprecated

func NewWithSettings(confmap.ProviderSettings) confmap.Provider

NewWithSettings returns a new confmap.Provider that allows to provide yaml bytes.

This Provider supports "yaml" scheme, and can be called with a "uri" that follows:

bytes-uri = "yaml:" yaml-bytes

Examples: `yaml:processors::batch::timeout: 2s` `yaml:processors::batch/foo::timeout: 3s`

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