zitadel/backend/internal/service/instance_domain.go
2025-01-06 08:00:35 +01:00

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
}