Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IEntityConfigRepository ¶
type IEntityConfigRepository interface { Migratable All(ctx context.Context, version string) (configs entities.EntityConfigs, err error) Read(ctx context.Context, name string, version string) (config entities.EntityConfig, err error) Write(ctx context.Context, configs entities.EntityConfigs, version string) (err error) Clear(ctx context.Context, version string) (err error) }
IEntityConfigRepository -
func EntityConfigFactory ¶
func EntityConfigFactory(db database.Database) (repo IEntityConfigRepository)
EntityConfigFactory -
type IRelationTupleRepository ¶
type IRelationTupleRepository interface { Migratable QueryTuples(ctx context.Context, namespace string, objectID string, relation string) (entities.RelationTuples, error) Read(ctx context.Context, filter filters.RelationTupleFilter) (entities.RelationTuples, error) Write(context.Context, entities.RelationTuples) error Delete(context.Context, entities.RelationTuples) error }
IRelationTupleRepository -
func RelationTupleFactory ¶
func RelationTupleFactory(db database.Database) (repo IRelationTupleRepository)
RelationTupleFactory -
Click to show internal directories.
Click to hide internal directories.