feat: add template RBAC/groups (#4235)

This commit is contained in:
Jon Ayers
2022-10-10 15:37:06 -05:00
committed by GitHub
parent 2687e3db49
commit 3120c94c22
122 changed files with 8088 additions and 1062 deletions

12
testutil/ctx.go Normal file
View File

@ -0,0 +1,12 @@
package testutil
import (
"context"
"testing"
)
func Context(t *testing.T) (context.Context, context.CancelFunc) {
ctx, cancel := context.WithTimeout(context.Background(), WaitLong)
t.Cleanup(cancel)
return ctx, cancel
}