Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Parent (0.3 sec)

  1. cmd/common-main.go

    // Cancellation/timeouts are removed, so parent cancellations/timeout will
    // not propagate from parent.
    // Context values are preserved.
    // This can be used for goroutines that live beyond the parent context.
    func bgContext(parent context.Context) context.Context {
    	return bgCtx{parent: parent}
    }
    
    type bgCtx struct {
    	parent context.Context
    }
    
    func (a bgCtx) Done() <-chan struct{} {
    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)
  2. cmd/erasure-server-pool.go

    		AskDisks:    globalAPIConfig.getListQuorum(),
    		Versioned:   true,
    	}
    
    	// Shortcut for APN/1.0 Veeam/1.0 Backup/10.0
    	// It requests unique blocks with a specific prefix.
    	// We skip scanning the parent directory for
    	// more objects matching the prefix.
    	ri := logger.GetReqInfo(ctx)
    	if ri != nil && strings.Contains(ri.UserAgent, `1.0 Veeam/1.0 Backup`) && strings.HasSuffix(prefix, ".blk") {
    		opts.BaseDir = prefix
    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)
  3. cmd/site-replication.go

    		if creds.IsTemp() && !creds.IsExpired() {
    			var parentPolicy string
    			u, err := globalIAMSys.GetUserInfo(ctx, creds.ParentUser)
    			if err != nil {
    				// Parent may be "virtual" (for ldap, oidc, client tls auth,
    				// custom auth plugin), so in such cases we apply no parent
    				// policy. The session token will contain info about policy to
    				// be applied.
    				if !errors.Is(err, errNoSuchUser) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  4. docs/metrics/v3.md

    ## Metrics Request Handling
    
    Each endpoint below can be queried at different intervals as needed via a scrape configuration in Prometheus or a compatible metrics collection tool.
    
    For ease of configuration, each (non-empty) parent of the path serves all metric endpoints that are at descendant paths. For example, to query all system metrics one needs to only scrape `/minio/metrics/v3/system/`.
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 28.5K bytes
    - Viewed (0)
  5. cmd/data-scanner.go

    			if !into.Compacted {
    				var foundAny bool
    				parent := thisHash
    				for parent != hashPath(f.updateCache.Info.Name) {
    					e := f.updateCache.find(parent.Key())
    					if e == nil || e.Compacted {
    						foundAny = true
    						break
    					}
    					next := f.updateCache.searchParent(parent)
    					if next == nil {
    						foundAny = true
    						break
    					}
    					parent = *next
    				}
    				if !foundAny {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  6. cmd/sts-handlers.go

    	stsRequestBodyLimit = 10 * (1 << 20) // 10 MiB
    
    	// JWT claim keys
    	expClaim = "exp"
    	subClaim = "sub"
    	audClaim = "aud"
    	issClaim = "iss"
    
    	// JWT claim to check the parent user
    	parentClaim = "parent"
    
    	// LDAP claim keys
    	ldapUser  = "ldapUser"     // this is a key name for a DN value
    	ldapUserN = "ldapUsername" // this is a key name for the short/login username
    
    	// Role Claim key
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  7. cmd/test-utils_test.go

    // Excerpts from @lsegal - https://github.com/aws/aws-sdk-js/issues/659#issuecomment-120477258
    //
    //	User-Agent:
    //
    //	    This is ignored from signing because signing this causes problems with generating pre-signed URLs
    //	    (that are executed by other agents) or when customers pass requests through proxies, which may
    //	    modify the user-agent.
    //
    //	Authorization:
    //
    //	    Is skipped for obvious reasons
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAddUserInvalidArgument), r.URL)
    		return
    	}
    
    	if (cred.IsTemp() || cred.IsServiceAccount()) && cred.ParentUser == accessKey {
    		// Incoming access key matches parent user then we should
    		// reject password change requests.
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAddUserInvalidArgument), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  9. cmd/admin-handlers.go

    	file := r.Form.Get("file")
    	if len(file) == 0 {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    
    	file = filepath.ToSlash(file)
    	// Reject attempts to traverse parent or absolute paths.
    	if hasBadPathComponent(volume) || hasBadPathComponent(file) {
    		writeErrorResponse(r.Context(), w, errorCodes.ToAPIErr(ErrInvalidResourceName), r.URL)
    		return
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top