// SetGroupVersionKind sets the API version and kind of the object reference func (obj *ObjectReference) SetGroupVersionKind(gvk schema.GroupVersionKind) { … } // GroupVersionKind returns the API version and kind of the object reference func (obj *ObjectReference) GroupVersionKind() schema.GroupVersionKind { … } // GetObjectKind returns the kind of object reference func (obj *ObjectReference) GetObjectKind() schema.ObjectKind { … }