v2

package
v1.30.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 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 ApisixRouteLister

type ApisixRouteLister interface {
	// List lists all ApisixRoutes in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v2.ApisixRoute, err error)
	// ApisixRoutes returns an object that can list and get ApisixRoutes.
	ApisixRoutes(namespace string) ApisixRouteNamespaceLister
	ApisixRouteListerExpansion
}

ApisixRouteLister helps list ApisixRoutes. All objects returned here must be treated as read-only.

func NewApisixRouteLister

func NewApisixRouteLister(indexer cache.Indexer) ApisixRouteLister

NewApisixRouteLister returns a new ApisixRouteLister.

type ApisixRouteListerExpansion

type ApisixRouteListerExpansion interface{}

ApisixRouteListerExpansion allows custom methods to be added to ApisixRouteLister.

type ApisixRouteNamespaceLister

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

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

type ApisixRouteNamespaceListerExpansion

type ApisixRouteNamespaceListerExpansion interface{}

ApisixRouteNamespaceListerExpansion allows custom methods to be added to ApisixRouteNamespaceLister.

Jump to

Keyboard shortcuts

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