Documentation ¶
Index ¶
- func NewFilteredSyncTargetClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredSyncTargetInformer(client scopedclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewSyncTargetClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewSyncTargetInformer(client scopedclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type ClusterInterface
- type Interface
- type SyncTargetClusterInformer
- type SyncTargetInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredSyncTargetClusterInformer ¶
func NewFilteredSyncTargetClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredSyncTargetClusterInformer constructs a new informer for SyncTarget type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewFilteredSyncTargetInformer ¶
func NewFilteredSyncTargetInformer(client scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredSyncTargetInformer constructs a new informer for SyncTarget type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewSyncTargetClusterInformer ¶
func NewSyncTargetClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewSyncTargetClusterInformer constructs a new informer for SyncTarget type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewSyncTargetInformer ¶
func NewSyncTargetInformer(client scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewSyncTargetInformer constructs a new informer for SyncTarget type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
Types ¶
type ClusterInterface ¶
type ClusterInterface interface { // SyncTargets returns a SyncTargetClusterInformer SyncTargets() SyncTargetClusterInformer }
func New ¶
func New(f internalinterfaces.SharedInformerFactory, tweakListOptions internalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new ClusterInterface.
type Interface ¶
type Interface interface { // SyncTargets returns a SyncTargetInformer SyncTargets() SyncTargetInformer }
func NewScoped ¶
func NewScoped(f internalinterfaces.SharedScopedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
New returns a new ClusterInterface.
type SyncTargetClusterInformer ¶
type SyncTargetClusterInformer interface { Cluster(logicalcluster.Name) SyncTargetInformer Informer() kcpcache.ScopeableSharedIndexInformer Lister() workloadv1alpha1listers.SyncTargetClusterLister }
SyncTargetClusterInformer provides access to a shared informer and lister for SyncTargets.
type SyncTargetInformer ¶
type SyncTargetInformer interface { Informer() cache.SharedIndexInformer Lister() workloadv1alpha1listers.SyncTargetLister }
SyncTargetInformer provides access to a shared informer and lister for SyncTargets.