You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apis/placement/v1/commons.go
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -17,18 +17,19 @@ limitations under the License.
17
17
package v1
18
18
19
19
const (
20
-
// fleetPrefix is the prefix used for official fleet labels/annotations.
20
+
// FleetPrefix is the prefix used for official fleet labels/annotations.
21
21
// Unprefixed labels/annotations are reserved for end-users
22
22
// See https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#label-selector-and-annotation-conventions
23
-
fleetPrefix="kubernetes-fleet.io/"
23
+
FleetPrefix="kubernetes-fleet.io/"
24
24
)
25
25
26
26
// NamespacedName comprises a resource name, with a mandatory namespace.
27
27
typeNamespacedNamestruct {
28
28
// Name is the name of the namespaced scope resource.
29
-
// +required
29
+
// +kubebuilder:validation:Required
30
30
Namestring`json:"name"`
31
+
31
32
// Namespace is namespace of the namespaced scope resource.
0 commit comments