noop

package
v0.0.0-...-1e8dc9b Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Notifier

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

Notifier describes a NOOP notifier

func New

func New(log *zap.SugaredLogger) Notifier

New NOOP Notifier

func (Notifier) GetNotifierName

func (n Notifier) GetNotifierName() string

GetNotifierName returns the driver's name

func (Notifier) Notify

func (n Notifier) Notify(dis v1beta1.Disruption, event corev1.Event, notifType types.NotificationType) error

NotifyWarning generates a notification for generiv k8s Warning events

type NotifierNoopConfig

type NotifierNoopConfig struct {
	Enabled bool
}

Jump to

Keyboard shortcuts

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