Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 133 for enabled (0.15 sec)

  1. internal/logger/config.go

    		if err != nil {
    			return cfg, err
    		}
    
    		kafkaArgs := kafka.Config{
    			Enabled: enabled,
    			Brokers: brokers,
    			Topic:   getCfgVal(EnvKafkaTopic, k, kv.Get(KafkaTopic)),
    			Version: getCfgVal(EnvKafkaVersion, k, kv.Get(KafkaVersion)),
    		}
    
    		kafkaArgs.TLS.Enable = getCfgVal(EnvKafkaTLS, k, kv.Get(KafkaTLS)) == config.EnableOn
    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/bucket/lifecycle/rule.go

    package lifecycle
    
    import (
    	"bytes"
    	"encoding/xml"
    )
    
    // Status represents lifecycle configuration status
    type Status string
    
    // Supported status types
    const (
    	Enabled  Status = "Enabled"
    	Disabled Status = "Disabled"
    )
    
    // Rule - a rule for lifecycle configuration.
    type Rule struct {
    	XMLName             xml.Name            `xml:"Rule"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. cmd/data-scanner_test.go

    			{
    				ID:     "max-versions",
    				Status: "Enabled",
    				NoncurrentVersionExpiration: lifecycle.NoncurrentVersionExpiration{
    					NewerNoncurrentVersions: 1,
    				},
    			},
    		},
    	}
    	lcXML, err := xml.Marshal(lc)
    	if err != nil {
    		t.Fatalf("Failed to marshal lifecycle config: %v", err)
    	}
    	vcfg := versioning.Versioning{
    		Status: "Enabled",
    	}
    	vcfgXML, err := xml.Marshal(vcfg)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. internal/logger/targets.go

    	Type() types.TargetType
    }
    
    var (
    
    	// systemTargets is the set of enabled loggers.
    	// Must be immutable at all times.
    	// Can be swapped to another while holding swapMu
    	systemTargets  = []Target{}
    	swapSystemMuRW sync.RWMutex
    
    	// auditTargets is the list of enabled audit loggers
    	// Must be immutable at all times.
    	// Can be swapped to another while holding swapMu
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 22:56:14 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. internal/config/browser/browser.go

    // IsHSTSIncludeSubdomains - is HSTS 'includeSubdomains' directive enabled
    func (browseCfg *Config) IsHSTSIncludeSubdomains() string {
    	configLock.RLock()
    	defer configLock.RUnlock()
    	if browseCfg.HSTSSeconds > 0 && browseCfg.HSTSIncludeSubdomains {
    		return config.EnableOn
    	}
    	return config.EnableOff
    }
    
    // IsHSTSPreload - is HSTS 'preload' directive enabled
    func (browseCfg *Config) IsHSTSPreload() string {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 01:10:30 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  6. cmd/globals.go

    	// Common lock for various subsystems performing the leader tasks
    	globalLeaderLock *sharedLock
    
    	// Auto-Encryption, if enabled, turns any non-SSE-C request
    	// into an SSE-S3 request. If enabled a valid, non-empty KMS
    	// configuration must be present.
    	globalAutoEncryption bool
    
    	// Is compression enabled?
    	globalCompressConfigMu sync.Mutex
    	globalCompressConfig   compress.Config
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  7. cmd/iam.go

    		NewHTTPTransport(), xhttp.DrainBody, globalSite.Region)
    	if err != nil {
    		iamLogIf(ctx, fmt.Errorf("Unable to initialize OpenID: %w", err), logger.WarningKind)
    	}
    
    	// Initialize if LDAP is enabled
    	ldapConfig, err := xldap.Lookup(s, globalRootCAs)
    	if err != nil {
    		iamLogIf(ctx, fmt.Errorf("Unable to load LDAP configuration (LDAP configuration will be disabled!): %w", err), logger.WarningKind)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  8. cmd/api-errors.go

    		Code:           "RemoteTargetNotVersionedError",
    		Description:    "The remote target does not have versioning enabled",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrReplicationSourceNotVersionedError: {
    		Code:           "ReplicationSourceNotVersionedError",
    		Description:    "The replication source does not have versioning enabled",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrReplicationNeedsVersioningError: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  9. cmd/object-api-errors.go

    }
    
    // BucketRemoteTargetNotVersioned remote target does not have versioning enabled.
    type BucketRemoteTargetNotVersioned GenericError
    
    func (e BucketRemoteTargetNotVersioned) Error() string {
    	return "Remote target does not have versioning enabled: " + e.Bucket
    }
    
    // BucketReplicationSourceNotVersioned replication source does not have versioning enabled.
    type BucketReplicationSourceNotVersioned GenericError
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  10. cmd/object-handlers.go

    	// destination are same objects. Apply this restriction also when
    	// metadataOnly is true indicating that we are not overwriting the object.
    	// if encryption is enabled we do not need explicit "REPLACE" metadata to
    	// be enabled as well - this is to allow for key-rotation.
    	if !isDirectiveReplace(r.Header.Get(xhttp.AmzMetadataDirective)) && !isDirectiveReplace(r.Header.Get(xhttp.AmzTagDirective)) &&
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
Back to top