- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for validateClass (0.16 sec)
-
pkg/apis/resource/validation/validation.go
allErrs = append(allErrs, field.Invalid(fldPath.Child("namespace"), ref.Namespace, msg)) } } return allErrs } // ValidateClass validates a ResourceClass. func ValidateClass(resourceClass *resource.ResourceClass) field.ErrorList { allErrs := corevalidation.ValidateObjectMeta(&resourceClass.ObjectMeta, false, corevalidation.ValidateClassName, field.NewPath("metadata"))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 28.3K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java
} ModelSchema<T> schema = schemaStore.getSchema(source); if (!(schema instanceof StructSchema)) { return null; } validateClass(source, problems); return (StructSchema<T>) schema; } @Nullable
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 13:45:02 UTC 2024 - 26K bytes - Viewed (0) -
pkg/apis/resource/validation/validation_resourceclass_test.go
// Must not be empty. } return class }(), }, } for name, scenario := range scenarios { t.Run(name, func(t *testing.T) { errs := ValidateClass(scenario.class) assert.Equal(t, scenario.wantFailures, errs) }) } } func TestValidateClassUpdate(t *testing.T) { validClass := testClass("foo", "valid") scenarios := map[string]struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 09:18:10 UTC 2024 - 10.6K bytes - Viewed (0) -
pilot/cmd/pilot-discovery/app/cmd.go
UnknownFlags: true, }, PreRunE: func(c *cobra.Command, args []string) error { if err := log.Configure(loggingOptions); err != nil { return err } if err := validateFlags(serverArgs); err != nil { return err } if err := serverArgs.Complete(); err != nil { return err } return nil }, RunE: func(c *cobra.Command, args []string) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 8.5K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
return &ExternalInjector{client, &wh.ClientConfig, injectorAddress}, nil } } } return e, fmt.Errorf("could not find valid mutatingWebhookConfiguration %q from cluster", defaultWebhookName) } func validateFlags() error { var err error if inFilename == "" { err = multierror.Append(err, errors.New("filename not specified (see --filename or -f)")) } if meshConfigFile == "" && meshConfigMapName == "" && iopFilename == "" {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 29 02:29:02 UTC 2024 - 21.6K bytes - Viewed (0)