Documentation
¶
Index ¶
- func NewFilteredPullSubscriptionInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredTopicInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewPullSubscriptionInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewTopicInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type Interface
- type PullSubscriptionInformer
- type TopicInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredPullSubscriptionInformer ¶
func NewFilteredPullSubscriptionInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredPullSubscriptionInformer constructs a new informer for PullSubscription 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 NewFilteredTopicInformer ¶
func NewFilteredTopicInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredTopicInformer constructs a new informer for Topic 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 NewPullSubscriptionInformer ¶
func NewPullSubscriptionInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewPullSubscriptionInformer constructs a new informer for PullSubscription 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 NewTopicInformer ¶
func NewTopicInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewTopicInformer constructs a new informer for Topic 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 Interface ¶
type Interface interface {
// PullSubscriptions returns a PullSubscriptionInformer.
PullSubscriptions() PullSubscriptionInformer
// Topics returns a TopicInformer.
Topics() TopicInformer
}
Interface provides access to all the informers in this group version.
func New ¶
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
New returns a new Interface.
type PullSubscriptionInformer ¶
type PullSubscriptionInformer interface {
Informer() cache.SharedIndexInformer
Lister() v1.PullSubscriptionLister
}
PullSubscriptionInformer provides access to a shared informer and lister for PullSubscriptions.
type TopicInformer ¶
type TopicInformer interface {
Informer() cache.SharedIndexInformer
Lister() v1.TopicLister
}
TopicInformer provides access to a shared informer and lister for Topics.