Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 245 for ruleset (0.18 sec)

  1. cmd/bucket-targets.go

    						offlineDuration: offline,
    						lastHCAt:        time.Now(),
    						latency:         l,
    					}
    				}
    				cancel()
    				sys.hMutex.Lock()
    				sys.hc = m
    				sys.hMutex.Unlock()
    			}
    			hcTimer.Reset(defaultHealthCheckDuration)
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    // periodically rebuild the healthCheck map from list of targets to clear
    // out stale endpoints
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/update.go

    	} else {
    		return nil, nil, fmt.Errorf("unsupported protocol scheme: %s", u.Scheme)
    	}
    	defer xhttp.DrainBody(reader)
    
    	b := bytebufferpool.Get()
    	bc := bytebufferpool.Get()
    	defer func() {
    		b.Reset()
    		bc.Reset()
    
    		bytebufferpool.Put(b)
    		bytebufferpool.Put(bc)
    	}()
    
    	w, err := zstd.NewWriter(bc)
    	if err != nil {
    		return nil, nil, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    			if r == nil {
    				onlineDisks[i] = OfflineDisk
    			}
    		}
    		// Track total bytes read from disk and written to the client.
    		totalBytesRead += partLength
    		// partOffset will be valid only for the first part, hence reset it to 0 for
    		// the remaining parts.
    		partOffset = 0
    	} // End of read all parts loop.
    	// Return success.
    	return nil
    }
    
    // GetObjectInfo - reads object metadata and replies back ObjectInfo.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. internal/jwt/parser.go

    	pool     *sync.Pool
    	borrowed []hash.Hash
    }
    
    // Borrow a single hasher.
    func (h *HashBorrower) Borrow() hash.Hash {
    	hasher := h.pool.Get().(hash.Hash)
    	h.borrowed = append(h.borrowed, hasher)
    	hasher.Reset()
    	return hasher
    }
    
    // ReturnAll will return all borrowed hashes.
    func (h *HashBorrower) ReturnAll() {
    	for _, hasher := range h.borrowed {
    		h.pool.Put(hasher)
    	}
    	h.borrowed = nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  5. internal/config/identity/openid/openid.go

    	res := madmin.OpenIDSettings{}
    	if !r.Enabled {
    		return res
    	}
    	h := sha256.New()
    	for arn, provCfg := range r.arnProviderCfgsMap {
    		hashedSecret := ""
    		{
    			h.Reset()
    			h.Write([]byte(provCfg.ClientSecret))
    			hashedSecret = base64.RawURLEncoding.EncodeToString(h.Sum(nil))
    		}
    		if arn != DummyRoleARN {
    			if res.Roles == nil {
    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)
  6. docs/config/README.md

    notify_redis          publish bucket notifications to Redis datastores
    ```
    
    ### Accessing configuration
    
    All configuration changes can be made using [`mc admin config` get/set/reset/export/import commands](https://github.com/minio/mc/blob/master/docs/minio-admin-complete-guide.md).
    
    #### List all config keys available
    
    ```
    ~ mc admin config set myminio/
    ```
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  7. cmd/erasure-server-pool.go

    		return nil, err
    	}
    
    	// This is a special call attempted first to check for SOS-API calls.
    	gr, err = veeamSOSAPIGetObject(ctx, bucket, object, rs, opts)
    	if err == nil {
    		return gr, nil
    	}
    
    	// reset any error to 'nil' and any reader to be 'nil'
    	gr = nil
    	err = nil
    
    	object = encodeDirObject(object)
    
    	if z.SinglePool() {
    		return z.serverPools[0].GetObjectNInfo(ctx, bucket, object, rs, h, opts)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  8. cmd/object_api_suite_test.go

    	var err error
    	GlobalKMS, err = kms.Parse("my-minio-key:5lF+0pJM0OWwlQrvK2S/I7W9mO4a6rJJI7wzj7v09cw=")
    	if err != nil {
    		t.Fatal(err)
    	}
    }
    
    func resetCompressEncryption() {
    	// Reset...
    	globalCompressConfigMu.Lock()
    	globalCompressConfig.Enabled = false
    	globalCompressConfig.AllowEncrypted = false
    	globalCompressConfigMu.Unlock()
    	globalAutoEncryption = false
    	GlobalKMS = nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    	}
    
    	if s3Error := authorizeRequest(ctx, r, policy.GetObjectAction); s3Error != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    		return
    	}
    
    	if !proxy.Proxy { // apply lifecycle rules only for local requests
    		// Automatically remove the object/version if an expiry lifecycle rule can be applied
    		if lc, err := globalLifecycleSys.Get(bucket); err == nil {
    			rcfg, err := globalBucketObjectLockSys.Get(bucket)
    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)
  10. cmd/iam.go

    					sys.updateGroupMembershipsForLDAP(ctx)
    				}
    				if sys.OpenIDConfig.ProviderEnabled() {
    					sys.purgeExpiredCredentialsForExternalSSO(ctx)
    				}
    			}
    
    			timer.Reset(waitInterval())
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    func (sys *IAMSys) validateAndAddRolePolicyMappings(ctx context.Context, m map[arn.ARN]string) {
    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)
Back to top