(gvks ...schema.GroupVersionKind)
| 102 | } |
| 103 | |
| 104 | func (w *Set) Add(gvks ...schema.GroupVersionKind) { |
| 105 | w.mux.Lock() |
| 106 | defer w.mux.Unlock() |
| 107 | for _, gvk := range gvks { |
| 108 | w.set[gvk] = true |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | func (w *Set) Remove(gvks ...schema.GroupVersionKind) { |
| 113 | w.mux.Lock() |
no outgoing calls