detector

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2025 License: MIT Imports: 8 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const SimpleDetectorName = "Simple"

Variables

This section is empty.

Functions

This section is empty.

Types

type Simple

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

func NewSimple

func NewSimple(options *SimpleOptions, observability *common.Observability) *Simple

func (*Simple) Detect

func (a *Simple) Detect() error

func (*Simple) FilterTriggers

func (a *Simple) FilterTriggers(n common.Notifier, vr *common.VerifyEndpoints) *common.VerifyEndpoints

func (*Simple) Name

func (a *Simple) Name() string

func (*Simple) Schedule

func (a *Simple) Schedule() string

func (*Simple) Start

func (a *Simple) Start(ctx context.Context)

func (*Simple) TriggerKey

func (a *Simple) TriggerKey(n common.Notifier, ep *common.VerifyEndpoint) string

func (*Simple) UpdateTriggers

func (a *Simple) UpdateTriggers(n common.Notifier, es *common.VerifyEndpoints)

type SimpleOptions

type SimpleOptions struct {
	Name                   string
	Schedule               string
	Countries              []string
	Triggers               *common.Triggers
	Sources                []common.Source
	ObserverConfigurations []*common.ObserverConfiguration
	VerifierConfigurations []*common.VerifierConfiguration
	NotifierConfigurations []*common.NotifierConfiguration
}

Jump to

Keyboard shortcuts

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