KMetadata is a subset of the kubernetes k8s.io/apimachinery/pkg/apis/meta/v1.Object interface this interface may expand in the future, but will always be a subset of the kubernetes k8s.io/apimachinery/pkg/apis/meta/v1.Object interface
| 24 | // this interface may expand in the future, but will always be a subset of the |
| 25 | // kubernetes k8s.io/apimachinery/pkg/apis/meta/v1.Object interface |
| 26 | type KMetadata interface { |
| 27 | GetName() string |
| 28 | GetNamespace() string |
| 29 | } |
| 30 | |
| 31 | // KObj returns ObjectRef from ObjectMeta |
| 32 | func KObj[T KMetadata](obj T) ObjectRef { |
no outgoing calls
no test coverage detected