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 /pods HTTP endpoint #825

Merged
merged 1 commit into from
Mar 20, 2020
Merged

Conversation

sargun
Copy link
Contributor

@sargun sargun commented Mar 20, 2020

No description provided.

@sargun sargun force-pushed the add-pods-api branch 2 times, most recently from ac28b8d to 21e8f10 Compare March 20, 2020 10:06
@@ -36,7 +36,8 @@ type ServeMux interface {
type PodHandlerConfig struct {
RunInContainer ContainerExecHandlerFunc
GetContainerLogs ContainerLogsHandlerFunc
GetPods PodListerFunc
GetPodsFromProvider PodListerFunc
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we should change the name of this field. Maybe add a doc string?

@sargun sargun force-pushed the add-pods-api branch 2 times, most recently from b02e587 to 73b7568 Compare March 20, 2020 17:04
Copy link
Contributor

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

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

LGTM

@sargun
Copy link
Contributor Author

sargun commented Mar 20, 2020

Still working on this PR. I'll ask for re-review once things are ready.

@cpuguy83 cpuguy83 changed the title Add /pods HTTP endpoint [WIP] Add /pods HTTP endpoint Mar 20, 2020
@sargun sargun force-pushed the add-pods-api branch 4 times, most recently from bf3c528 to b0f7704 Compare March 20, 2020 18:43
@sargun sargun changed the title [WIP] Add /pods HTTP endpoint Add /pods HTTP endpoint Mar 20, 2020
@sargun sargun requested a review from cpuguy83 March 20, 2020 18:52
@sargun
Copy link
Contributor Author

sargun commented Mar 20, 2020

@cpuguy83 I made it so we just re-use the podlister that the resource manager has.

Copy link
Contributor

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

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

LGTM

@cpuguy83 cpuguy83 merged commit 3ec3b14 into virtual-kubelet:master Mar 20, 2020
@sargun sargun deleted the add-pods-api branch March 20, 2020 21:49
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.

None yet

2 participants