MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / FileManager

Struct FileManager

config/manager.go:27–33  ·  view source on GitHub ↗

FileManager watches the yaml config for changes sends updates to the service to reconfigure to match the updated config

Source from the content-addressed store, hash-verified

25// FileManager watches the yaml config for changes
26// sends updates to the service to reconfigure to match the updated config
27type FileManager struct {
28 watcher watcher.Notifier
29 notifier Notifier
30 configPath string
31 log *zerolog.Logger
32 ReadConfig func(string, *zerolog.Logger) (Root, error)
33}
34
35// NewFileManager creates a config manager
36func NewFileManager(watcher watcher.Notifier, configPath string, log *zerolog.Logger) (*FileManager, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected