Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add updatescale method to generated clients for consumergroups #4207

Merged

Conversation

Cali0707
Copy link
Member

@Cali0707 Cali0707 commented Jan 10, 2025

Similar to #3976 but for the consumergroup client. This is useful since we currently do not expose the scale subresource for the triggers, so this will enable scaling the consumergroups directly

Proposed Changes

  • Add UpdateScale method to consumergroup generated client
the consumergroup client now supports UpdateScale methods

@knative-prow knative-prow bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 10, 2025
@Cali0707
Copy link
Member Author

/cc @pierDipi @creydr

@knative-prow knative-prow bot requested review from creydr and pierDipi January 10, 2025 00:49
Copy link

codecov bot commented Jan 10, 2025

Codecov Report

Attention: Patch coverage is 0% with 20 lines in your changes missing coverage. Please review.

Project coverage is 49.40%. Comparing base (d90c382) to head (36fc3d3).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...d/internalskafkaeventing/v1alpha1/consumergroup.go 0.00% 12 Missing ⚠️
...skafkaeventing/v1alpha1/fake/fake_consumergroup.go 0.00% 8 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #4207      +/-   ##
============================================
+ Coverage     45.50%   49.40%   +3.89%     
- Complexity        0      883     +883     
============================================
  Files           270      374     +104     
  Lines         19873    23450    +3577     
  Branches          0      313     +313     
============================================
+ Hits           9044    11586    +2542     
- Misses        10111    10970     +859     
- Partials        718      894     +176     
Flag Coverage Δ
java-unittests 71.46% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@pierDipi pierDipi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jan 10, 2025
Copy link

knative-prow bot commented Jan 10, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Cali0707, pierDipi

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:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@pierDipi
Copy link
Member

/test upgrade-tests

@knative-prow knative-prow bot merged commit c61378d into knative-extensions:main Jan 10, 2025
33 of 37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/control-plane lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants