// Owns returns true if the ProgressiveSync object has a reference to one of the owners
Owns returns true if the ProgressiveSync object has a reference to one of the owners
// Owns returns true if the ProgressiveSync object has a reference to one of the owners
func (in *ProgressiveSync) Owns(owners []metav1.OwnerReference) bool {
	for _, owner := range owners {
		if owner.Kind == in.Spec.SourceRef.Kind && owner.APIVersion == *in.Spec.SourceRef.APIGroup && owner.Name == in.Spec.SourceRef.Name {
			return true
		}
	}
	return false
}
func ( in * ProgressiveSync ) Owns ( owners [ ] metav1 . OwnerReference ) bool { for _ , owner := range owners { if owner . Kind == in . Spec . SourceRef . Kind && owner . APIVersion == * in . Spec . SourceRef . APIGroup && owner . Name == in . Spec . SourceRef . Name { return true } } return false }
Owns returns true if the ProgressiveSync object has a reference to one of the owners
Owns returns true if the ProgressiveSync object has a reference to one of the owners