- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for extractResourceName (0.18 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/errors.go
import ( apierrors "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/api/meta" "k8s.io/apimachinery/pkg/runtime/schema" utilerrors "k8s.io/apimachinery/pkg/util/errors" ) func extractResourceName(a Attributes) (name string, resource schema.GroupResource, err error) { resource = a.GetResource().GroupResource() if len(a.GetName()) > 0 { return a.GetName(), resource, nil } name = "Unknown"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jul 26 19:40:51 UTC 2017 - 2.3K bytes - Viewed (0)