default_driver

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver struct {
	*NodeDriverOptions
}

func NewDriver

func NewDriver(options *NodeDriverOptions) (*Driver, error)

func (*Driver) ConfigureNode

func (d *Driver) ConfigureNode(_ string, _ *node.AlertingCapabilityConfig) error

func (*Driver) DiscoverRules

func (d *Driver) DiscoverRules(ctx context.Context) (*rules.RuleManifest, error)

type NodeDriverOptions added in v0.11.1

type NodeDriverOptions struct {
	K8sClient client.Client      `option:"k8sClient"`
	Logger    *zap.SugaredLogger `option:"logger"`
}

Jump to

Keyboard shortcuts

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