monitoring

package
v0.0.32 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSubscription

func NewSubscription() map[string]Subscription

NewSubscription Support for returning multiple event notifications in one

Types

type JobInfo

type JobInfo struct {
	Name        string
	CronJobName string
	Namespace   string
	Annotations map[string]string
}

type Subscription

type Subscription interface {
	SuccessEvent(jobInfo JobInfo) (err error)
	FailEvent(jobInfo JobInfo) (err error)
}

Jump to

Keyboard shortcuts

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