event

package
v0.0.0-...-6241ad3 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller string

Phase defines the context where notification has been generated: base or user.

const (
	// JenkinsController points to the events sent by the Jenkins Controller
	JenkinsController Controller = "jenkins"
	BackupController  Controller = "backup"
)

type Event

type Event struct {
	Jenkins    v1alpha2.Jenkins
	Controller Controller
	Level      v1alpha2.NotificationLevel
	Reason     reason.Reason
}

Event contains event details which will be sent as a notification.

Jump to

Keyboard shortcuts

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