File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,17 @@ const Resource = "// +kubebuilder:resource:path="
26
26
// categories
27
27
const Categories = "// +kubebuilder:categories="
28
28
29
- // Maximum annotates a go struct field for CRD validation
29
+ // Maximum annotates a numeric go struct field for CRD validation
30
30
const Maximum = "// +kubebuilder:validation:Maximum="
31
31
32
- // ExclusiveMaximum annotates a go struct field for CRD validation
32
+ // ExclusiveMaximum annotates a numeric go struct field for CRD validation
33
33
const ExclusiveMaximum = "// +kubebuilder:validation:ExclusiveMaximum="
34
34
35
- // Minimum annotates a go struct field for CRD validation
35
+ // Minimum annotates a numeric go struct field for CRD validation
36
36
const Minimum = "// +kubebuilder:validation:Minimum="
37
37
38
- // ExclusiveMinimum annotates a go struct field for CRD validation
38
+ // ExclusiveMinimum annotates a numeric go struct field for CRD validation
39
39
const ExclusiveMinimum = "// +kubebuilder:validation:ExclusiveMinimum="
40
+
41
+ // Pattern annotates a string go struct field for CRD validation with a regular expression it must match
42
+ const Pattern = "// +kubebuilder:validation:Pattern="
You can’t perform that action at this time.
0 commit comments