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