NewSet constructs a new watchSet.
()
| 59 | |
| 60 | // NewSet constructs a new watchSet. |
| 61 | func NewSet() *Set { |
| 62 | return &Set{ |
| 63 | set: make(map[schema.GroupVersionKind]bool), |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | // SetFrom constructs a new watchSet from the given gvks. |
| 68 | func SetFrom(items []schema.GroupVersionKind) *Set { |
no outgoing calls
searching dependent graphs…