-
Notifications
You must be signed in to change notification settings - Fork 558
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
Move interfaces to _interface.go files and generate mocks from them #562
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: wongma7 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 |
Seems like a reasonable approach. |
/retest |
7ebe79f
to
2faa1e2
Compare
New changes are detected. LGTM label has been removed. |
2faa1e2
to
6e2684e
Compare
6e2684e
to
f85ed37
Compare
/test pull-aws-efs-csi-driver-verify |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/lifecycle frozen |
@wongma7: The In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/remove-lifecycle rotten |
@wongma7: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
@wongma7: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Is this a bug fix or adding new feature? refactoring
What is this PR about? / Why do we need it? housekeeping/refactoring to make pkg/cloud better resemble EBS https://github.com/kubernetes-sigs/aws-ebs-csi-driver/tree/master/pkg/cloud after the EBS PRs kubernetes-sigs/aws-ebs-csi-driver#1074 and kubernetes-sigs/aws-ebs-csi-driver#1078. Ultimately I want to copy the metadata_k8s solution and its associated tests (e2e + unit) from EBS into this repo so this is just some quick refactoring to prepare for that.
EBS:
EFS:
It is unclear the need for a generic "Cloud" interface and how that differs from the "EFS" interface. Likewise for the EBS "Cloud" https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/pkg/cloud/cloud_interface.go and "EC2" https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/pkg/cloud/ec2_interface.go. We may eventually put pkg/cloud in its own repo or move it to cloud-provider repo so that it can be consumable from all csi drivers without code duplication. In which case we will have to sort out this "Cloud"/cloud.go/cloud_interface.go conflict. But for now I do not see much reason to invest in this because EFS pkg/cloud and EBS pkg/cloud should be free to develop independently/selfishly. The metadata solution is the first and only thing we have found that should be shared... Once more things come up then we should think about putting them in a repo to avoid copy/paste.
What testing is done? make test