v1

package
v1.28.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 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 UpstreamLister added in v1.9.0

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

UpstreamLister helps list Upstreams. All objects returned here must be treated as read-only.

func NewUpstreamLister added in v1.9.0

func NewUpstreamLister(indexer cache.Indexer) UpstreamLister

NewUpstreamLister returns a new UpstreamLister.

type UpstreamListerExpansion added in v1.9.0

type UpstreamListerExpansion interface{}

UpstreamListerExpansion allows custom methods to be added to UpstreamLister.

type UpstreamNamespaceLister added in v1.9.0

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

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

type UpstreamNamespaceListerExpansion added in v1.9.0

type UpstreamNamespaceListerExpansion interface{}

UpstreamNamespaceListerExpansion allows custom methods to be added to UpstreamNamespaceLister.

Jump to

Keyboard shortcuts

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