File tree Expand file tree Collapse file tree 15 files changed +32
-13
lines changed Expand file tree Collapse file tree 15 files changed +32
-13
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import (
22
22
"sigs.k8s.io/kubebuilder/v3/pkg/cli"
23
23
cfgv2 "sigs.k8s.io/kubebuilder/v3/pkg/config/v2"
24
24
cfgv3 "sigs.k8s.io/kubebuilder/v3/pkg/config/v3"
25
- declarativev1 "sigs.k8s.io/kubebuilder/v3/pkg/plugins/declarative/v1"
25
+ declarativev1 "sigs.k8s.io/kubebuilder/v3/pkg/plugins/golang/ declarative/v1"
26
26
pluginv2 "sigs.k8s.io/kubebuilder/v3/pkg/plugins/golang/v2"
27
27
pluginv3 "sigs.k8s.io/kubebuilder/v3/pkg/plugins/golang/v3"
28
28
)
Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ limitations under the License.
17
17
package plugins
18
18
19
19
// DefaultNameQualifier is the suffix appended to all kubebuilder plugin names.
20
- const DefaultNameQualifier = ". kubebuilder.io"
20
+ const DefaultNameQualifier = "kubebuilder.io"
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ import (
28
28
"sigs.k8s.io/kubebuilder/v3/pkg/model/resource"
29
29
"sigs.k8s.io/kubebuilder/v3/pkg/plugin"
30
30
"sigs.k8s.io/kubebuilder/v3/pkg/plugin/util"
31
- "sigs.k8s.io/kubebuilder/v3/pkg/plugins/declarative/v1/internal/templates"
31
+ "sigs.k8s.io/kubebuilder/v3/pkg/plugins/golang/ declarative/v1/internal/templates"
32
32
goPluginV3 "sigs.k8s.io/kubebuilder/v3/pkg/plugins/golang/v3"
33
33
)
34
34
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ import (
22
22
cfgv3 "sigs.k8s.io/kubebuilder/v3/pkg/config/v3"
23
23
"sigs.k8s.io/kubebuilder/v3/pkg/model/resource"
24
24
"sigs.k8s.io/kubebuilder/v3/pkg/plugin"
25
- "sigs.k8s.io/kubebuilder/v3/pkg/plugins"
25
+ "sigs.k8s.io/kubebuilder/v3/pkg/plugins/golang "
26
26
)
27
27
28
- const pluginName = "declarative" + plugins . DefaultNameQualifier
28
+ const pluginName = "declarative. " + golang . DefaultGoNameQualifier
29
29
30
30
var (
31
31
pluginVersion = plugin.Version {Number : 1 }
Original file line number Diff line number Diff line change
1
+ /*
2
+ Copyright 2020 The Kubernetes Authors.
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+ http://www.apache.org/licenses/LICENSE-2.0
7
+ Unless required by applicable law or agreed to in writing, software
8
+ distributed under the License is distributed on an "AS IS" BASIS,
9
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
+ See the License for the specific language governing permissions and
11
+ limitations under the License.
12
+ */
13
+
14
+ package golang
15
+
16
+ import "sigs.k8s.io/kubebuilder/v3/pkg/plugins"
17
+
18
+ // DefaultGoNameQualifier is the suffix appended to all kubebuilder plugin names for Golang operators.
19
+ const DefaultGoNameQualifier = "go." + plugins .DefaultNameQualifier
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import (
24
24
"sigs.k8s.io/kubebuilder/v3/pkg/plugins"
25
25
)
26
26
27
- const pluginName = "go" + plugins .DefaultNameQualifier
27
+ const pluginName = "go. " + plugins .DefaultNameQualifier
28
28
29
29
var (
30
30
pluginVersion = plugin.Version {Number : 2 }
You can’t perform that action at this time.
0 commit comments