Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for implicit (0.18 sec)

  1. cmd/auth-handler.go

    		if err != nil || len(contentSHA256) == 0 {
    			return ErrContentSHA256Mismatch
    		}
    	}
    
    	// Verify 'Content-Md5' and/or 'X-Amz-Content-Sha256' if present.
    	// The verification happens implicit during reading.
    	reader, err := hash.NewReader(ctx, r.Body, -1, clientETag.String(), hex.EncodeToString(contentSHA256), -1)
    	if err != nil {
    		return toAPIErrorCode(ctx, err)
    	}
    	r.Body = reader
    	return ErrNone
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  2. cmd/config-current.go

    				key, subSys)
    		}
    		h = config.HelpKVS{value}
    	}
    
    	help := config.HelpKVS{}
    
    	// Only for multiple targets, make sure
    	// to list the ENV, for regular k/v EnableKey is
    	// implicit, for ENVs we cannot make it implicit.
    	if subSysHelp.MultipleTargets {
    		key := madmin.EnableKey
    		if envOnly {
    			key = config.EnvPrefix + strings.ToTitle(subSys) + config.EnvWordDelimiter + strings.ToTitle(madmin.EnableKey)
    		}
    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)
  3. internal/config/identity/openid/openid.go

    	for _, kvsrc := range kvsrcs {
    		// skip returning default config values.
    		if kvsrc.Src == config.ValueSourceDef {
    			if kvsrc.Key != madmin.EnableKey {
    				continue
    			}
    			// for EnableKey we set an explicit on/off from live configuration
    			// if it is present.
    			if _, ok := r.ProviderCfgs[cfgName]; !ok {
    				// No live config is present
    				continue
    			}
    			if r.Enabled {
    				kvsrc.Value = "on"
    			} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  4. cmd/peer-s3-client.go

    		// buckets here while listing buckets. As part of regular
    		// globalBucketMetadataSys.Init() call would get a valid
    		// buckets only and not the quourum lost ones like this, so
    		// explicit call
    		for bktName, count := range bucketsMap {
    			if count < quorum {
    				// Queue a bucket heal task
    				globalMRFState.addPartialOp(partialOperation{
    					bucket: bktName,
    					queued: time.Now(),
    				})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  5. cmd/common-main.go

    		if err != nil {
    			logger.Fatal(err, "Unable to initialize a connection to KES as specified by the shell environment")
    		}
    		// Try to generate a data encryption key. Only try to create key if this fails.
    		// This implicitly checks that we can communicate to KES.
    		// We don't treat a policy error as failure condition since MinIO may not have the permission
    		// to create keys - just to generate/decrypt data encryption keys.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  6. cmd/object-api-utils.go

    		return false
    	}
    
    	// Did not match any inclusion filters, exclude from compression.
    	return true
    }
    
    // Utility which returns if a string is present in the list.
    // Comparison is case insensitive. Explicit short-circuit if
    // the list contains the wildcard "*".
    func hasStringSuffixInSlice(str string, list []string) bool {
    	str = strings.ToLower(str)
    	for _, v := range list {
    		if v == "*" {
    			return true
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  7. internal/config/config.go

    	}
    
    	_, ok := kvs.Lookup(Enable)
    	// Check if state is required
    	_, enableRequired := defaultKVS[subSys].Lookup(Enable)
    	if !ok && enableRequired {
    		// implicit state "on" if not specified.
    		kvs.Set(Enable, EnableOn)
    	}
    
    	var currKVS KVS
    	ck, ok := c[subSys][tgt]
    	if !ok {
    		currKVS = defaultKVS[subSys].Clone()
    	} else {
    		currKVS = ck.Clone()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 02 05:11:03 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users_test.go

    	if err != nil {
    		c.Fatalf("Unable to set policy: %v", err)
    	}
    
    	admClnt := s.getAdminClient(c, accessKey, secretKey, "")
    
    	// 3.3 check user does not have explicit permissions to create service account.
    	c.mustNotCreateSvcAccount(ctx, accessKey, admClnt)
    
    	// 4. Verify the policy appears in listing
    	ps, err := s.adm.ListCannedPolicies(ctx)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  9. internal/kms/kes.go

    // credentials.
    type Config struct {
    	// Endpoints contains a list of KMS server
    	// HTTP endpoints.
    	Endpoints []string
    
    	// DefaultKeyID is the key ID used when
    	// no explicit key ID is specified for
    	// a cryptographic operation.
    	DefaultKeyID string
    
    	// APIKey is an credential provided by env. var.
    	// to authenticate to a KES server. Either an
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  10. docs/bucket/versioning/README.md

    - Objects matching these prefixes will also not leave `null` delete markers, dramatically reduces namespace pollution while keeping the benefits of replication.
    - Users with explicit permissions or the root credential can configure the versioning state of any bucket.
    
    ## Examples of enabling bucket versioning using MinIO Java SDK
    
    ### EnableVersioning() API
    
    ```
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 04 21:43:52 GMT 2023
    - 11.9K bytes
    - Viewed (1)
Back to top