constellation/cli/cmd/statuswaiter.go
Daniel Weiße eb3411f2c1 Allow waiting for multiple states (#11)
* Simplify `fetch_pcrs.sh` script

* Allow waiting for multiple states

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
2022-03-29 09:10:22 +02:00

12 lines
209 B
Go

package cmd
import (
"context"
"github.com/edgelesssys/constellation/coordinator/state"
)
type statusWaiter interface {
WaitForAll(ctx context.Context, endpoints []string, status ...state.State) error
}