types

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CompleteQueryCallback

type CompleteQueryCallback func(ctx context.Context) error

CompleteQueryCallback is a callback provided by the the edge builder that will flush any outstanding graph database writes.

type DataContainer

type DataContainer any

An object to encapsulate the raw data required to create one or more edges. For example a pod id and a node id.

type EdgeTraversal

type EdgeTraversal func(source *gremlin.GraphTraversalSource, inserts []any) *gremlin.GraphTraversal

EdgeTraversal returns the function to create a graph database edge insert from an array of input objects.

type ProcessEntryCallback

type ProcessEntryCallback func(ctx context.Context, model DataContainer) error

ProcessEntryCallback is a callback provided by the the edge builder that will convert edge query results into graph database writes.

type VertexTraversal

type VertexTraversal func(source *gremlin.GraphTraversalSource, inserts []any) *gremlin.GraphTraversal

VertexTraversal returns the function to create a graph database vertex insert from an array of input objects.

Jump to

Keyboard shortcuts

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