graph

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checker added in v0.1.4

type Checker struct {
	// contains filtered or unexported fields
}

func NewCheck added in v0.1.4

func NewCheck(m *model.Model, req *dsr.CheckRequest, reader RelationReader) *Checker

func (*Checker) Check added in v0.1.4

func (c *Checker) Check() (bool, error)

func (*Checker) Trace added in v0.1.4

func (c *Checker) Trace() []string

type ObjectID added in v0.1.4

type ObjectID = model.ObjectID

type ObjectSearch added in v0.1.4

type ObjectSearch struct {
	// contains filtered or unexported fields
}

func NewObjectSearch added in v0.1.4

func NewObjectSearch(m *model.Model, req *dsr.GetGraphRequest, reader RelationReader) (*ObjectSearch, error)

func (*ObjectSearch) Search added in v0.1.4

func (s *ObjectSearch) Search() (*dsr.GetGraphResponse, error)

type RelationReader added in v0.1.4

type RelationReader func(*dsc.Relation) ([]*dsc.Relation, error)

RelationReader retrieves relations that match the given filter.

type SubjectSearch added in v0.1.4

type SubjectSearch struct {
	// contains filtered or unexported fields
}

func NewSubjectSearch added in v0.1.4

func NewSubjectSearch(m *model.Model, req *dsr.GetGraphRequest, reader RelationReader) (*SubjectSearch, error)

func (*SubjectSearch) Search added in v0.1.4

func (s *SubjectSearch) Search() (*dsr.GetGraphResponse, error)

Jump to

Keyboard shortcuts

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