- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for newWatchEncoder (0.25 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/watch.go
// begin the stream w.Header().Set("Content-Type", s.MediaType) w.Header().Set("Transfer-Encoding", "chunked") w.WriteHeader(http.StatusOK) flusher.Flush() kind := s.Scope.Kind watchEncoder := newWatchEncoder(req.Context(), kind, s.EmbeddedEncoder, s.Encoder, framer) ch := s.Watching.ResultChan() done := req.Context().Done() for { select { case <-s.ServerShuttingDownCh:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Dec 14 16:37:25 UTC 2023 - 11.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/response.go
buffer runtime.Splice eventBuffer runtime.Splice currentEmbeddedIdentifier runtime.Identifier identifiers map[watch.EventType]runtime.Identifier } func newWatchEncoder(ctx context.Context, kind schema.GroupVersionKind, embeddedEncoder runtime.Encoder, encoder runtime.Encoder, framer io.Writer) *watchEncoder { return &watchEncoder{ ctx: ctx, kind: kind,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 09:07:03 UTC 2023 - 16.5K bytes - Viewed (0)