Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TenantContext ¶
type TenantManager ¶
func NewTenantManager ¶
func NewTenantManager(controlDB *gorm.DB, masterKeyB64 string, pool TenantPoolConfig) (*TenantManager, error)
func (*TenantManager) Close ¶
func (m *TenantManager) Close() error
func (*TenantManager) Evict ¶
func (m *TenantManager) Evict(orgID string)
func (*TenantManager) GetTenantContext ¶
func (m *TenantManager) GetTenantContext(ctx context.Context, orgID string) (*TenantContext, error)
func (*TenantManager) Len ¶
func (m *TenantManager) Len() int
Click to show internal directories.
Click to hide internal directories.