constellation/cli/cmd/statuswaiter_test.go

16 lines
282 B
Go
Raw Normal View History

package cmd
import (
"context"
"github.com/edgelesssys/constellation/coordinator/state"
)
type stubStatusWaiter struct {
waitForAllErr error
}
func (w stubStatusWaiter) WaitForAll(ctx context.Context, status state.State, endpoints []string) error {
return w.waitForAllErr
}