Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for validateFlags (0.22 sec)

  1. 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 == "" {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  2. 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) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      }
    
      private enum NonCachingWithoutConstructorCheckValidator implements GetCheckedTypeValidator {
        INSTANCE;
    
        @Override
        public void validateClass(Class<? extends Exception> exceptionClass) {
          checkArgument(
              isCheckedException(exceptionClass),
              "Futures.getChecked exception type (%s) must not be a RuntimeException",
              exceptionClass);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Mar 22 03:01:34 GMT 2022
    - 6.5K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

      }
    
      private enum NonCachingWithoutConstructorCheckValidator implements GetCheckedTypeValidator {
        INSTANCE;
    
        @Override
        public void validateClass(Class<? extends Exception> exceptionClass) {
          checkArgument(
              isCheckedException(exceptionClass),
              "Futures.getChecked exception type (%s) must not be a RuntimeException",
              exceptionClass);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Mar 22 03:01:34 GMT 2022
    - 6.6K bytes
    - Viewed (0)
Back to top