Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for detection (0.18 sec)

  1. cmd/leak-detect_test.go

    	"strings"
    	"time"
    )
    
    const (
    	// deadline (in seconds) up to which the go routine leak detection has to be retried.
    	leakDetectDeadline = 5
    	// pause time (in milliseconds) between each snapshot at the end of the go routine leak detection.
    	leakDetectPauseTimeMs = 50
    )
    
    // LeakDetect - type with  methods for go routine leak detection.
    type LeakDetect struct {
    	relevantRoutines map[string]bool
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  2. cmd/auth-handler_test.go

    		}
    	}
    }
    
    // TestIsRequestPresignedSignatureV4 - Test validates the logic for presign signature version v4 detection.
    func TestIsRequestPresignedSignatureV4(t *testing.T) {
    	testCases := []struct {
    		inputQueryKey   string
    		inputQueryValue string
    		expectedResult  bool
    	}{
    		// Test case - 1.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. cmd/data-scanner_test.go

    		ilm       lifecycle.Lifecycle
    		retention lock.Retention
    		obj       ObjectInfo
    		want      lifecycle.Action
    	}{
    		{
    			// with object locking
    			ilm:       *deleteAllLc,
    			retention: lock.Retention{LockEnabled: true},
    			obj:       obj,
    			want:      lifecycle.NoneAction,
    		},
    		{
    			// without object locking
    			ilm:       *deleteAllLc,
    			retention: lock.Retention{},
    			obj:       obj,
    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. cmd/tier-journal.go

    func (jd *tierDiskJournal) ReadOnlyPath() string {
    	return filepath.Join(jd.diskPath, minioMetaBucket, "ilm", "deletion-journal.ro.bin")
    }
    
    func (jd *tierDiskJournal) JournalPath() string {
    	return filepath.Join(jd.diskPath, minioMetaBucket, "ilm", "deletion-journal.bin")
    }
    
    func (jd *tierDiskJournal) WalkEntries(ctx context.Context, fn walkFn) {
    	if err := jd.rotate(); err != nil {
    Go
    - Registered: Sun Feb 25 19:28:16 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  5. helm/minio/values.yaml

      tls: []
      #  - secretName: chart-example-tls
      #    hosts:
      #      - chart-example.local
    
    ## Node labels for pod assignment
    ## Ref: https://kubernetes.io/docs/user-guide/node-selection/
    ##
    nodeSelector: {}
    tolerations: []
    affinity: {}
    topologySpreadConstraints: []
    
    ## Add stateful containers to have security context, if enabled MinIO will run as this
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    	if !opts.NoAuditLog {
    		auditObjectErasureSet(ctx, object, &er)
    	}
    
    	var lc *lifecycle.Lifecycle
    	var rcfg lock.Retention
    	var replcfg *replication.Config
    	if opts.Expiration.Expire {
    		// Check if the current bucket has a configured lifecycle policy
    		lc, err = globalLifecycleSys.Get(bucket)
    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)
  7. cmd/object-handlers.go

    		return
    	}
    
    	retention := objectlock.GetObjectRetentionMeta(objInfo.UserDefined)
    	if !retention.Mode.Valid() {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrNoSuchObjectLockConfiguration), r.URL)
    		return
    	}
    
    	writeSuccessResponseXML(w, encodeResponse(retention))
    	// Notify object retention accessed via a GET request.
    	sendEvent(eventArgs{
    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)
  8. cmd/auth-handler.go

    	conditions["object-lock-mode"] = []string{string(retMode)}
    	conditions["object-lock-retain-until-date"] = []string{retDate.UTC().Format(time.RFC3339)}
    	if retDays > 0 {
    		conditions["object-lock-remaining-retention-days"] = []string{strconv.Itoa(retDays)}
    	}
    	if retMode == objectlock.RetGovernance && byPassSet {
    		byPassSet = globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool-rebalance.go

    	ctx = logger.SetReqInfo(ctx, &logger.ReqInfo{})
    
    	var vc *versioning.Versioning
    	var lc *lifecycle.Lifecycle
    	var lr objectlock.Retention
    	var rcfg *replication.Config
    	if bucket != minioMetaBucket {
    		vc, err = globalBucketVersioningSys.Get(bucket)
    		if err != nil {
    			return err
    		}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
  10. cmd/iam.go

    			for i := 1; i < len(origKeys); i++ {
    				delete(policyMap, origKeys[i])
    
    				// Remove the mapping from storage by setting the policy to "".
    				if entityKeysInStorage.Contains(origKeys[i]) {
    					// Ignore any deletion error.
    					_, _ = sys.PolicyDBSet(ctx, origKeys[i], "", stsUser, isGroup)
    				}
    			}
    		}
    
    		// Replacing origKeys[0] with normKey in the policyMap
    
    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