Documentation
¶
Index ¶
- func NewFilteredPartitionClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredPartitionInformer(client scopedclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredPartitionSetClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredPartitionSetInformer(client scopedclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewPartitionClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewPartitionInformer(client scopedclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewPartitionSetClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewPartitionSetInformer(client scopedclientset.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 clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.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 scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.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 clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.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 scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.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 clientset.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 scopedclientset.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 clientset.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 scopedclientset.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 internalinterfaces.SharedInformerFactory, tweakListOptions internalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new ClusterInterface.
type Interface ¶
type Interface interface {
// Partitions returns a PartitionInformer
Partitions() PartitionInformer
// PartitionSets returns a PartitionSetInformer
PartitionSets() PartitionSetInformer
}
func NewScoped ¶
func NewScoped(f internalinterfaces.SharedScopedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
New returns a new ClusterInterface.
type PartitionClusterInformer ¶
type PartitionClusterInformer interface {
Cluster(logicalcluster.Name) PartitionInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() topologyv1alpha1listers.PartitionClusterLister
}
PartitionClusterInformer provides access to a shared informer and lister for Partitions.
type PartitionInformer ¶
type PartitionInformer interface {
Informer() cache.SharedIndexInformer
Lister() topologyv1alpha1listers.PartitionLister
}
PartitionInformer provides access to a shared informer and lister for Partitions.
type PartitionSetClusterInformer ¶
type PartitionSetClusterInformer interface {
Cluster(logicalcluster.Name) PartitionSetInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() topologyv1alpha1listers.PartitionSetClusterLister
}
PartitionSetClusterInformer provides access to a shared informer and lister for PartitionSets.
type PartitionSetInformer ¶
type PartitionSetInformer interface {
Informer() cache.SharedIndexInformer
Lister() topologyv1alpha1listers.PartitionSetLister
}
PartitionSetInformer provides access to a shared informer and lister for PartitionSets.