processor

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor added in v1.2.0

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

func New

func New(logger log.FieldLogger) *Processor

New returns new Processor which handles the alert queue and retrying.

func (*Processor) Process added in v1.2.0

func (p *Processor) Process(ctx context.Context, gitlab *gitlab.Gitlab, alertChannel chan *alertmanager.Webhook, retryLimit int, retryBackoff time.Duration)

Process processes alerts from the given channel and creates Gitlab issues from them.

Jump to

Keyboard shortcuts

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