Documentation
¶
Index ¶
- Constants
- type Simple
- func (a *Simple) Detect() error
- func (a *Simple) FilterTriggers(n common.Notifier, vr *common.VerifyEndpoints) *common.VerifyEndpoints
- func (a *Simple) Name() string
- func (a *Simple) Schedule() string
- func (a *Simple) Start(ctx context.Context)
- func (a *Simple) TriggerKey(n common.Notifier, ep *common.VerifyEndpoint) string
- func (a *Simple) UpdateTriggers(n common.Notifier, es *common.VerifyEndpoints)
- type SimpleOptions
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) FilterTriggers ¶
func (a *Simple) FilterTriggers(n common.Notifier, vr *common.VerifyEndpoints) *common.VerifyEndpoints
func (*Simple) TriggerKey ¶
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
}
Click to show internal directories.
Click to hide internal directories.