constellation/cli/cmd/statuswaiter.go

14 lines
306 B
Go
Raw Normal View History

package cmd
import (
"context"
2022-04-19 11:02:02 -04:00
"github.com/edgelesssys/constellation/coordinator/atls"
"github.com/edgelesssys/constellation/coordinator/state"
)
type statusWaiter interface {
2022-04-19 11:02:02 -04:00
InitializeValidators([]atls.Validator)
WaitForAll(ctx context.Context, endpoints []string, status ...state.State) error
}