api

package
v1.3.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrAlreadyIngested = errors.New("ingestion already completed")
)

Functions

This section is empty.

Types

type API

type API interface {
	Ingest(ctx context.Context, clusterName string, runID string) error
	Notify(ctx context.Context, clusterName string, runID string) error
}

type IngestorAPI

type IngestorAPI struct {
	Cfg *config.KubehoundConfig
	// contains filtered or unexported fields
}

func (*IngestorAPI) Ingest

func (g *IngestorAPI) Ingest(_ context.Context, clusterName string, runID string) error

func (*IngestorAPI) Notify

func (g *IngestorAPI) Notify(ctx context.Context, clusterName string, runID string) error

Notify notifies the caller that the ingestion is completed

Directories

Path Synopsis
pb

Jump to

Keyboard shortcuts

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