Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for ValidateConfig (0.23 sec)

  1. cmd/admin-handlers-config-kv.go

    		return
    	}
    
    	if err = cfg.DelFrom(bytes.NewReader(kvBytes)); err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	if err = validateConfig(ctx, cfg, subSys); err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminConfigBadJSON), err.Error(), r.URL)
    		return
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. operator/pkg/apis/istio/v1alpha1/validation/validation.go

    type deprecatedSettings struct {
    	old string
    	new string
    	// In ordered to distinguish between unset for non-pointer values, we need to specify the default value
    	def any
    }
    
    // ValidateConfig  calls validation func for every defined element in Values
    func ValidateConfig(failOnMissingValidation bool, iopls *v1alpha1.IstioOperatorSpec) (util.Errors, string) {
    	var validationErrors util.Errors
    	var warningMessages []string
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 20:02:28 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  3. cmd/admin-handlers-idp-config.go

    		return
    	}
    
    	// IDP config is not dynamic. Sanity check.
    	if dynamic {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), "", r.URL)
    		return
    	}
    
    	if err = validateConfig(ctx, cfg, subSys); err != nil {
    
    		var validationErr ldap.Validation
    		if errors.As(err, &validationErr) {
    			// If we got an LDAP validation error, we need to send appropriate
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/aot/compile.cc

      tf2xla::Config config;
      if (flags.config.empty()) {
        return errors::InvalidArgument("Must specify --config");
      }
      TF_RETURN_IF_ERROR(ReadProtoFile(flags.config, &config));
      TF_RETURN_IF_ERROR(ValidateConfig(config));
      if (flags.dump_fetch_nodes) {
        std::set<string> nodes;
        for (const tf2xla::Fetch& fetch : config.fetch()) {
          nodes.insert(fetch.id().node_name());
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 08:28:57 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/config.go

    				return errors.Errorf("the --%s flag is mandatory", options.CfgPath)
    			}
    
    			cfgBytes, err := os.ReadFile(cfgPath)
    			if err != nil {
    				return err
    			}
    
    			if err := configutil.ValidateConfig(cfgBytes, allowExperimental); err != nil {
    				return err
    			}
    			fmt.Fprintln(out, "ok")
    
    			return nil
    		},
    		Args: cobra.NoArgs,
    	}
    	options.AddConfigFlag(cmd.Flags(), &cfgPath)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 06:58:01 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/aot/codegen.cc

                          const CompileResult& compile_result,
                          const MetadataResult& metadata_result, string* header) {
      TF_RETURN_IF_ERROR(ValidateConfig(config));
      TF_RETURN_IF_ERROR(ValidateFeedFetchCppNames(config));
      const int64_t result_index = compile_result.aot->result_buffer_index();
      const std::vector<BufferInfo>& buffer_infos =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  7. cmd/config-current.go

    	if config.LambdaSubSystems.Contains(subSys) {
    		if err := lambda.TestSubSysLambdaTargets(GlobalContext, s, subSys, NewHTTPTransport()); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    func validateConfig(ctx context.Context, s config.Config, subSys string) error {
    	objAPI := newObjectLayerFn()
    
    	// We must have a global lock for this so nobody else modifies env while we do.
    	defer env.LockSetEnv()()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 08:14:58 UTC 2024
    - 30.8K bytes
    - Viewed (0)
Back to top