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.
Click to show internal directories.
Click to hide internal directories.