Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 230 for Enable (0.15 sec)

  1. cmd/config-current.go

    		callhomeCfg, err := callhome.LookupConfig(s[config.CallhomeSubSys][config.Default])
    		if err != nil {
    			configLogIf(ctx, fmt.Errorf("Unable to load callhome config: %w", err))
    		} else {
    			enable := callhomeCfg.Enable && !globalCallhomeConfig.Enabled()
    			globalCallhomeConfig.Update(callhomeCfg)
    			if enable {
    				initCallhome(ctx, objAPI)
    			}
    		}
    	case config.DriveSubSys:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  2. internal/logger/config.go

    		if err := config.CheckValidKeys(subSysTarget, kv, DefaultLoggerWebhookKVS); err != nil {
    			return cfg, err
    		}
    		enableCfgVal := getCfgVal(EnvLoggerWebhookEnable, k, kv.Get(config.Enable))
    		enable, err := config.ParseBool(enableCfgVal)
    		if err != nil || !enable {
    			continue
    		}
    		var url *xnet.URL
    		endpoint := getCfgVal(EnvLoggerWebhookEndpoint, k, kv.Get(Endpoint))
    		url, err = xnet.ParseHTTPURL(endpoint)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  3. internal/config/notify/legacy.go

    func SetNotifyKafka(s config.Config, name string, cfg target.KafkaArgs) error {
    	if !cfg.Enable {
    		return nil
    	}
    
    	if err := cfg.Validate(); err != nil {
    		return err
    	}
    
    	s[config.NotifyKafkaSubSys][name] = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key: target.KafkaBrokers,
    			Value: func() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  4. internal/config/notify/parse.go

    			queueDirEnv = queueDirEnv + config.Default + k
    		}
    
    		nsqArgs := target.NSQArgs{
    			Enable:      enabled,
    			NSQDAddress: *nsqdAddress,
    			Topic:       env.Get(topicEnv, kv.Get(target.NSQTopic)),
    			QueueDir:    env.Get(queueDirEnv, kv.Get(target.NSQQueueDir)),
    			QueueLimit:  queueLimit,
    		}
    		nsqArgs.TLS.Enable = env.Get(tlsEnableEnv, kv.Get(target.NSQTLS)) == config.EnableOn
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 46.4K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_experimental.cc

    unsigned char TF_SetXlaEnableLazyCompilation(unsigned char enable) {
      tensorflow::BuildXlaOpsPassFlags* flags =
          tensorflow::GetBuildXlaOpsPassFlags();
      bool original = flags->tf_xla_enable_lazy_compilation;
      flags->tf_xla_enable_lazy_compilation = enable;
      return original;
    }
    
    unsigned char TF_SetTfXlaCpuGlobalJit(unsigned char enable) {
      tensorflow::MarkForCompilationPassFlags* flags =
          tensorflow::GetMarkForCompilationPassFlags();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_experimental.cc

    void TFE_ContextSetSoftDevicePlacement(TFE_Context* ctx, unsigned char enable,
                                           TF_Status* status) {
      tensorflow::unwrap(ctx)->SetAllowSoftPlacement(enable);
    }
    
    void TFE_ContextSetLogDevicePlacement(TFE_Context* ctx, unsigned char enable,
                                          TF_Status* status) {
      tensorflow::unwrap(ctx)->SetLogDevicePlacement(enable);
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  7. internal/config/notify/help.go

    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         target.KafkaSASL,
    			Description: "set to 'on' to enable SASL authentication",
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         target.KafkaTLS,
    			Description: "set to 'on' to enable TLS",
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         target.KafkaTLSSkipVerify,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 18.8K bytes
    - Viewed (0)
  8. internal/event/target/postgresql.go

    )
    
    // PostgreSQLArgs - PostgreSQL target arguments.
    type PostgreSQLArgs struct {
    	Enable             bool      `json:"enable"`
    	Format             string    `json:"format"`
    	ConnectionString   string    `json:"connectionString"`
    	Table              string    `json:"table"`
    	Host               xnet.Host `json:"host"`     // default: localhost
    	Port               string    `json:"port"`     // default: 5432
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  9. istioctl/pkg/precheck/precheck.go

    		if err := checkPilot(cli, ctx.IstioNamespace(), &messages); err != nil {
    			return nil, err
    		}
    	}
    	if minor <= 20 {
    		// VERIFY_CERTIFICATE_AT_CLIENT and ENABLE_AUTO_SNI
    		if err := checkDestinationRuleTLS(cli, &messages); err != nil {
    			return nil, err
    		}
    		// ENABLE_EXTERNAL_NAME_ALIAS
    		if err := checkExternalNameAlias(cli, &messages); err != nil {
    			return nil, err
    		}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. cmd/common-main.go

    		if value := env.Get(config.EnvMinIOPrometheusAuthToken, ""); value != "" {
    			os.Setenv("CONSOLE_PROMETHEUS_AUTH_TOKEN", value)
    		}
    	}
    	// Enable if LDAP is enabled.
    	if globalIAMSys.LDAPConfig.Enabled() {
    		os.Setenv("CONSOLE_LDAP_ENABLED", config.EnableOn)
    	}
    	// Handle animation in welcome page
    	if value := env.Get(config.EnvBrowserLoginAnimation, "on"); value != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
Back to top