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

Add KReference.Group field and ResolveGroup function #2127

Merged
merged 9 commits into from
Jun 15, 2021

Conversation

slinkydeveloper
Copy link
Contributor

Signed-off-by: Francesco Guardiani francescoguard@gmail.com

Add the KReference.Group field and ResolveGroup function. Part of the experimental feature knative/eventing#5086

Changes

  • 🎁 Add KReference.Group field and ResolveGroup function

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
@google-cla google-cla bot added the cla: yes Indicates the PR's author has signed the CLA. label May 18, 2021
@slinkydeveloper
Copy link
Contributor Author

/hold

@knative-prow-robot knative-prow-robot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels May 18, 2021
@codecov
Copy link

codecov bot commented May 18, 2021

Codecov Report

Merging #2127 (57ab67e) into main (67897f4) will increase coverage by 0.22%.
The diff coverage is 91.17%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2127      +/-   ##
==========================================
+ Coverage   67.44%   67.66%   +0.22%     
==========================================
  Files         215      216       +1     
  Lines        9117     9130      +13     
==========================================
+ Hits         6149     6178      +29     
+ Misses       2695     2677      -18     
- Partials      273      275       +2     
Impacted Files Coverage Δ
kref/knative_reference.go 82.35% <82.35%> (ø)
apis/duck/v1/knative_reference.go 100.00% <100.00%> (ø)
test/gcs/mock/mock.go 91.39% <0.00%> (-1.08%) ⬇️
test/ha/ha.go 17.39% <0.00%> (ø)
tracing/zipkin.go 68.42% <0.00%> (ø)
injection/config.go 0.00% <0.00%> (ø)
webhook/admission.go 82.22% <0.00%> (ø)
apis/duck/v1/register.go 100.00% <0.00%> (ø)
controller/controller.go 86.34% <0.00%> (ø)
controller/stats_reporter.go 93.75% <0.00%> (ø)
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 67897f4...57ab67e. Read the comment docs.

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
apis/duck/v1/knative_reference.go Show resolved Hide resolved
apis/duck/v1/knative_reference.go Outdated Show resolved Hide resolved
apis/duck/v1/knative_reference.go Outdated Show resolved Hide resolved
apis/duck/v1/knative_reference.go Show resolved Hide resolved
apis/duck/v1/knative_reference.go Outdated Show resolved Hide resolved
Made ResolveGroup a util method, more than an instance method

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
@slinkydeveloper
Copy link
Contributor Author

/retest

Metrics ut failure.

Signed-off-by: Francesco Guardiani <francescoguard@gmail.com>
@slinkydeveloper
Copy link
Contributor Author

slinkydeveloper commented Jun 15, 2021

/unhold

This has been approved per https://groups.google.com/g/knative-dev/c/lQ1E4q9s1Ig/m/dQTif0xzBQAJ

@knative-prow-robot knative-prow-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 15, 2021
Copy link
Member

@aliok aliok 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-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 15, 2021
Copy link
Member

@matzew matzew 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-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aliok, matzew, slinkydeveloper

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

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 15, 2021
@knative-prow-robot knative-prow-robot merged commit 192b0c9 into knative:main Jun 15, 2021
@slinkydeveloper slinkydeveloper deleted the kreference_group branch June 15, 2021 09:27
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. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants