Documentation ¶
Index ¶
Constants ¶
View Source
const (
ContainerLabel = "Container"
)
View Source
const (
EndpointLabel = "Endpoint"
)
View Source
const (
IdentityLabel = "Identity"
)
View Source
const (
NodeLabel = "Node"
)
View Source
const (
PermissionSetLabel = "PermissionSet"
)
View Source
const (
PodLabel = "Pod"
)
View Source
const (
VolumeLabel = "Volume"
)
Variables ¶
View Source
var Column = gremlin.Column
View Source
var P = gremlin.P
Functions ¶
This section is empty.
Types ¶
type BaseVertex ¶
type BaseVertex struct {
// contains filtered or unexported fields
}
func (*BaseVertex) BatchSize ¶
func (v *BaseVertex) BatchSize() int
func (*BaseVertex) Initialize ¶
func (v *BaseVertex) Initialize(cfg *config.VertexBuilderConfig) error
type Builder ¶
type Builder interface { // Initialize intializes an edge builder from the application config Initialize(cfg *config.VertexBuilderConfig) error // Label returns the label for the vertex (convention is all camelcase i.e VertexName) Label() string // BatchSize returns the batch size of bulk inserts (and threshold for triggering a flush). BatchSize() int // Processor transforms an object queued for writing to a format suitable for consumption by the Traversal function. Processor(context.Context, any) (any, error) // Traversal returns a graph traversal function that enables creating vertices from an input array of TraversalInput objects. Traversal() types.VertexTraversal }
Builder interface defines objects used to construct vertices within our graph database through processing data from an ingestion pipeline.
type Container ¶
type Container struct {
BaseVertex
}
func (*Container) Traversal ¶
func (v *Container) Traversal() types.VertexTraversal
type Endpoint ¶
type Endpoint struct {
BaseVertex
}
func (*Endpoint) Traversal ¶
func (v *Endpoint) Traversal() types.VertexTraversal
type Identity ¶
type Identity struct {
BaseVertex
}
func (*Identity) Traversal ¶
func (v *Identity) Traversal() types.VertexTraversal
type Node ¶
type Node struct {
BaseVertex
}
func (*Node) Traversal ¶
func (v *Node) Traversal() types.VertexTraversal
type PermissionSet ¶
type PermissionSet struct {
BaseVertex
}
func (*PermissionSet) Label ¶
func (v *PermissionSet) Label() string
func (*PermissionSet) Traversal ¶
func (v *PermissionSet) Traversal() types.VertexTraversal
type Pod ¶
type Pod struct {
BaseVertex
}
func (*Pod) Traversal ¶
func (v *Pod) Traversal() types.VertexTraversal
Click to show internal directories.
Click to hide internal directories.