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: pkg/analysis/ssatags/testdata/src/a/a.go
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -190,4 +190,12 @@ type SSATagsTestSpec struct {
190
190
// Byte array with markers - should be ignored even if markers are present
191
191
// +listType=atomic
192
192
ByteArrayWithMarker []byte`json:"byteArrayWithMarker,omitempty"`// want "ByteArrayWithMarker is a byte array, which does not support the listType marker. Remove the listType marker"
193
+
194
+
// +optional
195
+
// +kubebuilder:pruning:PreserveUnknownFields
196
+
// +kubebuilder:validation:Schemaless
197
+
AllOf []JSONSchemaProps`json:"allOf,omitempty"`
193
198
}
199
+
200
+
// JSONSchemaProps is a placeholder for the JSON schema properties.
Copy file name to clipboardExpand all lines: pkg/analysis/ssatags/testdata/src/a/a.go.golden
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -189,4 +189,12 @@ type SSATagsTestSpec struct {
189
189
190
190
// Byte array with markers - should be ignored even if markers are present
191
191
ByteArrayWithMarker []byte `json:"byteArrayWithMarker,omitempty"` // want "ByteArrayWithMarker is a byte array, which does not support the listType marker. Remove the listType marker"
192
+
193
+
// +optional
194
+
// +kubebuilder:pruning:PreserveUnknownFields
195
+
// +kubebuilder:validation:Schemaless
196
+
AllOf []JSONSchemaProps `json:"allOf,omitempty"`
192
197
}
198
+
199
+
// JSONSchemaProps is a placeholder for the JSON schema properties.
Copy file name to clipboardExpand all lines: pkg/analysis/ssatags/testdata/src/b/b.go
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -185,4 +185,12 @@ type SSATagsTestSpec struct {
185
185
// Byte array with markers - should be ignored even if markers are present
186
186
// +listType=atomic
187
187
ByteArrayWithMarker []byte`json:"byteArrayWithMarker,omitempty"`// want "ByteArrayWithMarker is a byte array, which does not support the listType marker. Remove the listType marker"
188
+
189
+
// +optional
190
+
// +kubebuilder:pruning:PreserveUnknownFields
191
+
// +kubebuilder:validation:Schemaless
192
+
AllOf []JSONSchemaProps`json:"allOf,omitempty"`
188
193
}
194
+
195
+
// JSONSchemaProps is a placeholder for the JSON schema properties.
Copy file name to clipboardExpand all lines: pkg/analysis/ssatags/testdata/src/b/b.go.golden
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -184,5 +184,12 @@ type SSATagsTestSpec struct {
184
184
185
185
// Byte array with markers - should be ignored even if markers are present
186
186
ByteArrayWithMarker []byte `json:"byteArrayWithMarker,omitempty"` // want "ByteArrayWithMarker is a byte array, which does not support the listType marker. Remove the listType marker"
187
+
188
+
// +optional
189
+
// +kubebuilder:pruning:PreserveUnknownFields
190
+
// +kubebuilder:validation:Schemaless
191
+
AllOf []JSONSchemaProps `json:"allOf,omitempty"`
187
192
}
188
193
194
+
// JSONSchemaProps is a placeholder for the JSON schema properties.
0 commit comments