mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-11 03:03:40 +00:00
15 lines
472 B
Go
15 lines
472 B
Go
package service
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/zitadel/zitadel/backend/internal/port"
|
|
)
|
|
|
|
type InstanceDomainRepository interface {
|
|
// CreateInstanceDomain creates a new instance domain
|
|
CreateInstanceDomain(ctx context.Context, executor port.Executor, instanceID string, domain *Domain) error
|
|
// CreateInstanceDomains creates multiple instance domains
|
|
CreateInstanceDomains(ctx context.Context, executor port.Executor, instanceID string, domains []*Domain) error
|
|
}
|