mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-27 00:19:36 -05:00
eb3411f2c1
* 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
|
|
}
|