localproject

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2025 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Watch

func Watch(
	ctx context.Context,
	fs fs.FS,
	cfg *config.Config,
	alertState localstorage.Alertable,
	logQlParser func(string) (*typesv1.Query, error),
) localstate.DB

Types

type CreateProjectFn

type CreateProjectFn func() *typesv1.Project

type GetAlertGroupFn

type GetAlertGroupFn func(*typesv1.AlertGroup) error

type GetAlertRuleFn

type GetAlertRuleFn func(*typesv1.AlertRule) error

type GetDashboardFn

type GetDashboardFn func(*typesv1.Dashboard) error

type GetProjectFn

type GetProjectFn func(
	*typesv1.Project,
) error

type GetProjectHydratedFn

type GetProjectHydratedFn func(
	*typesv1.Project,
	[]*typesv1.Dashboard,
	[]*typesv1.AlertGroup,
) error

type ProjectSource

type ProjectSource interface {
	GetProject()
}

Jump to

Keyboard shortcuts

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