v1beta1

package
Version: v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: Apache-2.0 Imports: 4 Imported by: 58

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 []*v1beta1.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 []*v1beta1.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) (*v1beta1.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