Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigMapWatcher ¶
type ConfigMapWatcher struct { ConfigMapName string WatchFunc func(string, map[string]string) error }
ConfigMapWatcher represents a single configmap watcher
type ConfigMapWatchers ¶
type ConfigMapWatchers struct {
// contains filtered or unexported fields
}
func NewConfigMapWatchers ¶
func NewConfigMapWatchers(watchers ...*ConfigMapWatcher) *ConfigMapWatchers
func (*ConfigMapWatchers) AddWatcher ¶
func (cmw *ConfigMapWatchers) AddWatcher(watcher *ConfigMapWatcher)
func (*ConfigMapWatchers) GetWatchedConfigs ¶
func (cmw *ConfigMapWatchers) GetWatchedConfigs() []string
func (*ConfigMapWatchers) ToWatchFunc ¶
func (cmw *ConfigMapWatchers) ToWatchFunc() func(interface{})
Click to show internal directories.
Click to hide internal directories.