Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Namespace ¶
type Namespace struct { ReleaseKey string `yaml:"releaseKey" json:"releaseKey"` Properties map[string]string `yaml:"properties" json:"properties"` Yml string `yaml:"yml" json:"yml"` Yaml string `yaml:"yaml" json:"yaml"` JSON string `yaml:"json" json:"json"` XML string `yaml:"xml" json:"xml"` }
Namespace holds the namespace config
type Watcher ¶
type Watcher struct { UpdateEvent <-chan struct{} // contains filtered or unexported fields }
Watcher holds information for the watcher
func (*Watcher) MockFS ¶
MockFS injects mocked fs into Watcher this should only be called immediately after watcher is initialized since it's not a thread safe operation
func (*Watcher) ReloadConfig ¶
ReloadConfig reloads file config without senging an update event
func (*Watcher) TriggerEvent ¶
func (w *Watcher) TriggerEvent()
TriggerEvent triggers the update event
Click to show internal directories.
Click to hide internal directories.