v1

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2020 License: Apache-2.0 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.
	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.

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.
	List(selector labels.Selector) (ret []*v1.Alert, err error)
	// Get retrieves the Alert from the indexer for a given namespace and name.
	Get(name string) (*v1.Alert, error)
	AlertNamespaceListerExpansion
}

AlertNamespaceLister helps list and get Alerts.

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