factory

package
v0.0.0-...-77e2b90 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntFactory

type EntFactory struct {
	// contains filtered or unexported fields
}

EntFactory adapts ent-backed dependencies to tenant plugin services.

func NewEntFactory

func NewEntFactory(client *coreent.Client) *EntFactory

func (*EntFactory) Models

func (f *EntFactory) Models() []any

func (*EntFactory) NewTenantService

func (f *EntFactory) NewTenantService(
	domainSvc core.DomainWriter,
	events plugin.EventBus,
	logger logging.Logger,
) *tenantmod.Service

func (*EntFactory) RoleSeeder

func (f *EntFactory) RoleSeeder() shared.RoleSeeder

func (*EntFactory) UserLookup

func (f *EntFactory) UserLookup() shared.UserLookup

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL