Version 1.0.0+ expected Informer regression?
Describe the bug Starting client 1.0.0, I noticed two things which have been reverted to a 5/6 years old versions:
- the informer interface doesn't "support" anymore ErrorCallback for
on/off("connect", ...)andon/off("error", ...) - the makeInformer function returns an
Informer<T>instead ofInformer<T> & ObjectCache<T>
Both things above have been introduced 3 years ago. So, i was wondering if it's expected to have reverted these to an old version?
version 0.22.3
version 1.0.0+
Thank you
Client Version 1.0.0+
Server Version N/A
To Reproduce N/A
Expected behavior Same behavior as 0.22.3
Example Code N/A
Environment (please complete the following information):
- OS: N/A
- Node.js: N/A
- Cloud runtime: N/A
Additional context N/A
We definitely forked to produce the 1.0 branch a long time ago and not everything got ported between the branches while we had both active. Feel free to cherry-pick/port and send PRs.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle stale - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
- After 90d of inactivity,
lifecycle/staleis applied - After 30d of inactivity since
lifecycle/stalewas applied,lifecycle/rottenis applied - After 30d of inactivity since
lifecycle/rottenwas applied, the issue is closed
You can:
- Mark this issue as fresh with
/remove-lifecycle rotten - Close this issue with
/close - Offer to help out with Issue Triage
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten