mirror of
https://github.com/zitadel/zitadel.git
synced 2025-10-21 14:20:07 +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:
14
internal/setup/step.go
Normal file
14
internal/setup/step.go
Normal 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
|
||||
}
|
Reference in New Issue
Block a user