-
Notifications
You must be signed in to change notification settings - Fork 244
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
Simplify pkg/devfile/adapters/... packages #5914
Simplify pkg/devfile/adapters/... packages #5914
Conversation
✅ Deploy Preview for odo-docusaurus-preview canceled.
|
@feloy: The label(s) 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. |
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.
A small comment about some function doc, but LGTM.
The narrative was easy to review overall by reading each commit in order. Thanks.
Co-authored-by: Armel Soro <armel@rm3l.org>
Kudos, SonarCloud Quality Gate passed!
|
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: rm3l 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 |
/override ci/prow/unit |
@feloy: Overrode contexts on behalf of feloy: ci/prow/unit, ci/prow/v4.10-integration-e2e 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 dependency on common.AdapterContext for sync.Adapter * Simplify adapters.NewComponentAdapter * NewComponentAdapter accepts kubernetes.KubernetesContext instead of interface{} * Replace KubernetesContext with its only field Namespace * Move the Push Interface and builders to the kubernetes.component package * Move AdapterContext to kubernetes.component package * Embeds component.New into NewKubernetesAdapter * Move GetCommandsMap where it is used * Move GetSyncFilesFromAttributes where it is used * Move constants where they are used * Move types to adapters package * Update pkg/devfile/adapters/kubernetes/component/adapter.go Co-authored-by: Armel Soro <armel@rm3l.org> Co-authored-by: Armel Soro <armel@rm3l.org>
What type of PR is this:
/kind cleanup
What does this PR do / why we need it:
Simplify pkg/devfile/adapters packages (see commits messages for more details)
Which issue(s) this PR fixes:
Cleanup code for #5867
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer: