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.
Click to show internal directories.
Click to hide internal directories.