fsloader

package
v0.2.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// ConfigFile if file name of config to load
	ConfigFile = "refunc.json"
	// DefaultPath default folder to search config file
	DefaultPath = "/var/run/refunc"
)

Variables

This section is empty.

Functions

func NewLoader

func NewLoader(ctx context.Context, folder string) (sidecar.Loader, error)

NewLoader creates a loader, watches given folder, and load refunc.yaml if any

Types

This section is empty.

Jump to

Keyboard shortcuts

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