code: func isMatchingInfo(a, b *resource.Info) bool {
  	return a.Name == b.Name && a.Mapping.GroupVersionKind.Kind == b.Mapping.GroupVersionKind.Kind
  }
docs: // isMatchingInfo returns true if infos match on Name and GroupVersionKind.