package
2.4.4+incompatible
Repository: https://github.com/laincloud/lainlet.git
Documentation: pkg.go.dev
# Constants
CONFIG represents a config watcher, watch /lain/config.
CONTAINER represents a container watcher, it's based on podgroup watcher.
DEPENDS represents a depends watcher, watch /lain/deployd/depends.
NIL represents a nil watcher, which will watch nothing.
NODES represents a node watcher, it's based on podgroup watcher.
PODGROUP represents a podgroup watcher, watch /lain/deployd/pod_groups.
# Structs
BaseWatcher having a sender, store, and convert function.
Cacher is a simple cache, used to cache converted data from store.
Event represents a watcher event.
Receiver represents a receiver of sender, which can receive data from sender.
Sender having a cache, when the data in cache changed, call Broadcast() sending new data to receivers.
Status of a watcher.
# Interfaces
No description provided by the author
# Type aliases
ConvertFunc convert the data from store into a general type.