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 clientset for Output CRD #9

Merged
merged 4 commits into from
Sep 23, 2019
Merged

Conversation

mugdha-adhav
Copy link
Contributor

@mugdha-adhav mugdha-adhav commented Sep 19, 2019

Description

  • Added client code for Output CRD using code-generator
  • Clientset is generated for non-namespace scoped resource
  • client packge is auto-generated using code-generator

Purpose

  • The newly added clientset will enable us to create custom-resources of type Output

Testing Done

  • Manually tested for kubernetes 1.15.2
  • Made sure that the custom resources of type Output are created using the clientset

@texascloud
Copy link

What does this change do?

@smanpathak
Copy link
Contributor

What does this change do?

@CamelCaseNotation I am going to add a template for pull request. Devs forget such things when posting reviews!

pkg/client/clientset/versioned/clientset.go Outdated Show resolved Hide resolved
pkg/client/clientset/versioned/clientset.go Outdated Show resolved Hide resolved
pkg/client/clientset/versioned/clientset.go Outdated Show resolved Hide resolved
pkg/client/clientset/versioned/doc.go Outdated Show resolved Hide resolved
@smanpathak
Copy link
Contributor

smanpathak commented Sep 19, 2019

@mugdha-adhav Overall, please add unit tests.

@mugdha-adhav
Copy link
Contributor Author

What does this change do?

@CamelCaseNotation @smanpathak added the description for the PR

- Changed copyright for logging clientset to platform9
- Modified clientset for non-namespaced resources
- Removed deprecated implementations
- Renamed logging interface to LoggingV1alpha1Interface and added comment
- Fixed the version to v1alpha1 in the Scheme
Copy link
Contributor

@smanpathak smanpathak left a comment

Choose a reason for hiding this comment

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

Ok to submit, after fixing the failing unit test

@smanpathak smanpathak added the enhancement New feature or request label Sep 20, 2019
Added subtests for each test
Add check for result type
Add check for output object
@smanpathak smanpathak merged commit bdd8718 into master Sep 23, 2019
@smanpathak smanpathak deleted the private/mugdha/add-clientset branch September 23, 2019 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants