Closed stevekuznetsov closed 1 year ago
[APPROVALNOTIFIER] This PR is APPROVED
Approval requirements bypassed by manually added approval.
This pull-request has been approved by:
The full list of commands accepted by this bot can be found here.
The pull request process is described here
listergen: add comments to interface methods
Signed-off-by: Steve Kuznetsov skuznets@redhat.com
listergen: add lister expansions
Signed-off-by: Steve Kuznetsov skuznets@redhat.com
listergen: document assumptions from indexer
Signed-off-by: Steve Kuznetsov skuznets@redhat.com
informergen,listergen: support a single-cluster-scoped informer factory
In some cases, users will want to run against a specific cluster in kcp, so we need to allow them to create a single-cluster-scoped factory. We can't extract the cluster they are in from the client we get passed without major hackery, so we use the standard shared informer, keyfunc and indices, simply leaving out the cluster entirely.
Signed-off-by: Steve Kuznetsov skuznets@redhat.com
examples: update generated code
Signed-off-by: Steve Kuznetsov skuznets@redhat.com