(gvk schema.GroupVersionKind)
| 181 | } |
| 182 | |
| 183 | func (w *Set) Contains(gvk schema.GroupVersionKind) bool { |
| 184 | w.mux.RLock() |
| 185 | defer w.mux.RUnlock() |
| 186 | return w.set[gvk] |
| 187 | } |
| 188 | |
| 189 | // Difference returns items in the set that are not in the other (provided) set. |
| 190 | func (w *Set) Difference(other *Set) *Set { |