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 Kazan.run function, deprecate Kazan.Client #23

Merged
merged 3 commits into from
Feb 11, 2018

Conversation

obmarg
Copy link
Owner

@obmarg obmarg commented Feb 4, 2018

Kazan only really has one job - talking to kubernetes. It doesn't make much
sense for the primary function for talking to kubernetes to be hidden inside
Kazan.Client while the Kazan module goes unused.

So, this commit deprecates Kazan.Client and presents the Kazan.run &
Kazan.run! functions as alternatives.

@obmarg
Copy link
Owner Author

obmarg commented Feb 4, 2018

TODO:

  • - Better commit & PR messages.
  • - Check docs to see what has been made out of date.
  • - Write changelog
  • - Update tests.
  • - Test

`Kazan` only really has one job - talking to kubernetes.  It doesn't make much
sense for the primary function for talking to kubernetes to be hidden inside
`Kazan.Client` while the `Kazan` module goes unused.

So, this commit deprecates `Kazan.Client` and presents the `Kazan.run` &
`Kazan.run!` functions as alternatives.
Stops us getting our own deprecation warnings on compile.
@obmarg obmarg merged commit a10943c into master Feb 11, 2018
@obmarg obmarg deleted the feature/deprecate-client branch February 11, 2018 16:41
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