ingestor

package
v1.5.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ingestor

type Ingestor interface {
	// HealthCheck provides a mechanism for the client to check health of the provider.
	HealthCheck(ctx context.Context) error

	// Run starts the ingestion pipelines to ingest data provided by the collector into the intermediate store and graph database.
	Run(ctx context.Context) error

	// Close cleans up any resources used by the Provider implementation. Provider cannot be reused after this call.
	Close(ctx context.Context) error
}

Ingestor is responsible for pulling data from the collector component and populating the store and graph databases.

func Factory

Factory creates a new ingestor instance from the provided configuration and service dependencies.

type PipelineIngestor

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

PipelineIngestor is a parallelized pipeline based ingestor implementation.

func (PipelineIngestor) Close

func (i PipelineIngestor) Close(ctx context.Context) error

Close cleans up any resources owned by the pipeline ingestor.

func (PipelineIngestor) HealthCheck

func (i PipelineIngestor) HealthCheck(ctx context.Context) error

HealthCheck enables a check of the ingestor service dependencies.

func (PipelineIngestor) Run

func (i PipelineIngestor) Run(outer context.Context) error

Run executes the pipeline ingest and blocks until complete.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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