dynamic

package
v0.9.3-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DynamicConfiguration

type DynamicConfiguration interface {
	Delete(ctx context.Context, layer data.ConfigurationLayer, bundle, owner, key string) error
	Exists(ctx context.Context, layer data.ConfigurationLayer, bundle, owner, key string) (bool, error)
	Get(ctx context.Context, layer data.ConfigurationLayer, bundle, owner, key string) (data.DynamicConfiguration, error)
	List(ctx context.Context, layer data.ConfigurationLayer, bundle, owner, key string) ([]data.DynamicConfiguration, error)
	Set(ctx context.Context, config data.DynamicConfiguration) error
}

DynamicConfiguration is the interface used to interact with the dynamic configuration backend.

func Get

func Get() (DynamicConfiguration, error)

Get provides an interface to the dynamic configuration backend. If no backend is specified, the default (DAL) implementation is used.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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