Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 70 for Reconfig (1.02 sec)

  1. internal/logger/config.go

    // NewConfig - initialize new logger config.
    func NewConfig() Config {
    	cfg := Config{
    		// Console logging is on by default
    		Console: Console{
    			Enabled: true,
    		},
    		HTTP:         make(map[string]http.Config),
    		AuditWebhook: make(map[string]http.Config),
    		AuditKafka:   make(map[string]kafka.Config),
    	}
    
    	return cfg
    }
    
    func getCfgVal(envName, key, defaultValue string) string {
    	if key != config.Default {
    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)
  2. internal/event/target/kafka.go

    	config.Net.TLS.Config.ClientAuth = args.TLS.ClientAuth
    	config.Net.TLS.Config.RootCAs = args.TLS.RootCAs
    
    	// These settings are needed to ensure that kafka client doesn't hang on brokers
    	// refer https://github.com/IBM/sarama/issues/765#issuecomment-254333355
    	config.Producer.Retry.Max = 2
    	config.Producer.Retry.Backoff = (1 * time.Second)
    	config.Producer.Return.Successes = true
    	config.Producer.Return.Errors = true
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  3. cmd/object-multipart-handlers.go

    	objectlock "github.com/minio/minio/internal/bucket/object/lock"
    	"github.com/minio/minio/internal/bucket/replication"
    	"github.com/minio/minio/internal/config/cache"
    	"github.com/minio/minio/internal/config/dns"
    	"github.com/minio/minio/internal/config/storageclass"
    	"github.com/minio/minio/internal/crypto"
    	"github.com/minio/minio/internal/etag"
    	"github.com/minio/minio/internal/event"
    	"github.com/minio/minio/internal/fips"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  4. internal/logger/target/kafka/kafka.go

    	sconfig.Net.SASL.Enable = h.kconfig.SASL.Enable
    
    	tlsConfig, err := saramatls.NewConfig(h.kconfig.TLS.ClientTLSCert, h.kconfig.TLS.ClientTLSKey)
    	if err != nil {
    		return err
    	}
    
    	sconfig.Net.TLS.Enable = h.kconfig.TLS.Enable
    	sconfig.Net.TLS.Config = tlsConfig
    	sconfig.Net.TLS.Config.InsecureSkipVerify = h.kconfig.TLS.SkipVerify
    	sconfig.Net.TLS.Config.ClientAuth = h.kconfig.TLS.ClientAuth
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
  5. cmd/tier.go

    		MaxParity:   true,
    	}
    
    	return pReader, opts, nil
    }
    
    // Reload updates config by reloading remote tier config from config store.
    func (config *TierConfigMgr) Reload(ctx context.Context, objAPI ObjectLayer) error {
    	newConfig, err := loadTierConfig(ctx, objAPI)
    
    	config.Lock()
    	defer config.Unlock()
    
    	switch err {
    	case nil:
    		break
    	case errConfigNotFound: // nothing to reload
    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)
  6. cmd/config-current.go

    		config.SiteSubSys:           config.SiteHelp,
    		config.RegionSubSys:         config.RegionHelp,
    		config.APISubSys:            api.Help,
    		config.StorageClassSubSys:   storageclass.Help,
    		config.EtcdSubSys:           etcd.Help,
    		config.CompressionSubSys:    compress.Help,
    		config.HealSubSys:           heal.Help,
    		config.BatchSubSys:          batch.Help,
    		config.ScannerSubSys:        scanner.Help,
    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)
  7. cmd/admin-bucket-handlers.go

    // There are some caveats regarding the following:
    // 1. object lock config - object lock should have been specified at time of bucket creation. Only default retention settings are imported here.
    // 2. Replication config - is omitted from import as remote target credentials are not available from exported data for security reasons.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  8. cmd/admin-handlers-config-kv.go

    			case config.PolicyPluginSubSys:
    				off = !polplugin.Enabled(item.Config)
    			case config.IdentityOpenIDSubSys:
    				off = !openid.Enabled(item.Config)
    			case config.IdentityLDAPSubSys:
    				off = !xldap.Enabled(item.Config)
    			case config.IdentityTLSSubSys:
    				off = !globalIAMSys.STSTLSConfig.Enabled
    			case config.IdentityPluginSubSys:
    				off = !idplugin.Enabled(item.Config)
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  9. internal/config/api/api.go

    )
    
    // DefaultKVS - default storage class config
    var (
    	DefaultKVS = config.KVS{
    		config.KV{
    			Key:   apiRequestsMax,
    			Value: "0",
    		},
    		config.KV{
    			Key:   apiRequestsDeadline,
    			Value: "10s",
    		},
    		config.KV{
    			Key:   apiClusterDeadline,
    			Value: "10s",
    		},
    		config.KV{
    			Key:   apiCorsAllowOrigin,
    			Value: "*",
    		},
    		config.KV{
    			Key:   apiRemoteTransportDeadline,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  10. internal/config/storageclass/storage-class.go

    	}
    }
    
    // LookupConfig - lookup storage class config and override with valid environment settings if any.
    func LookupConfig(kvs config.KVS, setDriveCount int) (cfg Config, err error) {
    	cfg = Config{}
    
    	deprecatedKeys := []string{
    		"dma",
    	}
    
    	if err = config.CheckValidKeys(config.StorageClassSubSys, kvs, DefaultKVS, deprecatedKeys...); err != nil {
    		return Config{}, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (1)
Back to top