configmapprovider

package
v0.48.0 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Deprecated: [v0.48.0] use envmapprovider.New

Deprecated: [v0.48.0] use filemapprovider.New

Deprecated: [v0.48.0] use yamlmapprovider.New

Functions

func NewExpandConverter added in v0.43.0

func NewExpandConverter() config.MapConverterFunc

NewExpandConverter returns a service.ConfigMapConverterFunc, that expands all environment variables for a given config.Map.

Notice: This API is experimental.

func NewOverwritePropertiesConverter added in v0.43.0

func NewOverwritePropertiesConverter(properties []string) config.MapConverterFunc

NewOverwritePropertiesConverter returns a config.MapConverterFunc, that overrides all the given properties into the input map.

Properties must follow the Java properties format, key-value list separated by equal sign with a "." as key delimiter.

["processors.batch.timeout=2s", "processors.batch/foo.timeout=3s"]

Types

type ChangeEvent deprecated

type ChangeEvent = config.ChangeEvent

Deprecated: [v0.48.0] use config.ChangeEvent

type CloseFunc deprecated added in v0.42.0

type CloseFunc = config.CloseFunc

Deprecated: [v0.48.0] use config.CloseFunc

type Provider deprecated

type Provider = config.MapProvider

Deprecated: [v0.48.0] use config.MapProvider

type Retrieved deprecated

type Retrieved = config.Retrieved

Deprecated: [v0.48.0] use config.Retrieved

type WatcherFunc deprecated added in v0.43.0

type WatcherFunc = config.WatcherFunc

Deprecated: [v0.48.0] use config.WatcherFunc

Jump to

Keyboard shortcuts

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