graph

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

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

Builder handles the construction of the graph edges once vertices have been ingested via the ingestion pipeline.

func NewBuilder

func NewBuilder(cfg *config.KubehoundConfig, store storedb.Provider, graph graphdb.Provider,
	cache cache.CacheReader, edges *edge.Registry) (*Builder, error)

NewBuilder returns a new builder instance from the provided application config and service dependencies.

func (*Builder) HealthCheck

func (b *Builder) HealthCheck(ctx context.Context) error

HealthCheck provides a mechanism for the caller to check health of the builder dependencies.

func (*Builder) Run

func (b *Builder) Run(ctx context.Context) error

Run constructs all the registered edges in the graph database. NOTE: edges are constructed in parallel using a worker pool with properties configured via the top-level KubeHound config.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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