repositories

package
v0.0.0-alpha4 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IEntityConfigRepository

type IEntityConfigRepository interface {
	Migratable
	All(ctx context.Context, version string) (configs entities.EntityConfigs, err errors.Error)
	Read(ctx context.Context, name string, version string) (config entities.EntityConfig, err errors.Error)
	Write(ctx context.Context, configs entities.EntityConfigs, version string) (err errors.Error)
}

IEntityConfigRepository -

type IRelationTupleRepository

type IRelationTupleRepository interface {
	Migratable
	QueryTuples(ctx context.Context, namespace string, objectID string, relation string) (entities.RelationTuples, errors.Error)
	Read(ctx context.Context, filter filters.RelationTupleFilter) (entities.RelationTuples, errors.Error)
	Write(context.Context, entities.RelationTuples) errors.Error
	Delete(context.Context, entities.RelationTuples) errors.Error
}

IRelationTupleRepository -

type Migratable

type Migratable interface {
	Migrate() errors.Error
}

Migratable -

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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