validation

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2024 License: Apache-2.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 DefaultValidator

type DefaultValidator struct {
}

func (DefaultValidator) ValidateCollection

func (DefaultValidator) ValidateCollection(coll *er.Collection) error

Validate the complete collection.

func (DefaultValidator) ValidateEntity

func (DefaultValidator) ValidateEntity(coll *er.Collection, entity *npb.Entity) error

Validate each entity as it's loaded within the collection context assembled up to that point.

func (DefaultValidator) ValidateRelationship

func (DefaultValidator) ValidateRelationship(coll *er.Collection, rel er.Relationship) error

Validate each relationship as it's loaded within the collection context assembled up to that point.

Jump to

Keyboard shortcuts

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