Documentation ¶
Index ¶
- type EntityConfigRepository
- func (_m *EntityConfigRepository) All(ctx context.Context, version string) (configs []repositories.EntityConfig, err error)
- func (_m *EntityConfigRepository) Migrate() error
- func (_m *EntityConfigRepository) Read(ctx context.Context, entityName string, version string) (repositories.EntityConfig, error)
- func (_m *EntityConfigRepository) Write(ctx context.Context, configs []repositories.EntityConfig, version string) (err error)
- type RelationTupleRepository
- func (_m *RelationTupleRepository) Delete(ctx context.Context, iterator tuple.ITupleIterator) error
- func (_m *RelationTupleRepository) Migrate() error
- func (_m *RelationTupleRepository) QueryTuples(ctx context.Context, entityType string, entityID string, relation string) (tuple.ITupleIterator, error)
- func (_m *RelationTupleRepository) Read(ctx context.Context, filter *base.TupleFilter) (tuple.ITupleCollection, error)
- func (_m *RelationTupleRepository) ReverseQueryTuples(ctx context.Context, entity string, relation string, subjectEntity string, ...) (tuple.ITupleIterator, error)
- func (_m *RelationTupleRepository) Write(ctx context.Context, iterator tuple.ITupleIterator) 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 []repositories.EntityConfig, err error)
All -
func (*EntityConfigRepository) Migrate ¶
func (_m *EntityConfigRepository) Migrate() error
func (*EntityConfigRepository) Read ¶
func (_m *EntityConfigRepository) Read(ctx context.Context, entityName string, version string) (repositories.EntityConfig, error)
Replace -
func (*EntityConfigRepository) Write ¶
func (_m *EntityConfigRepository) Write(ctx context.Context, configs []repositories.EntityConfig, version string) (err error)
Write -
type RelationTupleRepository ¶
RelationTupleRepository is an autogenerated mock type for the RelationTupleRepository type
func (*RelationTupleRepository) Delete ¶
func (_m *RelationTupleRepository) Delete(ctx context.Context, iterator tuple.ITupleIterator) error
Delete -
func (*RelationTupleRepository) Migrate ¶
func (_m *RelationTupleRepository) Migrate() error
func (*RelationTupleRepository) QueryTuples ¶
func (_m *RelationTupleRepository) QueryTuples(ctx context.Context, entityType string, entityID string, relation string) (tuple.ITupleIterator, error)
QueryTuples -
func (*RelationTupleRepository) Read ¶
func (_m *RelationTupleRepository) Read(ctx context.Context, filter *base.TupleFilter) (tuple.ITupleCollection, error)
Read -
func (*RelationTupleRepository) ReverseQueryTuples ¶
func (_m *RelationTupleRepository) ReverseQueryTuples(ctx context.Context, entity string, relation string, subjectEntity string, subjectIDs []string, subjectRelation string) (tuple.ITupleIterator, error)
ReverseQueryTuples -
func (*RelationTupleRepository) Write ¶
func (_m *RelationTupleRepository) Write(ctx context.Context, iterator tuple.ITupleIterator) error
Write -
Click to show internal directories.
Click to hide internal directories.