Documentation
¶
Index ¶
- func NewDebug(label string) flow.MapFunction[any, any]
- func NewImageSchedulerFlow(databaseContext *model.DatabaseContext, config *model.Config)
- func NewMono(element any) chan any
- func NewScanResultCollectorFlow(ctx context.Context, config *model.Config, source streams.Source, ...) streams.Flow
- func NewScanResultsInternalFlow(source streams.Source, databaseContext *model.DatabaseContext) streams.Flow
- func NewScannerFlow(ctx context.Context, cfg *model.Config, checkRedis bool) streams.Flow
- type PrometheusReporter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewImageSchedulerFlow ¶
func NewImageSchedulerFlow(databaseContext *model.DatabaseContext, config *model.Config)
Types ¶
type PrometheusReporter ¶
type PrometheusReporter struct {
Context *context.Context
Config *model.Config
Logger *zerolog.Logger
Secrets *[]v1.Secret
PrometheusIntegration *hwintegrations.PrometheusIntegration
}
func NewPrometheusReporter ¶
func NewPrometheusReporter(ctx *context.Context, config *model.Config) *PrometheusReporter
func (*PrometheusReporter) NewTicker ¶
func (pr *PrometheusReporter) NewTicker() chan any
func (*PrometheusReporter) RunAsServer ¶
func (pr *PrometheusReporter) RunAsServer() error
Click to show internal directories.
Click to hide internal directories.