- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for GetObjectGroupKind (0.1 sec)
-
staging/src/k8s.io/cli-runtime/pkg/printers/name.go
name := "<unknown>" if acc, err := meta.Accessor(obj); err == nil { if n := acc.GetName(); len(n) > 0 { name = n } } return printObj(w, name, p.Operation, p.ShortOutput, GetObjectGroupKind(obj)) } func GetObjectGroupKind(obj runtime.Object) schema.GroupKind { if obj == nil { return schema.GroupKind{Kind: "<unknown>"} } groupVersionKind := obj.GetObjectKind().GroupVersionKind()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 28 23:24:54 UTC 2019 - 3.9K bytes - Viewed (0)