Documentation ¶
Index ¶
- type EntityConfigRepository
- func (_m *EntityConfigRepository) All(ctx context.Context, version string) (configs entities.EntityConfigs, err errors.Error)
- func (_m *EntityConfigRepository) Migrate() errors.Error
- func (_m *EntityConfigRepository) Read(ctx context.Context, entityName string, version string) (entities.EntityConfig, errors.Error)
- func (_m *EntityConfigRepository) Write(ctx context.Context, configs entities.EntityConfigs, version string) (err errors.Error)
- type RelationTupleRepository
- func (_m *RelationTupleRepository) Delete(ctx context.Context, tuples entities.RelationTuples) (err errors.Error)
- func (_m *RelationTupleRepository) Migrate() errors.Error
- func (_m *RelationTupleRepository) QueryTuples(ctx context.Context, namespace string, objectID string, relation string) (tuples entities.RelationTuples, err errors.Error)
- func (_m *RelationTupleRepository) Read(ctx context.Context, filter filters.RelationTupleFilter) (tuples entities.RelationTuples, err errors.Error)
- func (_m *RelationTupleRepository) ReverseQueryTuples(ctx context.Context, entity string, relation string, subjectEntity string, ...) (entities.RelationTuples, errors.Error)
- func (_m *RelationTupleRepository) Write(ctx context.Context, tuples entities.RelationTuples) (err errors.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, version string) (configs entities.EntityConfigs, err errors.Error)
All -
func (*EntityConfigRepository) Migrate ¶
func (_m *EntityConfigRepository) Migrate() errors.Error
func (*EntityConfigRepository) Read ¶
func (_m *EntityConfigRepository) Read(ctx context.Context, entityName string, version string) (entities.EntityConfig, errors.Error)
Replace -
func (*EntityConfigRepository) Write ¶
func (_m *EntityConfigRepository) Write(ctx context.Context, configs entities.EntityConfigs, version string) (err errors.Error)
Write -
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 errors.Error)
Delete -
func (*RelationTupleRepository) Migrate ¶
func (_m *RelationTupleRepository) Migrate() errors.Error
func (*RelationTupleRepository) QueryTuples ¶
func (_m *RelationTupleRepository) QueryTuples(ctx context.Context, namespace string, objectID string, relation string) (tuples entities.RelationTuples, err errors.Error)
QueryTuples -
func (*RelationTupleRepository) Read ¶
func (_m *RelationTupleRepository) Read(ctx context.Context, filter filters.RelationTupleFilter) (tuples entities.RelationTuples, err errors.Error)
Read -
func (*RelationTupleRepository) ReverseQueryTuples ¶
func (_m *RelationTupleRepository) ReverseQueryTuples(ctx context.Context, entity string, relation string, subjectEntity string, subjectIDs []string, subjectRelation string) (entities.RelationTuples, errors.Error)
ReverseQueryTuples -
func (*RelationTupleRepository) Write ¶
func (_m *RelationTupleRepository) Write(ctx context.Context, tuples entities.RelationTuples) (err errors.Error)
Write -
Click to show internal directories.
Click to hide internal directories.