patchman

package
v1.12.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: BSD-3-Clause Imports: 18 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
	Filter        map[string]string
	CacheDuration time.Duration
	common.HTTPConfig
}

type Connector

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

func NewConnector

func NewConnector(cfg *Config) *Connector

func (*Connector) Collect

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

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