mocks

package
v0.0.0-alpha3 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: AGPL-3.0 Imports: 5 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) (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

Replace -

func (*EntityConfigRepository) Replace

func (_m *EntityConfigRepository) Replace(ctx context.Context, configs entities.EntityConfigs) (err error)

Replace -

type RelationTupleRepository

type RelationTupleRepository struct {
	mock.Mock
}

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

Read -

func (*RelationTupleRepository) Write

func (_m *RelationTupleRepository) Write(ctx context.Context, tuples entities.RelationTuples) (err error)

Write -

Jump to

Keyboard shortcuts

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