Documentation ¶
Index ¶
- type FGAStoreHelper
- type FgaTenantStore
- func (c *FgaTenantStore) GetCache() *expirable.LRU[string, string]
- func (c *FgaTenantStore) GetModelIDForTenant(ctx context.Context, conn openfgav1.OpenFGAServiceClient, tenantID string) (string, error)
- func (c *FgaTenantStore) GetStoreIDForTenant(ctx context.Context, conn openfgav1.OpenFGAServiceClient, tenantID string) (string, error)
- func (c *FgaTenantStore) IsDuplicateWriteError(err error) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FGAStoreHelper ¶
type FgaTenantStore ¶
type FgaTenantStore struct {
// contains filtered or unexported fields
}
func New ¶
func New() *FgaTenantStore
func (*FgaTenantStore) GetCache ¶
func (c *FgaTenantStore) GetCache() *expirable.LRU[string, string]
func (*FgaTenantStore) GetModelIDForTenant ¶
func (c *FgaTenantStore) GetModelIDForTenant(ctx context.Context, conn openfgav1.OpenFGAServiceClient, tenantID string) (string, error)
func (*FgaTenantStore) GetStoreIDForTenant ¶
func (c *FgaTenantStore) GetStoreIDForTenant(ctx context.Context, conn openfgav1.OpenFGAServiceClient, tenantID string) (string, error)
func (*FgaTenantStore) IsDuplicateWriteError ¶
func (c *FgaTenantStore) IsDuplicateWriteError(err error) bool
Click to show internal directories.
Click to hide internal directories.