Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cfg (0.11 sec)

  1. internal/config/storageclass/legacy.go

    func SetStorageClass(s config.Config, cfg Config) {
    	if len(cfg.Standard.String()) == 0 && len(cfg.RRS.String()) == 0 {
    		// Do not enable storage-class if no settings found.
    		return
    	}
    	s[config.StorageClassSubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   ClassStandard,
    			Value: cfg.Standard.String(),
    		},
    		config.KV{
    			Key:   ClassRRS,
    			Value: cfg.RRS.String(),
    		},
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  2. internal/config/notify/legacy.go

    			Value: cfg.DSN,
    		},
    		config.KV{
    			Key:   target.MySQLTable,
    			Value: cfg.Table,
    		},
    		config.KV{
    			Key:   target.MySQLHost,
    			Value: cfg.Host.String(),
    		},
    		config.KV{
    			Key:   target.MySQLPort,
    			Value: cfg.Port,
    		},
    		config.KV{
    			Key:   target.MySQLUsername,
    			Value: cfg.User,
    		},
    		config.KV{
    			Key:   target.MySQLPassword,
    			Value: cfg.Password,
    		},
    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)
  3. internal/config/compress/legacy.go

    func SetCompressionConfig(s config.Config, cfg Config) {
    	if !cfg.Enabled {
    		// No need to save disabled settings in new config.
    		return
    	}
    	s[config.CompressionSubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   config.Enable,
    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   Extensions,
    			Value: strings.Join(cfg.Extensions, config.ValueSeparator),
    		},
    		config.KV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 1.8K bytes
    - Viewed (0)
Back to top