Documentation
¶
Index ¶
- Constants
- func IndexCachedResourceEndpointSliceByCachedResourceFunc(obj interface{}) ([]string, error)
- func InstallIndexers(...)
- func NewController(...) (*controller, error)
- type CachedResourceEndpointSlice
- type CachedResourceEndpointSliceSpec
- type CachedResourceEndpointSliceStatus
- type CommitFunc
- type Patcher
- type Resource
Constants ¶
View Source
const (
ControllerName = "kcp-cachedresourceendpointslice"
)
View Source
const (
IndexCachedResourceEndpointSliceByCachedResource = "IndexCachedResourceEndpointSliceByCachedResource"
)
Variables ¶
This section is empty.
Functions ¶
func IndexCachedResourceEndpointSliceByCachedResourceFunc ¶
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 CachedResourceEndpointSlice ¶
type CachedResourceEndpointSlice = cachev1alpha1.CachedResourceEndpointSlice
type CachedResourceEndpointSliceSpec ¶
type CachedResourceEndpointSliceSpec = cachev1alpha1.CachedResourceEndpointSliceSpec
type CachedResourceEndpointSliceStatus ¶
type CachedResourceEndpointSliceStatus = cachev1alpha1.CachedResourceEndpointSliceStatus
type Patcher ¶
type Patcher = cachev1alpha1client.CachedResourceEndpointSliceInterface
type Resource ¶
type Resource = committer.Resource[*CachedResourceEndpointSliceSpec, *CachedResourceEndpointSliceStatus]
Click to show internal directories.
Click to hide internal directories.