v1beta1

package
v0.0.0-...-bf1c9b8 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIngressClassClusterLister

func NewIngressClassClusterLister(indexer cache.Indexer) *ingressClassClusterLister

NewIngressClassClusterLister returns a new IngressClassClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index

func NewIngressClusterLister

func NewIngressClusterLister(indexer cache.Indexer) *ingressClusterLister

NewIngressClusterLister returns a new IngressClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index

Types

type IngressClassClusterLister

type IngressClassClusterLister interface {
	// List lists all IngressClasses in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*networkingv1beta1.IngressClass, err error)
	// Cluster returns a lister that can list and get IngressClasses in one workspace.
	Cluster(clusterName logicalcluster.Name) networkingv1beta1listers.IngressClassLister
	IngressClassClusterListerExpansion
}

IngressClassClusterLister can list IngressClasses across all workspaces, or scope down to a IngressClassLister for one workspace. All objects returned here must be treated as read-only.

type IngressClassClusterListerExpansion

type IngressClassClusterListerExpansion interface{}

IngressClassClusterListerExpansion allows custom methods to be added to IngressClassClusterLister.

type IngressClusterLister

type IngressClusterLister interface {
	// List lists all Ingresses in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*networkingv1beta1.Ingress, err error)
	// Cluster returns a lister that can list and get Ingresses in one workspace.
	Cluster(clusterName logicalcluster.Name) networkingv1beta1listers.IngressLister
	IngressClusterListerExpansion
}

IngressClusterLister can list Ingresses across all workspaces, or scope down to a IngressLister for one workspace. All objects returned here must be treated as read-only.

type IngressClusterListerExpansion

type IngressClusterListerExpansion interface{}

IngressClusterListerExpansion allows custom methods to be added to IngressClusterLister.

Jump to

Keyboard shortcuts

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