clustercachedresourceendpointslice

package
v0.33.7 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 35 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	ControllerName = "kcp-clustercachedresourceendpointslice"
)
View Source
const (
	IndexClusterCachedResourceEndpointSliceByClusterCachedResource = "IndexClusterCachedResourceEndpointSliceByClusterCachedResource"
)

Variables

This section is empty.

Functions

func IndexClusterCachedResourceEndpointSliceByClusterCachedResourceFunc

func IndexClusterCachedResourceEndpointSliceByClusterCachedResourceFunc(obj interface{}) ([]string, error)

IndexClusterCachedResourceEndpointSliceByClusterCachedResourceFunc is an index function that indexes a ClusterCachedResourceEndpointSlice by the ClusterCachedResource it references.

func InstallIndexers

func InstallIndexers(
	globalClusterCachedResourceClusterInformer cachev1alpha1informers.ClusterCachedResourceClusterInformer,
	clusterCachedResourceEndpointSliceClusterInformer cachev1alpha1informers.ClusterCachedResourceEndpointSliceClusterInformer,
	globalAPIExportClusterInformer apisv1alpha2informers.APIExportClusterInformer,
)

InstallIndexers adds the additional indexers that this controller requires to the informers.

func NewController

func NewController(
	clusterCachedResourceEndpointSliceClusterInformer cachev1alpha1informers.ClusterCachedResourceEndpointSliceClusterInformer,
	globalClusterCachedResourceClusterInformer cachev1alpha1informers.ClusterCachedResourceClusterInformer,
	globalAPIExportClusterInformer apisv1alpha2informers.APIExportClusterInformer,
	partitionClusterInformer topologyinformers.PartitionClusterInformer,
	kcpClusterClient kcpclientset.ClusterInterface,
) (*controller, error)

NewController returns a new controller for ClusterCachedResourceEndpointSlices.

Types

type CommitFunc

type CommitFunc = func(context.Context, *Resource, *Resource) error

Jump to

Keyboard shortcuts

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