Skip to content

Commit bcff834

Browse files
committed
FIXUP: add an interface -- PR feedback
1 parent 0852d46 commit bcff834

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/kubernetes/apis.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ type APIs interface {
2929
type APISet = sets.Set[API]
3030

3131
func NewAPISet(api ...API) APISet {
32+
// Start with everything that's passed in; full GVKs are here.
3233
s := sets.New[API](api...)
3334

35+
// Add the other combinations; Group, GV, and GK.
3436
for i := range api {
3537
s.Insert(
3638
API{Group: api[i].Group},

0 commit comments

Comments
 (0)