indexer

package
v0.0.0-...-24c5a16 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitAndRun

func InitAndRun(conf config.Reader, store store.Store, ds store.DataStore, nats nats.Client) error

InitAndRun initializes the indexer and runs it

Types

type ActionIDs

type ActionIDs map[string]IDs

type IDs

type IDs map[string]bool

type Indexer

type Indexer interface {
	GetJobs(ctx context.Context, jobs chan model.Job) error
	ProcessJobs(ctx context.Context, jobs []model.Job)
}

func NewIndexer

func NewIndexer(
	store store.Store,
	ds store.DataStore,
	nats nats.Client,
	devClient deviceauth.Client,
	invClient inventory.Client,
	deplClient deployments.Client,
) Indexer

type TenantActionIDs

type TenantActionIDs map[string]ActionIDs

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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