-
Notifications
You must be signed in to change notification settings - Fork 121
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
Updated documentation to adapt to new gRPC services #221
Conversation
docs/development/new_cp_support.md
Outdated
``` | ||
1. Navigate into the newly created repository. | ||
1. Navigate into the newly directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
docs/development/new_cp_support.md
Outdated
1. Fill in the methods described at `pkg/{provider-name}/machineserver.go` to manage VMs on your cloud provider. | ||
- To test the basic working of your driver, implementing just the create & delete would suffice. | ||
- The request and response parameters for each of the methods to be implemented are well documented as comments and sample codes at `pkg/{provider-name}/machineserver.go`. | ||
- Once, create and delete methods behave as expected, you can fill in the rest of the methods. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I hoped we would have expected a user to implement GetMachine as well, seems something very basic to be implemented for features like safety-controller and in case we implement GetMachine before every CreateMachine call on mcm. Leaving the decision to you.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have made the suggested changes and mandated basic methods - https://github.com/gardener/machine-controller-manager/pull/221/files#diff-d01da958f03686a1e51543cad6dcd458R58
41e64cf
to
169aa2a
Compare
* Made changes to gRPC services * Better error messages and logging * Updated provider docs to adopt documentation to new gRPC services * Updated docs * Made suggested changes in documentation
What this PR does / why we need it:
Updated documentation and code while adding new provider support using new gRPC services.
Which issue(s) this PR fixes:
Fixes #215
Special notes for your reviewer:
Release note:
cc: @afritzler