Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 491 for enable (0.16 sec)

  1. internal/config/callhome/callhome.go

    type Config struct {
    	// Flag indicating whether callhome is enabled.
    	Enable bool `json:"enable"`
    
    	// The interval between callhome cycles
    	Frequency time.Duration `json:"frequency"`
    }
    
    var configLock sync.RWMutex
    
    // Enabled - indicates if callhome is enabled or not
    func (c *Config) Enabled() bool {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	return c.Enable
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. internal/logger/legacy.go

    func SetLoggerHTTPAudit(scfg config.Config, k string, args http.Config) {
    	if !args.Enabled {
    		// Do not enable audit targets, if not enabled
    		return
    	}
    	scfg[config.AuditWebhookSubSys][k] = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   Endpoint,
    			Value: args.Endpoint.String(),
    		},
    		config.KV{
    			Key:   AuthToken,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 03 09:47:07 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh

          --disable-libmpx \
          --enable-libsanitizer \
          --disable-libunwind-exceptions \
          --disable-libunwind-exceptions \
          --disable-lto \
          --disable-multilib \
          --enable-__cxa_atexit \
          --enable-gnu-indirect-function \
          --enable-gnu-unique-object \
          --enable-initfini-array \
          --enable-languages="c,c++" \
          --enable-linker-build-id \
          --enable-plugin \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. common/config/.yamllint.yml

      brackets: disable
      colons: enable
      commas: disable
      comments: disable
      comments-indentation: disable
      document-end: disable
      document-start: disable
      empty-lines: disable
      empty-values: disable
      hyphens: enable
      indentation: disable
      key-duplicates: enable
      key-ordering: disable
      line-length: disable
      new-line-at-end-of-file: disable
      new-lines: enable
      octal-values: disable
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 30 23:53:31 UTC 2020
    - 863 bytes
    - Viewed (0)
  5. internal/event/target/nsq.go

    	EnvNSQQueueLimit    = "MINIO_NOTIFY_NSQ_QUEUE_LIMIT"
    )
    
    // NSQArgs - NSQ target arguments.
    type NSQArgs struct {
    	Enable      bool      `json:"enable"`
    	NSQDAddress xnet.Host `json:"nsqdAddress"`
    	Topic       string    `json:"topic"`
    	TLS         struct {
    		Enable     bool `json:"enable"`
    		SkipVerify bool `json:"skipVerify"`
    	} `json:"tls"`
    	QueueDir   string `json:"queueDir"`
    	QueueLimit uint64 `json:"queueLimit"`
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. cmd/config-versions.go

    )
    
    // FileLogger is introduced to workaround the dependency about logrus
    type FileLogger struct {
    	Enable   bool   `json:"enable"`
    	Filename string `json:"filename"`
    }
    
    // ConsoleLogger is introduced to workaround the dependency about logrus
    type ConsoleLogger struct {
    	Enable bool `json:"enable"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. ci/official/containers/ml_build/builder.devtoolset/build_devtoolset.sh

          --disable-lto \
          --disable-multilib \
          --enable-__cxa_atexit \
          --enable-gnu-indirect-function \
          --enable-gnu-unique-object \
          --enable-initfini-array \
          --enable-languages="c,c++" \
          --enable-linker-build-id \
          --enable-plugin \
          --enable-shared \
          --enable-threads=posix \
          --with-default-libstdcxx-abi=${LIBSTDCXX_ABI} \
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Sep 24 20:45:58 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. internal/config/callhome/help.go

    	}
    
    	// HelpCallhome - provides help for callhome config
    	HelpCallhome = config.HelpKVS{
    		config.HelpKV{
    			Key:         Enable,
    			Type:        "on|off",
    			Description: "set to enable callhome" + defaultHelpPostfix(Enable),
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         Frequency,
    			Type:        "duration",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 06 23:14:52 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  9. internal/event/target/nsq_test.go

    func TestNSQArgs_Validate(t *testing.T) {
    	type fields struct {
    		Enable      bool
    		NSQDAddress xnet.Host
    		Topic       string
    		TLS         struct {
    			Enable     bool
    			SkipVerify bool
    		}
    	}
    	tests := []struct {
    		name    string
    		fields  fields
    		wantErr bool
    	}{
    		{
    			name: "test1_missing_topic",
    			fields: fields{
    				Enable: true,
    				NSQDAddress: xnet.Host{
    					Name:      "127.0.0.1",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. internal/config/lambda/parse.go

    		enableEnv := target.EnvWebhookEnable
    		if k != config.Default {
    			enableEnv = enableEnv + config.Default + k
    		}
    		enabled, err := config.ParseBool(env.Get(enableEnv, kv.Get(config.Enable)))
    		if err != nil {
    			return nil, err
    		}
    		if !enabled {
    			continue
    		}
    		urlEnv := target.EnvWebhookEndpoint
    		if k != config.Default {
    			urlEnv = urlEnv + config.Default + k
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
Back to top