v1

package
v0.30.6 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventLister

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

EventLister helps list Events. All objects returned here must be treated as read-only.

func NewEventLister

func NewEventLister(indexer cache.Indexer) EventLister

NewEventLister returns a new EventLister.

type EventListerExpansion

type EventListerExpansion interface{}

EventListerExpansion allows custom methods to be added to EventLister.

type EventNamespaceLister

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

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

type EventNamespaceListerExpansion

type EventNamespaceListerExpansion interface{}

EventNamespaceListerExpansion allows custom methods to be added to EventNamespaceLister.

Jump to

Keyboard shortcuts

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