constellation/cli/cmd/statuswaiter.go

14 lines
312 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 {
InitializeValidators([]atls.Validator) error
WaitForAll(ctx context.Context, endpoints []string, status ...state.State) error
}