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

30
internal/setup/step2.go Normal file
View File

@@ -0,0 +1,30 @@
package setup
//TODO: label policy
// import (
// "context"
// iam_model "github.com/caos/zitadel/internal/iam/model"
// )
// type Step2 struct {
// DefaultLabelPolicy LabelPolicy
// setup *Setup
// }
// func (s *Step2) isNil() bool {
// return s == nil
// }
// func (step *Step2) step() iam_model.Step {
// return iam_model.Step2
// }
// func (step *Step2) init(setup *Setup) {
// step.setup = setup
// }
// func (step *Step2) execute(ctx context.Context) error {
// return nil
// }