idlealarm

package
v0.0.0-...-9b5cd94 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package idlealarm implements alarm modification on idle alarm.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	Process(ctx context.Context) ([]types.Event, error)
}

Service interface is used to implement alarms modification by idle rules.

func NewService

func NewService(
	ruleAdapter idlerule.RuleAdapter,
	alarmAdapter libalarm.Adapter,
	entityAdapter libentity.Adapter,
	pbhRpcClient engine.RPCClient,
	encoder encoding.Encoder,
	logger zerolog.Logger,
) Service

NewService creates new service.

Jump to

Keyboard shortcuts

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