Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildGraph ¶ added in v1.3.1
func BuildGraph(outer context.Context, cfg *config.KubehoundConfig, storedb storedb.Provider, graphdb graphdb.Provider, cache cache.CacheReader) error
buildGraph will construct the attack graph by calculating and inserting all registered edges in parallel. All I/O operations are performed asynchronously.
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 ¶
HealthCheck provides a mechanism for the caller to check health of the builder dependencies.
Click to show internal directories.
Click to hide internal directories.