Documentation
¶
Index ¶
- func NewFilteredPodGroupClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredWorkloadClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewPodGroupClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewWorkloadClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- type ClusterInterface
- type PodGroupClusterInformer
- type WorkloadClusterInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredPodGroupClusterInformer ¶
func NewFilteredPodGroupClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredPodGroupClusterInformer constructs a new informer for PodGroup 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 NewFilteredWorkloadClusterInformer ¶
func NewFilteredWorkloadClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredWorkloadClusterInformer constructs a new informer for Workload 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 NewPodGroupClusterInformer ¶
func NewPodGroupClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewPodGroupClusterInformer constructs a new informer for PodGroup 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 NewWorkloadClusterInformer ¶
func NewWorkloadClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewWorkloadClusterInformer constructs a new informer for Workload 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 {
// PodGroups returns a PodGroupClusterInformer.
PodGroups() PodGroupClusterInformer
// Workloads returns a WorkloadClusterInformer.
Workloads() WorkloadClusterInformer
}
func New ¶
func New(f kcpinternalinterfaces.SharedInformerFactory, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new Interface.
type PodGroupClusterInformer ¶
type PodGroupClusterInformer interface {
Cluster(logicalcluster.Name) schedulingv1alpha2.PodGroupInformer
ClusterWithContext(context.Context, logicalcluster.Name) schedulingv1alpha2.PodGroupInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1alpha2.PodGroupClusterLister
}
PodGroupClusterInformer provides access to a shared informer and lister for PodGroups.
type WorkloadClusterInformer ¶
type WorkloadClusterInformer interface {
Cluster(logicalcluster.Name) schedulingv1alpha2.WorkloadInformer
ClusterWithContext(context.Context, logicalcluster.Name) schedulingv1alpha2.WorkloadInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1alpha2.WorkloadClusterLister
}
WorkloadClusterInformer provides access to a shared informer and lister for Workloads.