2020-06-25 08:01:13 +02:00
|
|
|
package repository
|
|
|
|
|
|
|
|
import (
|
|
|
|
"context"
|
2022-04-19 08:26:12 +02:00
|
|
|
|
2022-04-27 01:01:45 +02:00
|
|
|
"github.com/zitadel/zitadel/internal/view/model"
|
2020-06-25 08:01:13 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
type AdministratorRepository interface {
|
2022-11-18 13:49:38 +01:00
|
|
|
GetFailedEvents(ctx context.Context, instanceID string) ([]*model.FailedEvent, error)
|
2020-06-25 08:01:13 +02:00
|
|
|
RemoveFailedEvent(context.Context, *model.FailedEvent) error
|
2022-11-18 13:49:38 +01:00
|
|
|
GetViews(instanceID string) ([]*model.View, error)
|
2020-12-02 08:50:59 +01:00
|
|
|
ClearView(ctx context.Context, db, viewName string) error
|
2020-06-25 08:01:13 +02:00
|
|
|
}
|