{"modulePath":"github.com/AlaudaDevops/pkg","version":"v0.14.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package watcher\n\nPackage watcher stores interface DefaultingWatcherWithOnChange\n\n## Types\n\n```go\ntype DefaultingWatcherWithOnChange interface {\n\t// DefaultingWatcher is similar to Watcher, but if a ConfigMap is absent, then a code provided\n\t// default will be used.\n\tconfigmap.DefaultingWatcher\n\n\t// OnChange invokes the callbacks of all observers of the given ConfigMap.\n\tOnChange(*corev1.ConfigMap)\n}\n```\nDefaultingWatcherWithOnChange is a configmap.DefaultingWatcher that also has an OnChange callback.\n\n","path":"github.com/AlaudaDevops/pkg/watcher","name":"watcher","synopsis":"Package watcher stores interface DefaultingWatcherWithOnChange","isRedistributable":true}
