- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for APIResourceListerFunc (0.35 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/discovery/version.go
"k8s.io/apiserver/pkg/endpoints/handlers/responsewriters" ) type APIResourceLister interface { ListAPIResources() []metav1.APIResource } type APIResourceListerFunc func() []metav1.APIResource func (f APIResourceListerFunc) ListAPIResources() []metav1.APIResource { return f() } // APIVersionHandler creates a webservice serving the supported resources for the version
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 20:38:08 UTC 2022 - 2.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller.go
Group: version.Group, Version: version.Version, }) } return nil } c.versionHandler.setDiscovery(version, discovery.NewAPIVersionHandler(Codecs, version, discovery.APIResourceListerFunc(func() []metav1.APIResource { return apiResourcesForDiscovery }))) sort.Slice(aggregatedAPIResourcesForDiscovery, func(i, j int) bool {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Apr 21 11:40:03 UTC 2024 - 12.8K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler_test.go
delegate: delegate, versionDiscoveryHandler: &versionDiscoveryHandler{ discovery: map[schema.GroupVersion]*discovery.APIVersionHandler{ customV1: discovery.NewAPIVersionHandler(Codecs, customV1, discovery.APIResourceListerFunc(func() []metav1.APIResource { return nil })), }, delegate: delegate, }, groupDiscoveryHandler: &groupDiscoveryHandler{ discovery: map[string]*discovery.APIGroupHandler{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 13 15:27:39 UTC 2023 - 34.6K bytes - Viewed (0)