Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 170 for config (0.56 sec)

  1. internal/bucket/replication/replication_test.go

    				t.Fatalf("%d: Expected %v during parsing but got %v", i+1, tc.expectedValidationErr, err)
    			}
    		})
    	}
    }
    
    func TestReplicate(t *testing.T) {
    	cfgs := []Config{
    		{ // Config0 - Replication config has no filters, all replication enabled
    			Rules: []Rule{
    				{
    					Status:                  Enabled,
    					Priority:                3,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/settings.md

        {!> ../../../docs_src/settings/app03_an/config_pv1.py!}
        ```
    
        !!! tip
            The `Config` class is used just for Pydantic configuration. You can read more at <a href="https://docs.pydantic.dev/1.10/usage/model_config/" class="external-link" target="_blank">Pydantic Model Config</a>.
    
    !!! info
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  3. cmd/admin-router.go

    		}
    
    		// Config import/export bulk operations
    		if enableConfigOps {
    			// Get config
    			adminRouter.Methods(http.MethodGet).Path(adminVersion + "/config").HandlerFunc(adminMiddleware(adminAPI.GetConfigHandler))
    			// Set config
    			adminRouter.Methods(http.MethodPut).Path(adminVersion + "/config").HandlerFunc(adminMiddleware(adminAPI.SetConfigHandler))
    		}
    
    		// -- IAM APIs --
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  4. internal/config/notify/parse.go

    var (
    	DefaultNotificationKVS = map[string]config.KVS{
    		config.NotifyAMQPSubSys:     DefaultAMQPKVS,
    		config.NotifyKafkaSubSys:    DefaultKafkaKVS,
    		config.NotifyMQTTSubSys:     DefaultMQTTKVS,
    		config.NotifyMySQLSubSys:    DefaultMySQLKVS,
    		config.NotifyNATSSubSys:     DefaultNATSKVS,
    		config.NotifyNSQSubSys:      DefaultNSQKVS,
    		config.NotifyPostgresSubSys: DefaultPostgresKVS,
    		config.NotifyRedisSubSys:    DefaultRedisKVS,
    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. internal/config/notify/help.go

    		},
    		config.HelpKV{
    			Key:         target.AmqpQueueLimit,
    			Description: queueLimitComment,
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         config.Comment,
    			Description: config.DefaultComment,
    			Optional:    true,
    			Type:        "sentence",
    		},
    	}
    
    	HelpKafka = config.HelpKVS{
    		config.HelpKV{
    			Key:         target.KafkaBrokers,
    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)
  6. cmd/tier.go

    		// timestamp of last successful refresh
    		config.lastRefreshedAt = UTCNow()
    		return nil
    	default:
    		return err
    	}
    
    	// Reset drivercache built using current config
    	for k := range config.drivercache {
    		delete(config.drivercache, k)
    	}
    	// Remove existing tier configs
    	for k := range config.Tiers {
    		delete(config.Tiers, k)
    	}
    	// Copy over the new tier configs
    	for tier, cfg := range newConfig.Tiers {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  7. helm-releases/minio-5.1.0.tgz

    failed command. {{- if .Values.configPathmc }} MC_CONFIG_DIR="{{ .Values.configPathmc }}" MC="/usr/bin/mc --insecure --config-dir ${MC_CONFIG_DIR}" {{- else }} MC="/usr/bin/mc --insecure" {{- end }} # connectToMinio # Use a check-sleep-check loop to wait for MinIO service to be available connectToMinio() { SCHEME=$1 ATTEMPTS=0 LIMIT=29 # Allow 30 attempts set -e # fail if we can't read the keys. ACCESS=$(cat /config/rootUser) SECRET=$(cat /config/rootPassword) set +e # The connections to minio are...
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 03 18:49:37 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  8. internal/config/notify/legacy.go

    func SetNotifyES(s config.Config, esName string, cfg target.ElasticsearchArgs) error {
    	if !cfg.Enable {
    		return nil
    	}
    
    	if err := cfg.Validate(); err != nil {
    		return err
    	}
    
    	s[config.NotifyESSubSys][esName] = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   target.ElasticFormat,
    			Value: cfg.Format,
    		},
    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)
  9. cmd/endpoint-ellipses.go

    		patterns, perr := ellipses.FindEllipsesPatterns(arg)
    		if perr != nil {
    			return endpointSet{}, config.ErrInvalidErasureEndpoints(nil).Msg(perr.Error())
    		}
    		argPatterns[i] = patterns
    	}
    
    	ep.setIndexes, err = getSetIndexes(args, getTotalSizes(argPatterns), setDriveCount, argPatterns)
    	if err != nil {
    		return endpointSet{}, config.ErrInvalidErasureEndpoints(nil).Msg(err.Error())
    	}
    
    	ep.argPatterns = argPatterns
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/settings.md

    ### 从 `.env` 文件中读取设置
    
    然后,您可以使用以下方式更新您的 `config.py`:
    
    ```Python hl_lines="9-10"
    {!../../../docs_src/settings/app03/config.py!}
    ```
    
    在这里,我们在 Pydantic 的 `Settings` 类中创建了一个名为 `Config` 的类,并将 `env_file` 设置为我们想要使用的 dotenv 文件的文件名。
    
    !!! tip
        `Config` 类仅用于 Pydantic 配置。您可以在<a href="https://docs.pydantic.dev/latest/api/config/" class="external-link" target="_blank">Pydantic Model Config</a>中阅读更多相关信息。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 13.9K bytes
    - Viewed (0)
Back to top