We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0852d46 commit bcff834Copy full SHA for bcff834
internal/kubernetes/apis.go
@@ -29,8 +29,10 @@ type APIs interface {
29
type APISet = sets.Set[API]
30
31
func NewAPISet(api ...API) APISet {
32
+ // Start with everything that's passed in; full GVKs are here.
33
s := sets.New[API](api...)
34
35
+ // Add the other combinations; Group, GV, and GK.
36
for i := range api {
37
s.Insert(
38
API{Group: api[i].Group},
0 commit comments