Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ExcludeList map[string][]string `json:"excludeList,omitempty"` Resources sysinfo.Config `json:"resources,omitempty"` TopologyManagerPolicy string `json:"topologyManagerPolicy,omitempty"` TopologyManagerScope string `json:"topologyManagerScope,omitempty"` }
func ReadConfig ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
func (*Watcher) WaitUntilChanges ¶
func (cw *Watcher) WaitUntilChanges()
WaitUntilChanges wait until it notices the first change of the config file. It nevers rearm itself, so it fires at most once. Make sure this run on a separate (not main) goroutine: see https://github.com/fsnotify/fsnotify#faq
Click to show internal directories.
Click to hide internal directories.