package
2.0.0+incompatible
Repository: https://github.com/irisiris/client-go.git
Documentation: pkg.go.dev
# Packages
Package versioned contains the versioned types for watch.
# Functions
Filter passes all events through f before allowing them to pass on.
NewBroadcaster creates a new Broadcaster.
NewEmptyWatch returns a watch interface that returns no results and is closed.
No description provided by the author
No description provided by the author
No description provided by the author
NewRecorder wraps an Interface and records any changes sent across it.
NewStreamWatcher creates a StreamWatcher from the given decoder.
Until reads items from the watch until each provided condition succeeds, and then returns the last watch encountered.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
Broadcaster distributes event notifications among any number of watchers.
Event represents a single event to a watched resource.
FakeWatcher lets you test anything that consumes a watch.Interface; threadsafe.
RaceFreeFakeWatcher lets you test anything that consumes a watch.Interface; threadsafe.
Recorder records all events that are sent from the watch until it is closed.
StreamWatcher turns any stream for which you can write a Decoder interface into a watch.Interface.
# Type aliases
ConditionFunc returns true if the condition has been reached, false if it has not been reached yet, or an error if the condition cannot be checked and should terminate.
EventType defines the possible types of events.
FilterFunc should take an event, possibly modify it in some way, and return the modified event.
FullChannelBehavior controls how the Broadcaster reacts if a watcher's watch channel is full.