- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for MediaTypeType (0.11 sec)
-
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/unstructured/unstructuredscheme/scheme.go
creator runtime.ObjectCreater } func (s unstructuredNegotiatedSerializer) SupportedMediaTypes() []runtime.SerializerInfo { return []runtime.SerializerInfo{ { MediaType: "application/json", MediaTypeType: "application", MediaTypeSubType: "json", EncodesAsText: true, Serializer: json.NewSerializer(json.DefaultMetaFactory, s.creator, s.typer, false),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 27 12:37:23 UTC 2020 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/negotiation/negotiate_test.go
result := make([]runtime.SerializerInfo, 2) result[0] = runtime.SerializerInfo{ MediaType: "application/json", MediaTypeType: "application", MediaTypeSubType: "json", } result[1] = runtime.SerializerInfo{ MediaType: "application/vnd.kubernetes.protobuf", MediaTypeType: "application", MediaTypeSubType: "vnd.kubernetes.protobuf", } return result }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 10 10:53:34 UTC 2019 - 9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/negotiation/negotiate.go
for i := range clauses { clause := &clauses[i] for i := range accepted { accepts := &accepted[i] switch { case clause.Type == accepts.MediaTypeType && clause.SubType == accepts.MediaTypeSubType, clause.Type == accepts.MediaTypeType && clause.SubType == "*", clause.Type == "*" && clause.SubType == "*": if retVal, ret := acceptMediaTypeOptions(clause.Params, accepts, endpoint); ret {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 10 10:53:34 UTC 2019 - 9.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/storage/storage_factory_test.go
if len(parts) == 1 { // this is an error on the server side parts = append(parts, "") } info := runtime.SerializerInfo{ Serializer: n.serializer, MediaType: s, MediaTypeType: parts[0], MediaTypeSubType: parts[1], EncodesAsText: true, } for _, t := range n.streamTypes { if t == s { info.StreamSerializer = &runtime.StreamSerializerInfo{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 13:35:58 UTC 2023 - 7.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/delete_test.go
serializer runtime.Serializer } func (n *fakeSerializer) SupportedMediaTypes() []runtime.SerializerInfo { return []runtime.SerializerInfo{ { MediaType: "application/json", MediaTypeType: "application", MediaTypeSubType: "json", }, } } func (n *fakeSerializer) EncoderForVersion(serializer runtime.Encoder, gv runtime.GroupVersioner) runtime.Encoder { return n.serializer }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 03 16:16:51 UTC 2023 - 8.2K bytes - Viewed (0)