- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for AllowsMediaTypeTransform (0.23 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/negotiation/negotiate.go
// to verify server support for specific options type EndpointRestrictions interface { // AllowsMediaTypeTransform returns true if the endpoint allows either the requested mime type // or the requested transformation. If false, the caller should ignore this mime type. If the // target is nil, the client is not requesting a transformation. AllowsMediaTypeTransform(mimeType, mimeSubType string, target *schema.GroupVersionKind) bool
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/endpoints/discovery/aggregated/negotiation.go
var DiscoveryEndpointRestrictions = discoveryEndpointRestrictions{} type discoveryEndpointRestrictions struct{} func (discoveryEndpointRestrictions) AllowsMediaTypeTransform(mimeType string, mimeSubType string, gvk *schema.GroupVersionKind) bool { return IsAggregatedDiscoveryGVK(gvk) } func (discoveryEndpointRestrictions) AllowsServerVersion(string) bool { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 1.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/handlers/rest.go
} // Fall back to only allowing the singular Kind. This is the typical behavior. return gv == scope.Kind.GroupVersion() } func (scope *RequestScope) AllowsMediaTypeTransform(mimeType, mimeSubType string, gvk *schema.GroupVersionKind) bool { // some handlers like CRDs can't serve all the mime types that PartialObjectMetadata or Table can - if
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 17K bytes - Viewed (0)