Documentation
¶
Index ¶
- func NewFilteredLogicalClusterClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredLogicalClusterInformer(client kcpversioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredShardClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredShardInformer(client kcpversioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewLogicalClusterClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewLogicalClusterInformer(client kcpversioned.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewShardClusterInformer(client kcpcluster.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewShardInformer(client kcpversioned.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 kcpcluster.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.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 kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.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 kcpcluster.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.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 kcpversioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.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 kcpcluster.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 kcpversioned.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 kcpcluster.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 kcpversioned.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 kcpinternalinterfaces.SharedInformerFactory, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new Interface.
type Interface ¶
type Interface interface {
// LogicalClusters returns a LogicalClusterInformer.
LogicalClusters() LogicalClusterInformer
// Shards returns a ShardInformer.
Shards() ShardInformer
}
func NewScoped ¶
func NewScoped(f kcpinternalinterfaces.SharedScopedInformerFactory, namespace string, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) Interface
New returns a new Interface.
type LogicalClusterClusterInformer ¶
type LogicalClusterClusterInformer interface {
Cluster(logicalcluster.Name) LogicalClusterInformer
ClusterWithContext(context.Context, logicalcluster.Name) LogicalClusterInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1alpha1.LogicalClusterClusterLister
}
LogicalClusterClusterInformer provides access to a shared informer and lister for LogicalClusters.
type LogicalClusterInformer ¶
type LogicalClusterInformer interface {
Informer() cache.SharedIndexInformer
Lister() kcpv1alpha1.LogicalClusterLister
}
LogicalClusterInformer provides access to a shared informer and lister for LogicalClusters.
type ShardClusterInformer ¶
type ShardClusterInformer interface {
Cluster(logicalcluster.Name) ShardInformer
ClusterWithContext(context.Context, logicalcluster.Name) ShardInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1alpha1.ShardClusterLister
}
ShardClusterInformer provides access to a shared informer and lister for Shards.
type ShardInformer ¶
type ShardInformer interface {
Informer() cache.SharedIndexInformer
Lister() kcpv1alpha1.ShardLister
}
ShardInformer provides access to a shared informer and lister for Shards.