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

Accept clientset interface over concrete type #607

Merged
merged 1 commit into from
Mar 5, 2019

Conversation

rndstr
Copy link
Contributor

@rndstr rndstr commented Mar 5, 2019

The concrete type *kubernetes.Clientset implements
kubernetes.Interface and can as such be replaced in function
arguments. It allows to pass in the k8s fake client when doing tests.

The concrete type `*kubernetes.Clientset` implements
`kubernetes.Interface` and can as such be replaced in function
arguments. It allows to pass in the k8s fake client when doing tests.
@errordeveloper errordeveloper merged commit 926ea1a into master Mar 5, 2019
@errordeveloper errordeveloper deleted the clientset-interface branch March 5, 2019 07:50
torredil pushed a commit to torredil/eksctl that referenced this pull request May 20, 2022
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