mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-02-28 02:41:27 -05:00

* Simplify `fetch_pcrs.sh` script * Allow waiting for multiple states Signed-off-by: Daniel Weiße <dw@edgeless.systems>
12 lines
209 B
Go
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
|
|
}
|