package
0.21.4
Repository: https://github.com/stackpointcloud/kubernetes.git
Documentation: pkg.go.dev

# Functions

NewDecoder creates an Decoder for the given writer and codec.
NewEncoder creates an Encoder for the given writer and codec.
Object converts a watch.Event into an appropriately serializable JSON object.

# Structs

Decoder implements the watch.Decoder interface for io.ReadClosers that have contents which consist of a series of watchEvent objects encoded via JSON.
Encoder implements the json.Encoder interface for io.Writers that should serialize WatchEvent objects into JSON.
WatchEvent objects are streamed from the api server in response to a watch request.