- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for NamespaceKeyFunc (0.38 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/util.go
func SimpleUpdate(fn SimpleUpdateFunc) UpdateFunc { return func(input runtime.Object, _ ResponseMeta) (runtime.Object, *uint64, error) { out, err := fn(input) return out, nil, err } } func NamespaceKeyFunc(prefix string, obj runtime.Object) (string, error) { meta, err := meta.Accessor(obj) if err != nil { return "", err } name := meta.GetName() if msgs := path.IsValidPathSegmentName(name); len(msgs) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 08:05:06 UTC 2024 - 4.6K bytes - Viewed (0)