-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
pkg: refactor scaffolds and machinery under plugins #1550
pkg: refactor scaffolds and machinery under plugins #1550
Conversation
932c1d6
to
cd0c142
Compare
/test pull-kubebuilder-e2e-k8s-1-16-2 |
that machinery directly and only relates to plugins. Scaffold templates are also versioned with plugin major version, ex. pkg/plugin/v2.
cd0c142
to
6fde51d
Compare
"sigs.k8s.io/kubebuilder/pkg/plugin/scaffold" | ||
scaffolds "sigs.k8s.io/kubebuilder/pkg/plugin/v2/scaffolds" |
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.
may v2scaffolds
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.
can be in the v3 follow up 👍
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: camilamacedo86, estroz 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 |
All scaffold templates and machinery are housed under
pkg/plugin
since that machinery directly and only relates to plugins. Scaffold templates are also versioned with plugin major version, ex.pkg/plugin/v2
.Changes:
pkg/scaffold/internal/{filesystem,machinery} -> pkg/plugin/internal
pkg/scaffold/interface.go -> pkg/plugin/scaffold
pkg/scaffold -> pkg/plugin/v2/scaffolds
pkg/plugin/internal/*.go -> pkg/plugin/util
/cc @camilamacedo86 @joelanford @DirectXMan12