Documentation ¶
Index ¶
- type EntityConfigRepository
- func (_m *EntityConfigRepository) All(ctx context.Context) (configs entities.EntityConfigs, err error)
- func (_m *EntityConfigRepository) Clear(ctx context.Context) (err error)
- func (_m *EntityConfigRepository) Migrate() error
- func (_m *EntityConfigRepository) Read(ctx context.Context, entityName string) (entities.EntityConfig, error)
- func (_m *EntityConfigRepository) Replace(ctx context.Context, configs entities.EntityConfigs) (err error)
- type RelationTupleRepository
- func (_m *RelationTupleRepository) Delete(ctx context.Context, tuples entities.RelationTuples) (err error)
- func (_m *RelationTupleRepository) Migrate() error
- func (_m *RelationTupleRepository) QueryTuples(ctx context.Context, namespace string, objectID string, relation string) (tuples entities.RelationTuples, err error)
- func (_m *RelationTupleRepository) Read(ctx context.Context, filter filters.RelationTupleFilter) (tuples entities.RelationTuples, err error)
- func (_m *RelationTupleRepository) Write(ctx context.Context, tuples entities.RelationTuples) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntityConfigRepository ¶
EntityConfigRepository is an autogenerated mock type for the EntityConfigRepository type
func (*EntityConfigRepository) All ¶
func (_m *EntityConfigRepository) All(ctx context.Context) (configs entities.EntityConfigs, err error)
All -
func (*EntityConfigRepository) Clear ¶
func (_m *EntityConfigRepository) Clear(ctx context.Context) (err error)
Clear -
func (*EntityConfigRepository) Migrate ¶
func (_m *EntityConfigRepository) Migrate() error
func (*EntityConfigRepository) Read ¶
func (_m *EntityConfigRepository) Read(ctx context.Context, entityName string) (entities.EntityConfig, error)
Replace -
func (*EntityConfigRepository) Replace ¶
func (_m *EntityConfigRepository) Replace(ctx context.Context, configs entities.EntityConfigs) (err error)
Replace -
type RelationTupleRepository ¶
RelationTupleRepository is an autogenerated mock type for the RelationTupleRepository type
func (*RelationTupleRepository) Delete ¶
func (_m *RelationTupleRepository) Delete(ctx context.Context, tuples entities.RelationTuples) (err error)
Delete -
func (*RelationTupleRepository) Migrate ¶
func (_m *RelationTupleRepository) Migrate() error
func (*RelationTupleRepository) QueryTuples ¶
func (_m *RelationTupleRepository) QueryTuples(ctx context.Context, namespace string, objectID string, relation string) (tuples entities.RelationTuples, err error)
QueryTuples -
func (*RelationTupleRepository) Read ¶
func (_m *RelationTupleRepository) Read(ctx context.Context, filter filters.RelationTupleFilter) (tuples entities.RelationTuples, err error)
Read -
func (*RelationTupleRepository) Write ¶
func (_m *RelationTupleRepository) Write(ctx context.Context, tuples entities.RelationTuples) (err error)
Write -
Click to show internal directories.
Click to hide internal directories.