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:
Silvan
2020-09-24 11:38:28 +02:00
committed by GitHub
parent 0bd27bc8e4
commit 3e1204524e
20 changed files with 10036 additions and 18037 deletions

14
internal/setup/step.go Normal file
View File

@@ -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
}