development

package
v0.0.0-alpha8 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(ctx context.Context, service services.IPermissionService, subject *v1.Subject, action string, entity *v1.Entity, version string) (res commands.CheckResponse, err error)

Check -

func DeleteTuple

func DeleteTuple(ctx context.Context, service services.IRelationshipService, tuple *v1.Tuple) (err error)

DeleteTuple -

func LookupQuery

func LookupQuery(ctx context.Context, service services.IPermissionService, entityType string, action string, subject *v1.Subject, version string) (res commands.LookupQueryResponse, err error)

LookupQuery -

func ReadSchema

func ReadSchema(ctx context.Context, manager managers.IEntityConfigManager, version string) (sch *v1.Schema, err error)

ReadSchema -

func ReadTuple

func ReadTuple(ctx context.Context, service services.IRelationshipService, filter *v1.TupleFilter) (tuples tuple.ITupleCollection, err error)

ReadTuple -

func WriteSchema

func WriteSchema(ctx context.Context, manager managers.IEntityConfigManager, configs string) (version string, err error)

WriteSchema -

func WriteTuple

func WriteTuple(ctx context.Context, service services.IRelationshipService, tuple *v1.Tuple, version string) (err error)

WriteTuple -

Types

type Development added in v0.4.0

Development -

func NewDevelopment

func NewDevelopment() *Development

NewDevelopment -

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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