Skip to content

Use WatchListXXXForAllNamespacesAsync to list Kubernetes resources and refactor WatchAsync#3024

Open
Xulei-NL wants to merge 3 commits intodotnet:mainfrom
Xulei-NL:refactor/asyncwatch-k8s-resources
Open

Use WatchListXXXForAllNamespacesAsync to list Kubernetes resources and refactor WatchAsync#3024
Xulei-NL wants to merge 3 commits intodotnet:mainfrom
Xulei-NL:refactor/asyncwatch-k8s-resources

Conversation

@Xulei-NL
Copy link
Copy Markdown

This PR

  1. Replace WatchListXXXForAllNamespaces with WatchListXXXForAllNamespacesAsync. For instace WatchListEndpointsForAllNamespaces with WatchListEndpointsForAllNamespacesAsync.
  2. Refactor WatchAsync to handle returned IAsyncEnumerable(<WatchEventType, TResource>) in step 1.

Appreciate every feedback!

@Xulei-NL
Copy link
Copy Markdown
Author

The PR for the issue #3008.

@Xulei-NL
Copy link
Copy Markdown
Author

@dotnet-policy-service agree

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.

1 participant