drivers

package
v0.12.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

Functions

This section is empty.

Types

type ClusterDriver

type ClusterDriver interface {
	alertops.AlertingAdminServer
	// ShouldDisableNode is called during node sync for nodes which otherwise
	// have this capability enabled. If this function returns an error, the
	// node will be set to disabled instead, and the error will be logged.
	ShouldDisableNode(*corev1.Reference) error
	GetDefaultReceiver() *config.WebhookConfig
}

type NoopClusterDriver

type NoopClusterDriver struct {
	alertops.UnimplementedAlertingAdminServer
}

func (*NoopClusterDriver) GetDefaultReceiver added in v0.11.2

func (d *NoopClusterDriver) GetDefaultReceiver() *config.WebhookConfig

func (*NoopClusterDriver) GetRuntimeOptions

func (d *NoopClusterDriver) GetRuntimeOptions() shared.AlertingClusterOptions

func (*NoopClusterDriver) ShouldDisableNode

func (d *NoopClusterDriver) ShouldDisableNode(*corev1.Reference) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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