Documentation
¶
Index ¶
- func NewFilteredPartitionClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredPartitionInformer(client kcpversioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredPartitionSetClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredPartitionSetInformer(client kcpversioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewPartitionClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewPartitionInformer(client kcpversioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewPartitionSetClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewPartitionSetInformer(client kcpversioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type ClusterInterface
- type Interface
- type PartitionClusterInformer
- type PartitionInformer
- type PartitionSetClusterInformer
- type PartitionSetInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredPartitionClusterInformer ¶
func NewFilteredPartitionClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredPartitionClusterInformer constructs a new informer for Partition 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 NewFilteredPartitionInformer ¶
func NewFilteredPartitionInformer(client kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredPartitionInformer constructs a new informer for Partition 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 NewFilteredPartitionSetClusterInformer ¶
func NewFilteredPartitionSetClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredPartitionSetClusterInformer constructs a new informer for PartitionSet 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 NewFilteredPartitionSetInformer ¶
func NewFilteredPartitionSetInformer(client kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredPartitionSetInformer constructs a new informer for PartitionSet 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 NewPartitionClusterInformer ¶
func NewPartitionClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewPartitionClusterInformer constructs a new informer for Partition 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 NewPartitionInformer ¶
func NewPartitionInformer(client kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewPartitionInformer constructs a new informer for Partition 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 NewPartitionSetClusterInformer ¶
func NewPartitionSetClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewPartitionSetClusterInformer constructs a new informer for PartitionSet 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 NewPartitionSetInformer ¶
func NewPartitionSetInformer(client kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewPartitionSetInformer constructs a new informer for PartitionSet 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 {
// Partitions returns a PartitionClusterInformer.
Partitions() PartitionClusterInformer
// PartitionSets returns a PartitionSetClusterInformer.
PartitionSets() PartitionSetClusterInformer
}
func New ¶
func New(f kcpinternalinterfaces.SharedInformerFactory, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new Interface.
type Interface ¶
type Interface interface {
// Partitions returns a PartitionInformer.
Partitions() PartitionInformer
// PartitionSets returns a PartitionSetInformer.
PartitionSets() PartitionSetInformer
}
func NewScoped ¶
func NewScoped(f kcpinternalinterfaces.SharedScopedInformerFactory, namespace string, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) Interface
New returns a new Interface.
type PartitionClusterInformer ¶
type PartitionClusterInformer interface {
Cluster(logicalcluster.Name) PartitionInformer
ClusterWithContext(context.Context, logicalcluster.Name) PartitionInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1alpha1.PartitionClusterLister
}
PartitionClusterInformer provides access to a shared informer and lister for Partitions.
type PartitionInformer ¶
type PartitionInformer interface {
Informer() cache.SharedIndexInformer
Lister() kcpv1alpha1.PartitionLister
}
PartitionInformer provides access to a shared informer and lister for Partitions.
type PartitionSetClusterInformer ¶
type PartitionSetClusterInformer interface {
Cluster(logicalcluster.Name) PartitionSetInformer
ClusterWithContext(context.Context, logicalcluster.Name) PartitionSetInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1alpha1.PartitionSetClusterLister
}
PartitionSetClusterInformer provides access to a shared informer and lister for PartitionSets.
type PartitionSetInformer ¶
type PartitionSetInformer interface {
Informer() cache.SharedIndexInformer
Lister() kcpv1alpha1.PartitionSetLister
}
PartitionSetInformer provides access to a shared informer and lister for PartitionSets.