Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultSubsetNegotiatedSerializer ¶
func DefaultSubsetNegotiatedSerializer(codecs serializer.CodecFactory) runtime.NegotiatedSerializer
DefaultSubsetNegotiatedSerializer is the default ironcore serializer that does not use protobuf. Since our types *don't* implement protobuf encoding, and without removing the protobuf support, namespace deletion would fail (see issue https://github.com/kubernetes/kubernetes/issues/86666). As such, until we either enhance content type negotiation or implement protobuf for our types, we have to make use of this for our api group negotiated serializers.
func NoProtobuf ¶
func NoProtobuf(info runtime.SerializerInfo) bool
NoProtobuf is a function that disallows the use of protobuf.
func SubsetNegotiatedSerializer ¶
func SubsetNegotiatedSerializer(codecs serializer.CodecFactory, accepts ...func(info runtime.SerializerInfo) bool) runtime.NegotiatedSerializer
SubsetNegotiatedSerializer is a runtime.NegotiatedSerializer that provides a whitelisted subset of the media types the provided serializer.CodecFactory provides.
Types ¶
This section is empty.