Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c303b69

Browse files
committedAug 15, 2024··
Add Quarkus plugin deprecation
1 parent 250bd42 commit c303b69

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎pkg/quarkus/v1beta/plugin.go

+7
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,10 @@ func (p Plugin) GetCreateAPISubcommand() plugin.CreateAPISubcommand { return &p.
6666

6767
// // GetEditSubcommand will return the subcommand which is responsible for editing the scaffold of the project
6868
// func (p Plugin) GetEditSubcommand() plugin.EditSubcommand { return &p.editSubcommand }
69+
70+
func (p Plugin) DeprecationWarning() string {
71+
return "This plugin is deprecated and will be eventually removed." +
72+
" It is recommended that you bootstrap your Quarkus-based operator with" +
73+
" the provided Quarkus tools as described in the bootstraping instructions -" +
74+
" https://github.com/quarkiverse/quarkus-operator-sdk?tab=readme-ov-file#bootstrapping-a-project."
75+
}

0 commit comments

Comments
 (0)
Please sign in to comment.