Documentation
¶
Index ¶
- type StoreHelper
- func (d StoreHelper) GetModelIDForTenant(ctx context.Context, conn openfgav1.OpenFGAServiceClient, orgID string) (string, error)
- func (d StoreHelper) GetStoreIDForTenant(ctx context.Context, conn openfgav1.OpenFGAServiceClient, orgID string) (string, error)
- func (d StoreHelper) IsDuplicateWriteError(err error) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StoreHelper ¶
type StoreHelper struct {
// contains filtered or unexported fields
}
func NewStoreHelper ¶
func NewStoreHelper() *StoreHelper
func (StoreHelper) GetModelIDForTenant ¶
func (d StoreHelper) GetModelIDForTenant(ctx context.Context, conn openfgav1.OpenFGAServiceClient, orgID string) (string, error)
func (StoreHelper) GetStoreIDForTenant ¶
func (d StoreHelper) GetStoreIDForTenant(ctx context.Context, conn openfgav1.OpenFGAServiceClient, orgID string) (string, error)
func (StoreHelper) IsDuplicateWriteError ¶
func (d StoreHelper) IsDuplicateWriteError(err error) bool
Click to show internal directories.
Click to hide internal directories.