schema

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Action

func Action(name string, child *base.Child) *base.ActionDefinition

Action - Action builder

func Actions

func Actions(defs ...*base.ActionDefinition) []*base.ActionDefinition

Actions - Actions builder

func ComputedUserSet

func ComputedUserSet(relation string, exclusion bool) *base.Child

ComputedUserSet -

func Entity

func Entity(name string, relations []*base.RelationDefinition, actions []*base.ActionDefinition) *base.EntityDefinition

Entity - Entity builder

func Intersection

func Intersection(children ...*base.Child) *base.Child

Intersection -

func Reference

func Reference(name string) *base.RelationReference

Reference - Reference builder

func Relation

func Relation(name string, references ...*base.RelationReference) *base.RelationDefinition

Relation - Relation builder

func Relations

func Relations(defs ...*base.RelationDefinition) []*base.RelationDefinition

Relations - Relations builder

func Schema

func Schema(entities ...*base.EntityDefinition) *base.SchemaDefinition

Schema - Schema builder

func TupleToUserSet

func TupleToUserSet(reference, relation string, exclusion bool) *base.Child

TupleToUserSet -

func Union

func Union(children ...*base.Child) *base.Child

Union -

Types

This section is empty.

Jump to

Keyboard shortcuts

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