example

package
v1.20.4 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Tag string
}

type Connector

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

func NewConnector

func NewConnector(cfg *Config) *Connector

func (*Connector) Collect

func (c *Connector) Collect(_ context.Context) ([]connectors.Alert, error)

Collect returns a few example warnings, one of each type This eliminates the need to select a source that contains a given error type during development

func (*Connector) String

func (c *Connector) String() string

func (*Connector) Tag

func (c *Connector) Tag() string

Jump to

Keyboard shortcuts

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