mocks

package
v0.0.0-alpha7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 18, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EntityConfigRepository

type EntityConfigRepository struct {
	mock.Mock
}

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

type RelationTupleRepository struct {
	mock.Mock
}

RelationTupleRepository is an autogenerated mock type for the RelationTupleRepository type

func (*RelationTupleRepository) Delete

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

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

Write -

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL