ObjectKeyFromObject returns the ObjectKey given a runtime.Object.
(obj Object)
| 33 | |
| 34 | // ObjectKeyFromObject returns the ObjectKey given a runtime.Object. |
| 35 | func ObjectKeyFromObject(obj Object) ObjectKey { |
| 36 | return ObjectKey{Namespace: obj.GetNamespace(), Name: obj.GetName()} |
| 37 | } |
| 38 | |
| 39 | // Patch is a patch that can be applied to a Kubernetes object. |
| 40 | type Patch interface { |
searching dependent graphs…