- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for validateClass (0.17 sec)
-
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
@VisibleForTesting @ParametricNullness static <V extends @Nullable Object, X extends Exception> V getChecked( GetCheckedTypeValidator validator, Future<V> future, Class<X> exceptionClass) throws X { validator.validateClass(exceptionClass); try { return future.get(); } catch (InterruptedException e) { currentThread().interrupt(); throw newWithCause(exceptionClass, e); } catch (ExecutionException e) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:40:56 UTC 2024 - 11.9K bytes - Viewed (0) -
pkg/registry/resource/resourceclass/strategy.go
} func (resourceClassStrategy) Validate(ctx context.Context, obj runtime.Object) field.ErrorList { resourceClass := obj.(*resource.ResourceClass) return validation.ValidateClass(resourceClass) } func (resourceClassStrategy) WarningsOnCreate(ctx context.Context, obj runtime.Object) []string { return nil } func (resourceClassStrategy) Canonicalize(obj runtime.Object) { }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 19:08:24 UTC 2022 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
@VisibleForTesting @ParametricNullness static <V extends @Nullable Object, X extends Exception> V getChecked( GetCheckedTypeValidator validator, Future<V> future, Class<X> exceptionClass) throws X { validator.validateClass(exceptionClass); try { return future.get(); } catch (InterruptedException e) { currentThread().interrupt(); throw newWithCause(exceptionClass, e); } catch (ExecutionException e) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Dec 14 20:35:03 UTC 2023 - 10.3K bytes - Viewed (0) -
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/options.go
func secureTLSCipherNames() []string { cipherKeys := sets.New[string]() for _, cipher := range tls.CipherSuites() { cipherKeys.Insert(cipher.Name) } return sets.SortedList(cipherKeys) } func validateFlags(serverArgs *bootstrap.PilotArgs) error { if serverArgs == nil { return nil } // If keepaliveMaxServerConnectionAge is negative, istiod crash // https://github.com/istio/istio/issues/27257
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Oct 13 23:42:29 UTC 2022 - 1.8K 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)