forked from kubernetes-sigs/kubebuilder
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move file related models to pkg/model/file
- Move model.File to its own subpackage - Change input.File name to input.Template to avoid collisions with file.File - Move pkg/scaffold/input into pkg/model/file - Delete unused tests - Resolve naming conflicts - Stop injecting ProjectPath, BoilerplatePath and Version into templates BoilerplatePath is being used once in v1 and once in v2, and the rest are never being used, so injeceting them is not justified. - Inject from universe instead of from scaffold - Remove unused fields from Scaffold - Remove validate function as was only used once and has 3 LoC - Remove file.Options - model.UniverseOptions and model.NewUniverse no longer return an error
- Loading branch information
Showing
90 changed files
with
599 additions
and
853 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.