package
0.21.4
Repository: https://github.com/acorn-io/kubernetes.git
Documentation: pkg.go.dev

# Packages

Package json implements a simple encoder and decoder for streams of watch events over io.Writer/Readers.

# 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
NewStreamWatcher creates a StreamWatcher from the given decoder.

# 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

# 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.
StreamWatcher turns any stream for which you can write a Decoder interface into a watch.Interface.

# Interfaces

Decoder allows StreamWatcher to watch any stream for which a Decoder can be written.
Interface can be implemented by anything that knows how to watch and report changes.

# Type aliases

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.