type watchJSON …
func roundTripOrDie(codec runtime.Codec, object runtime.Object) runtime.Object { … }
var watchTestTable …
func podWatchTestTable() []struct { … }
func TestWatchWebsocket(t *testing.T) { … }
func TestWatchWebsocketClientClose(t *testing.T) { … }
func TestWatchClientClose(t *testing.T) { … }
func TestWatchRead(t *testing.T) { … }
func TestWatchHTTPAccept(t *testing.T) { … }
func TestWatchParamParsing(t *testing.T) { … }
func TestWatchProtocolSelection(t *testing.T) { … }
type fakeTimeoutFactory …
func (t *fakeTimeoutFactory) TimeoutCh() (<-chan time.Time, func() bool) { … }
func serveWatch(watcher watch.Interface, watchServer *handlers.WatchServer, preServeErr error) http.HandlerFunc { … }
func TestWatchHTTPErrors(t *testing.T) { … }
func TestWatchHTTPErrorsBeforeServe(t *testing.T) { … }
func TestWatchHTTPDynamicClientErrors(t *testing.T) { … }
func TestWatchHTTPTimeout(t *testing.T) { … }
func BenchmarkWatchHTTP(b *testing.B) { … }
func BenchmarkWatchHTTP_UTF8(b *testing.B) { … }
func toObjectSlice(in []example.Pod) []runtime.Object { … }
func runWatchHTTPBenchmark(b *testing.B, items []runtime.Object, contentType string) { … }
func BenchmarkWatchWebsocket(b *testing.B) { … }
func BenchmarkWatchProtobuf(b *testing.B) { … }
type fakeCachingObject …
func (f *fakeCachingObject) CacheEncode(_ runtime.Identifier, encode func(runtime.Object, io.Writer) error, w io.Writer) error { … }
func (f *fakeCachingObject) GetObject() runtime.Object { … }
func (f *fakeCachingObject) GetObjectKind() schema.ObjectKind { … }
func (f *fakeCachingObject) DeepCopyObject() runtime.Object { … }
var _ …
var _ …
func wrapCachingObject(in []example.Pod) []runtime.Object { … }
func BenchmarkWatchCachingObjectJSON(b *testing.B) { … }
func BenchmarkWatchCachingObjectProtobuf(b *testing.B) { … }