actionners

package
v0.1.2-rc0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() error

func StartConsumer

func StartConsumer(eventsC <-chan nats.MessageWithContext)

Types

type Actionner

type Actionner interface {
	Init() error
	Run(event *events.Event, action *rules.Action) (utils.LogLine, *models.Data, error)
	CheckParameters(action *rules.Action) error
	Checks(event *events.Event, action *rules.Action) error
	Information() models.Information
	Parameters() models.Parameters
}

type Actionners

type Actionners []Actionner

func ListActionners

func ListActionners() *Actionners

func ListDefaultActionners

func ListDefaultActionners() *Actionners

func (*Actionners) Add

func (actionners *Actionners) Add(actionner ...Actionner)

func (Actionners) FindActionner

func (actionners Actionners) FindActionner(fullname string) Actionner

Directories

Path Synopsis
aws
calico
cilium
kubernetes
log

Jump to

Keyboard shortcuts

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