Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrAlreadyIngested = errors.New("ingestion already completed")
)
Functions ¶
This section is empty.
Types ¶
type IngestorAPI ¶
type IngestorAPI struct { Cfg *config.KubehoundConfig // contains filtered or unexported fields }
func NewIngestorAPI ¶
func NewIngestorAPI(cfg *config.KubehoundConfig, puller puller.DataPuller, notifier notifier.Notifier, p *providers.ProvidersFactoryConfig) *IngestorAPI
func (*IngestorAPI) Close ¶ added in v1.6.0
func (g *IngestorAPI) Close(ctx context.Context)
func (*IngestorAPI) RehydrateLatest ¶ added in v1.3.3
func (g *IngestorAPI) RehydrateLatest(ctx context.Context) ([]*grpc.IngestedCluster, error)
RehydrateLatest is just a GRPC wrapper around the Ingest method from the API package
Click to show internal directories.
Click to hide internal directories.