kcp-dev / code-generator

Generators for workspace-aware clientsets, informers, and listers
Apache License 2.0
4 stars 11 forks source link

:sparkles: fix lister bug, improve scoping informer factory #65

Closed stevekuznetsov closed 2 years ago

stevekuznetsov commented 2 years ago

listergen: use correct index on cross-namespace list

Signed-off-by: Steve Kuznetsov skuznets@redhat.com


informergen: allow scoping a factory for generic informers

Signed-off-by: Steve Kuznetsov skuznets@redhat.com


examples: update generated code

Signed-off-by: Steve Kuznetsov skuznets@redhat.com


openshift-ci[bot] commented 2 years 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

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/kcp-dev/code-generator/blob/main/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
openshift-ci[bot] commented 2 years 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

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/openshift/external-dns-operator/blob/main/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment