v1

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlertLister

type AlertLister interface {
	// List lists all Alerts in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.Alert, err error)
	// Alerts returns an object that can list and get Alerts.
	Alerts(namespace string) AlertNamespaceLister
	AlertListerExpansion
}

AlertLister helps list Alerts. All objects returned here must be treated as read-only.

func NewAlertLister

func NewAlertLister(indexer cache.Indexer) AlertLister

NewAlertLister returns a new AlertLister.

type AlertListerExpansion

type AlertListerExpansion interface{}

AlertListerExpansion allows custom methods to be added to AlertLister.

type AlertNamespaceLister

type AlertNamespaceLister interface {
	// List lists all Alerts in the indexer for a given namespace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.Alert, err error)
	// Get retrieves the Alert from the indexer for a given namespace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*v1.Alert, error)
	AlertNamespaceListerExpansion
}

AlertNamespaceLister helps list and get Alerts. All objects returned here must be treated as read-only.

type AlertNamespaceListerExpansion

type AlertNamespaceListerExpansion interface{}

AlertNamespaceListerExpansion allows custom methods to be added to AlertNamespaceLister.

Jump to

Keyboard shortcuts

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