configfile

package
v1.7.11 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ConfigFileName is the default name expected from configuration files
	ConfigFileName = "secretless.yml"

	// PluginName is the external name that this plugin will be identified by
	PluginName = "configfile"
)

Variables

This section is empty.

Functions

func AttachWatcher

func AttachWatcher(filename string, runner func())

AttachWatcher adds a listener of chenge event to a filepath

func ConfigurationManagerFactory

func ConfigurationManagerFactory(options plugin_v1.ConfigurationManagerOptions) plugin_v1.ConfigurationManager

ConfigurationManagerFactory returns a file-based ConfigurationManager instance

func NewConfigChannel

func NewConfigChannel(configfile string, fsWatchEnabled bool) (<-chan config_v2.Config, error)

NewConfigChannel returns a file-based ConfigurationManager channel object

Types

This section is empty.

Jump to

Keyboard shortcuts

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