var DiscoveryEndpointRestrictions … type discoveryEndpointRestrictions … func (discoveryEndpointRestrictions) AllowsMediaTypeTransform(mimeType string, mimeSubType string, gvk *schema.GroupVersionKind) bool { … } func (discoveryEndpointRestrictions) AllowsServerVersion(string) bool { … } func (discoveryEndpointRestrictions) AllowsStreamSchema(s string) bool { … } // IsAggregatedDiscoveryGVK checks if a provided GVK is the GVK for serving aggregated discovery. func IsAggregatedDiscoveryGVK(gvk *schema.GroupVersionKind) bool { … }