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.