Documentation
¶
Index ¶
- func NewFilteredLogicalClusterClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredLogicalClusterInformer(client scopedclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredShardClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredShardInformer(client scopedclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewLogicalClusterClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewLogicalClusterInformer(client scopedclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewShardClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewShardInformer(client scopedclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type ClusterInterface
- type Interface
- type LogicalClusterClusterInformer
- type LogicalClusterInformer
- type ShardClusterInformer
- type ShardInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredLogicalClusterClusterInformer ¶
func NewFilteredLogicalClusterClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredLogicalClusterClusterInformer constructs a new informer for LogicalCluster 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 NewFilteredLogicalClusterInformer ¶
func NewFilteredLogicalClusterInformer(client scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredLogicalClusterInformer constructs a new informer for LogicalCluster 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 NewFilteredShardClusterInformer ¶
func NewFilteredShardClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredShardClusterInformer constructs a new informer for Shard 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 NewFilteredShardInformer ¶
func NewFilteredShardInformer(client scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredShardInformer constructs a new informer for Shard 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 NewLogicalClusterClusterInformer ¶
func NewLogicalClusterClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewLogicalClusterClusterInformer constructs a new informer for LogicalCluster 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 NewLogicalClusterInformer ¶
func NewLogicalClusterInformer(client scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewLogicalClusterInformer constructs a new informer for LogicalCluster 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 NewShardClusterInformer ¶
func NewShardClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewShardClusterInformer constructs a new informer for Shard 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 NewShardInformer ¶
func NewShardInformer(client scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewShardInformer constructs a new informer for Shard 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 {
// LogicalClusters returns a LogicalClusterClusterInformer
LogicalClusters() LogicalClusterClusterInformer
// Shards returns a ShardClusterInformer
Shards() ShardClusterInformer
}
func New ¶
func New(f internalinterfaces.SharedInformerFactory, tweakListOptions internalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new ClusterInterface.
type Interface ¶
type Interface interface {
// LogicalClusters returns a LogicalClusterInformer
LogicalClusters() LogicalClusterInformer
// Shards returns a ShardInformer
Shards() ShardInformer
}
func NewScoped ¶
func NewScoped(f internalinterfaces.SharedScopedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
New returns a new ClusterInterface.
type LogicalClusterClusterInformer ¶
type LogicalClusterClusterInformer interface {
Cluster(logicalcluster.Name) LogicalClusterInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() corev1alpha1listers.LogicalClusterClusterLister
}
LogicalClusterClusterInformer provides access to a shared informer and lister for LogicalClusters.
type LogicalClusterInformer ¶
type LogicalClusterInformer interface {
Informer() cache.SharedIndexInformer
Lister() corev1alpha1listers.LogicalClusterLister
}
LogicalClusterInformer provides access to a shared informer and lister for LogicalClusters.
type ShardClusterInformer ¶
type ShardClusterInformer interface {
Cluster(logicalcluster.Name) ShardInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() corev1alpha1listers.ShardClusterLister
}
ShardClusterInformer provides access to a shared informer and lister for Shards.
type ShardInformer ¶
type ShardInformer interface {
Informer() cache.SharedIndexInformer
Lister() corev1alpha1listers.ShardLister
}
ShardInformer provides access to a shared informer and lister for Shards.