| gio | ea6d912 | 2025-05-22 17:57:18 +0400 | [diff] [blame^] | 1 | package status |
| 2 | |||||
| 3 | type OwnerReference struct { | ||||
| 4 | APIVersion string `json:"apiVersion"` | ||||
| 5 | Kind string `json:"kind"` | ||||
| 6 | Name string `json:"name"` | ||||
| 7 | } | ||||
| 8 | |||||
| 9 | type Metadata struct { | ||||
| 10 | Name string `json:"name"` | ||||
| 11 | Namespace string `json:"namespace"` | ||||
| 12 | Annotations map[string]string `json:"annotations"` | ||||
| 13 | OwnerReferences []OwnerReference `json:"ownerReferences"` | ||||
| 14 | } | ||||
| 15 | |||||
| 16 | type ResourceWithOwnerReferences interface { | ||||
| 17 | OwnerReferences() []OwnerReference | ||||
| 18 | } | ||||