type Conflict … var _ … // Error formats the conflict as an error. func (c Conflict) Error() string { … } // Equals returns true if c == c2 func (c Conflict) Equals(c2 Conflict) bool { … } type Conflicts … var _ … // Error prints the list of conflicts, grouped by sorted managers. func (conflicts Conflicts) Error() string { … } // Equals returns true if the lists of conflicts are the same. func (c Conflicts) Equals(c2 Conflicts) bool { … } // ToSet aggregates conflicts for all managers into a single Set. func (c Conflicts) ToSet() *fieldpath.Set { … } // ConflictsFromManagers creates a list of conflicts given Managers sets. func ConflictsFromManagers(sets fieldpath.ManagedFields) Conflicts { … }