// SetGroupVersionKind allows clients to preemptively get a reference to an API object and pass it to places that // intend only to get a reference to that object. This simplifies the event recording interface. func (obj *ObjectReference) SetGroupVersionKind(gvk schema.GroupVersionKind) { … } func (obj *ObjectReference) GroupVersionKind() schema.GroupVersionKind { … } func (obj *ObjectReference) GetObjectKind() schema.ObjectKind { … }