v1alpha1

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 NewIPAddressClusterLister

func NewIPAddressClusterLister(indexer cache.Indexer) *iPAddressClusterLister

NewIPAddressClusterLister returns a new IPAddressClusterLister. 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 NewServiceCIDRClusterLister

func NewServiceCIDRClusterLister(indexer cache.Indexer) *serviceCIDRClusterLister

NewServiceCIDRClusterLister returns a new ServiceCIDRClusterLister. 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

Types

type IPAddressClusterLister

type IPAddressClusterLister interface {
	// List lists all IPAddresses in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*networkingv1alpha1.IPAddress, err error)
	// Cluster returns a lister that can list and get IPAddresses in one workspace.
	Cluster(clusterName logicalcluster.Name) networkingv1alpha1listers.IPAddressLister
	IPAddressClusterListerExpansion
}

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

type IPAddressClusterListerExpansion

type IPAddressClusterListerExpansion interface{}

IPAddressClusterListerExpansion allows custom methods to be added to IPAddressClusterLister.

type ServiceCIDRClusterLister

type ServiceCIDRClusterLister interface {
	// List lists all ServiceCIDRs in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*networkingv1alpha1.ServiceCIDR, err error)
	// Cluster returns a lister that can list and get ServiceCIDRs in one workspace.
	Cluster(clusterName logicalcluster.Name) networkingv1alpha1listers.ServiceCIDRLister
	ServiceCIDRClusterListerExpansion
}

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

type ServiceCIDRClusterListerExpansion

type ServiceCIDRClusterListerExpansion interface{}

ServiceCIDRClusterListerExpansion allows custom methods to be added to ServiceCIDRClusterLister.

Jump to

Keyboard shortcuts

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