mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-19 22:37:35 +00:00
16 lines
467 B
Go
16 lines
467 B
Go
|
package repository
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
admin_model "github.com/caos/zitadel/internal/admin/model"
|
||
|
org_model "github.com/caos/zitadel/internal/org/model"
|
||
|
)
|
||
|
|
||
|
type OrgRepository interface {
|
||
|
SetUpOrg(context.Context, *admin_model.SetupOrg) (*admin_model.SetupOrg, error)
|
||
|
IsOrgUnique(ctx context.Context, name, domain string) (bool, error)
|
||
|
OrgByID(ctx context.Context, id string) (*org_model.Org, error)
|
||
|
SearchOrgs(ctx context.Context) ([]*org_model.Org, error)
|
||
|
}
|