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

Update Service interface to use Reconcile/Delete methods #180

Merged
merged 1 commit into from
Apr 11, 2019

Conversation

justaugustus
Copy link
Contributor

@justaugustus justaugustus commented Apr 11, 2019

Signed-off-by: Stephen Augustus [email protected]

What this PR does / why we need it:

  • Update Makefile
  • s/CreateOrUpdate/Reconcile
  • Add GetterService interface, a temporary interface to represent services that still require Get methods
  • Add type conversions (var _ azure.Service = (*Service)(nil)) to each Azure service, which will force compilation errors if an Azure service doesn't satisfy the Service interface

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Related: #110, #174, #177

Special notes for your reviewer:

This is largely a search and replace, so no additional tests are required.
As we refactor the individual lower-level reconcilers, we'll add unit tests alongside.

Release note:

Update Service interface to use Reconcile/Delete methods

/milestone v1alpha1
/priority important-soon
/kind design

@k8s-ci-robot k8s-ci-robot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 11, 2019
@k8s-ci-robot k8s-ci-robot added this to the v1alpha1 milestone Apr 11, 2019
@k8s-ci-robot k8s-ci-robot added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. kind/design Categorizes issue or PR as related to design. do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. area/provider/azure Issues or PRs related to azure provider labels Apr 11, 2019
@k8s-ci-robot k8s-ci-robot requested a review from awesomenix April 11, 2019 18:42
@k8s-ci-robot k8s-ci-robot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Apr 11, 2019
@k8s-ci-robot k8s-ci-robot requested a review from juan-lee April 11, 2019 18:42
@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 11, 2019
@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed do-not-merge/release-note-label-needed Indicates that a PR should not merge because it's missing one of the release note labels. labels Apr 11, 2019
@justaugustus justaugustus changed the title [WIP] Update Service interface to use Reconcile/Delete methods Update Service interface to use Reconcile/Delete methods Apr 11, 2019
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 11, 2019
@justaugustus
Copy link
Contributor Author

Ready for review.
/assign @awesomenix @soggiest

@awesomenix
Copy link
Contributor

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 11, 2019
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: awesomenix, justaugustus

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit ce3edcd into kubernetes-sigs:master Apr 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/provider/azure Issues or PRs related to azure provider cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/design Categorizes issue or PR as related to design. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants