package
0.4.3
Repository: https://github.com/sub-mod/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.
No description provided by the author
NewMux creates a new Mux.
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

# Structs

Event represents a single event to a watched resource.
FakeWatcher lets you test anything that consumes a watch.Interface; threadsafe.
Mux distributes event notifications among any number of watchers.
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.