config

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ParseFunc

type ParseFunc func(bundle bundle.Bundle) (interface{}, error)

type WatchDriver

type WatchDriver interface {
	Start(ctx context.Context) error
}

func NewConfigWatchDriver

func NewConfigWatchDriver(loader loader.Loader, parser ParseFunc, opts WatchDriverOptions) WatchDriver

type WatchDriverOptions

type WatchDriverOptions struct {
	Logger   logr.Logger
	Interval time.Duration
	Watchers []Watcher
}

type Watcher

type Watcher func(interface{})

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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