zitadel/internal/admin/repository/administrator.go
Livio Amstutz 1305c14e49
feat: handle instanceID in projections (#3442)
* feat: handle instanceID in projections

* rename functions

* fix key lock

* fix import
2022-04-19 08:26:12 +02:00

15 lines
354 B
Go

package repository
import (
"context"
"github.com/caos/zitadel/internal/view/model"
)
type AdministratorRepository interface {
GetFailedEvents(context.Context) ([]*model.FailedEvent, error)
RemoveFailedEvent(context.Context, *model.FailedEvent) error
GetViews() ([]*model.View, error)
ClearView(ctx context.Context, db, viewName string) error
}