cron

package
v0.0.0-...-a70aae3 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package cron defines the update-analysis-and-bugs cron job handler. The cron job exists to periodically update cluster analysis and to update rules and bugs in response to this analysis.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

Handler handles the update-analysis-and-bugs cron job.

func NewHandler

func NewHandler(cloudProject, uiBaseURL string, prod bool) *Handler

NewHandler initialises a new Handler instance.

func (*Handler) CronHandler

func (h *Handler) CronHandler(ctx context.Context) error

CronHandler handles the update-analysis-and-bugs cron job.

Jump to

Keyboard shortcuts

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