mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-13 11:25:19 +00:00
Handle streaming serializers more consistently
Add tests to watch behavior in both protocols (http and websocket) against all 3 media types. Adopt the `application/vnd.kubernetes.protobuf;stream=watch` media type for the content that comes back from a watch call so that it can be distinguished from a Status result.
This commit is contained in:
@@ -29,9 +29,6 @@ var Scheme = runtime.NewScheme()
|
||||
// Codecs provides access to encoding and decoding for the scheme
|
||||
var Codecs = serializer.NewCodecFactory(Scheme)
|
||||
|
||||
// StreamCodecs provides access to streaming encoding and decoding for the scheme
|
||||
var StreamCodecs = serializer.NewStreamingCodecFactory(Scheme)
|
||||
|
||||
// GroupName is the group name use in this package
|
||||
const GroupName = ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user