(ctx context.Context, client dynamic.Interface, mapper meta.RESTMapper)
| 35 | } |
| 36 | |
| 37 | func (o ObjectID) GetUnstructured(ctx context.Context, client dynamic.Interface, mapper meta.RESTMapper) (*unstructured.Unstructured, error) { |
| 38 | u, err := getUnstructuredObject(ctx, client, mapper, o.APIVersion, o.Kind, o.Namespace, o.Name) |
| 39 | if err != nil { |
| 40 | return nil, err |
| 41 | } |
| 42 | return u, nil |
| 43 | } |
| 44 | |
| 45 | func WalkOwnershipGraph( |
| 46 | ctx context.Context, |
no test coverage detected