type Restorer interface {
// WaitForEndpointRestore blocks the caller until either the context is// cancelled or all the endpoints have been restored from a previous run.
WaitForEndpointRestore(ctx context.Context) error
}
Restorer wraps a method to wait for endpoints restoration.