mocks

package
v0.0.0-alpha6 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 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 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

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() 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

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

Write -

Jump to

Keyboard shortcuts

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