github.com/operator-framework/operator-lifecycle-manager@v0.30.0/test/e2e/ctx/must.go (about) 1 package ctx 2 3 func MustProvision(ctx *TestContext) func() { 4 deprovision, err := Provision(ctx) 5 if err != nil { 6 panic(err) 7 } 8 return deprovision 9 } 10 11 func MustInstall(ctx *TestContext) { 12 if err := Install(ctx); err != nil { 13 panic(err) 14 } 15 }