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

[Diagnostics] Add validator interface. Add resource interface and PodValidator #3742

Merged
merged 2 commits into from
Mar 10, 2020

Conversation

tejal29
Copy link
Contributor

@tejal29 tejal29 commented Feb 26, 2020

Fixes #3740

Relates to #3739

In this PR,

  • Added a new Validator interface which implements an interface to validate a kubernetes resource.
  • Added a new Resource interface which describes any kubernetes resource
  • Added a new PodValidator and modified the existing functions in pod.go to validate pods.

@codecov
Copy link

codecov bot commented Feb 26, 2020

Codecov Report

Merging #3742 into master will increase coverage by <.01%.
The diff coverage is n/a.

Impacted Files Coverage Δ
cmd/skaffold/app/cmd/flags.go 100% <0%> (ø) ⬆️

@dgageot dgageot self-assigned this Feb 28, 2020
pkg/diag/validator/resource.go Outdated Show resolved Hide resolved
pkg/diag/validator/validator.go Outdated Show resolved Hide resolved
@tejal29
Copy link
Contributor Author

tejal29 commented Mar 3, 2020

@dgageot Thanks! Please take a look again.

@dgageot
Copy link
Contributor

dgageot commented Mar 4, 2020

Hey @tejal29 I don't see any changes since my review. All I see are my comments marked as resolved. lol

@tejal29
Copy link
Contributor Author

tejal29 commented Mar 5, 2020

Hey @tejal29 I don't see any changes since my review. All I see are my comments marked as resolved. lol

I am so sorry! i didnt realize the push was not successful. Thanks!

@dgageot dgageot merged commit 6d20909 into GoogleContainerTools:master Mar 10, 2020
@tejal29 tejal29 deleted the add_validator branch April 15, 2021 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement pod validator.
3 participants