MCPcopy
hub / github.com/SpecterOps/BloodHound / BatchUpdater

Interface BatchUpdater

cmd/api/src/services/graphify/ingest.go:173–178  ·  view source on GitHub ↗

BatchUpdater represents the ingestion-facing API for a dawgs BatchOperation

Source from the content-addressed store, hash-verified

171
172// BatchUpdater represents the ingestion-facing API for a dawgs BatchOperation
173type BatchUpdater interface {
174 UpdateNodeBy(update graph.NodeUpdate) error
175 UpdateRelationshipBy(update graph.RelationshipUpdate) error
176 Nodes() graph.NodeQuery
177 Relationships() graph.RelationshipQuery
178}
179
180// ReadFileForIngest orchestrates the ingestion of a file into the graph database,
181// performing any necessary metadata validation and schema enforcement before

Callers 30

BatchNodeUpdateMethod · 0.65
maybeSubmitNodeUpdateFunction · 0.65
UpdateNodeByMethod · 0.65
Version_513_MigrationFunction · 0.65
Version_277_MigrationFunction · 0.65
ApplyMethod · 0.65
UpdateRelationshipByMethod · 0.65

Implementers 5

MockBatchcmd/api/src/vendormocks/dawgs/graph/mo
MockBatchMockRecordercmd/api/src/vendormocks/dawgs/graph/mo
countingBatchUpdatercmd/api/src/services/graphify/batch_st
MockBatchUpdatercmd/api/src/services/graphify/mocks/in
MockBatchUpdaterMockRecordercmd/api/src/services/graphify/mocks/in

Calls

no outgoing calls

Tested by

no test coverage detected