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: consumer controller loop #516

Merged
merged 20 commits into from
Jun 2, 2021

Conversation

tao12345666333
Copy link
Member

Please answer these questions before submitting a pull request

  • Why submit this pull request?

  • Bugfix

  • New feature provided

  • Improve performance

  • Backport patches

  • Related issues


Bugfix

  • Description

  • How to fix?


New feature or improvement

  • Describe the details and related test reports.

Backport patches

  • Why need to backport?

  • Source branch

  • Related commits and pull requests

  • Target branch

@tao12345666333 tao12345666333 marked this pull request as draft May 31, 2021 01:22
@tao12345666333
Copy link
Member Author

let me rebase and resolve conflicts.

Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
@tao12345666333 tao12345666333 marked this pull request as ready for review June 1, 2021 01:57
pkg/ingress/apisix_consumer.go Outdated Show resolved Hide resolved
pkg/ingress/apisix_consumer.go Outdated Show resolved Hide resolved
pkg/ingress/controller.go Outdated Show resolved Hide resolved
pkg/ingress/controller.go Outdated Show resolved Hide resolved
tao12345666333 and others added 6 commits June 1, 2021 15:41
Co-authored-by: Alex Zhang <tokers@apache.org>
Co-authored-by: Alex Zhang <tokers@apache.org>
Co-authored-by: Alex Zhang <tokers@apache.org>
Co-authored-by: Alex Zhang <tokers@apache.org>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
Signed-off-by: Jintao Zhang <zhangjintao9020@gmail.com>
@codecov-commenter
Copy link

codecov-commenter commented Jun 2, 2021

Codecov Report

Merging #516 (2c105b2) into master (3337be7) will decrease coverage by 1.21%.
The diff coverage is 0.64%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #516      +/-   ##
==========================================
- Coverage   36.21%   35.00%   -1.22%     
==========================================
  Files          53       54       +1     
  Lines        4343     4497     +154     
==========================================
+ Hits         1573     1574       +1     
- Misses       2558     2711     +153     
  Partials      212      212              
Impacted Files Coverage Δ
pkg/apisix/apisix.go 63.63% <ø> (ø)
pkg/apisix/cluster.go 25.17% <0.00%> (-0.10%) ⬇️
pkg/ingress/apisix_consumer.go 0.00% <0.00%> (ø)
pkg/ingress/controller.go 1.13% <0.00%> (-0.06%) ⬇️
pkg/ingress/status.go 0.00% <0.00%> (ø)
pkg/apisix/nonexistentclient.go 50.00% <14.28%> (-3.85%) ⬇️

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 3337be7...2c105b2. Read the comment docs.

@@ -164,7 +167,8 @@ func NewController(cfg *config.Config) (*Controller, error) {
watchingNamespace: watchingNamespace,
secretSSLMap: new(sync.Map),
recorder: eventBroadcaster.NewRecorder(scheme.Scheme, v1.EventSource{Component: _component}),
podCache: types.NewPodCache(),

Copy link
Member Author

Choose a reason for hiding this comment

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

Suggested change

@gxthrj gxthrj merged commit f6cb4f9 into apache:master Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants