cachedresourceendpointslice

package
v0.29.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ControllerName = "kcp-cachedresourceendpointslice"
)
View Source
const (
	IndexCachedResourceEndpointSliceByCachedResource = "IndexCachedResourceEndpointSliceByCachedResource"
)

Variables

This section is empty.

Functions

func IndexCachedResourceEndpointSliceByCachedResourceFunc

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

IndexCachedResourceEndpointSliceByCachedResourceFunc is an index function that indexes a CachedResourceEndpointSlice by the CachedResource it references.

func InstallIndexers

func InstallIndexers(
	globalCachedResourceClusterInformer cachev1alpha1informers.CachedResourceClusterInformer,
	cachedResourceEndpointSliceClusterInformer cachev1alpha1informers.CachedResourceEndpointSliceClusterInformer,
)

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

func NewController

func NewController(
	cachedResourceEndpointSliceClusterInformer cachev1alpha1informers.CachedResourceEndpointSliceClusterInformer,
	globalCachedResourceClusterInformer cachev1alpha1informers.CachedResourceClusterInformer,
	partitionClusterInformer topologyinformers.PartitionClusterInformer,
	kcpClusterClient kcpclientset.ClusterInterface,
) (*controller, error)

NewController returns a new controller for CachedResourceEndpointSlices.

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