reloader

package
v0.0.0-...-d7e65e3 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(reloaderConfig *config.ReloaderConfig) error

Validate validates reloader config

Types

type LMConfigReloader

type LMConfigReloader struct {
	ReloaderConfig *config.ReloaderConfig
	Watcher        watcher.Watcher
	K8sClient      *config.K8sClient
	Wg             *sync.WaitGroup
}

LMConfigReloader holds the reloader config and watcher

func (*LMConfigReloader) SetupProviders

func (lmReloader *LMConfigReloader) SetupProviders(ctx context.Context) error

SetupProviders setups the providers and starts watching the config from providers

Jump to

Keyboard shortcuts

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