(ctx context.Context, conf *config.Configuration, resources *kube.ResourceProvider, res kube.GenericResource, isController bool)
| 283 | } |
| 284 | |
| 285 | func applyTopLevelSchemaChecks(ctx context.Context, conf *config.Configuration, resources *kube.ResourceProvider, res kube.GenericResource, isController bool) (ResultSet, error) { |
| 286 | test := schemaTestCase{ |
| 287 | ResourceProvider: resources, |
| 288 | Resource: res, |
| 289 | } |
| 290 | if isController { |
| 291 | test.Target = config.TargetController |
| 292 | } |
| 293 | return applySchemaChecks(ctx, conf, test) |
| 294 | } |
| 295 | |
| 296 | func applyPodSchemaChecks(ctx context.Context, conf *config.Configuration, resources *kube.ResourceProvider, controller kube.GenericResource) (ResultSet, error) { |
| 297 | test := schemaTestCase{ |
no test coverage detected