mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-12 00:55:12 +00:00
fix: multiple setup steps (#773)
* fix: multiple setup steps * fix: test set up started * fix: possible nil pointers in setup * fix: validate executed step
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package setup
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
iam_model "github.com/caos/zitadel/internal/iam/model"
|
||||
)
|
||||
|
||||
type step interface {
|
||||
step() iam_model.Step
|
||||
execute(context.Context) error
|
||||
init(*Setup)
|
||||
isNil() bool
|
||||
}
|
||||
Reference in New Issue
Block a user