Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for isObject (1.67 sec)

  1. cmd/metacache-set.go

    				continue
    			}
    			if !strings.HasPrefix(entry.name, o.Prefix) {
    				continue
    			}
    			if !o.Recursive && !entry.isInDir(o.Prefix, o.Separator) {
    				continue
    			}
    			if !o.InclDeleted && entry.isObject() && entry.isLatestDeletemarker() && !entry.isObjectDir() {
    				continue
    			}
    			if o.Lifecycle != nil || o.Replication.Config != nil {
    				if skipped := triggerExpiryAndRepl(ctx, *o, entry); skipped == true {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-decom.go

    					return true
    				default:
    					return false
    				}
    			}
    
    			var versionsFound int
    			if err = set.listObjectsToDecommission(ctx, bi, func(entry metaCacheEntry) {
    				if !entry.isObject() {
    					return
    				}
    
    				fivs, err := entry.fileInfoVersions(bi.Name)
    				if err != nil {
    					return
    				}
    
    				// We need a reversed order for decommissioning,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  3. cmd/test-utils_test.go

    	if err != nil {
    		return nil, nil, fmt.Errorf("failed to generate serial number: %w", err)
    	}
    
    	template := x509.Certificate{
    		SerialNumber: serialNumber,
    		Subject: pkix.Name{
    			Organization: []string{"Acme Co"},
    		},
    		NotBefore: notBefore,
    		NotAfter:  notAfter,
    
    		KeyUsage:              x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature,
    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)
  4. cmd/storage-rest-server.go

    	if err = xjwt.ParseWithStandardClaims(token, claims, []byte(globalActiveCred.SecretKey)); err != nil {
    		return errAuthentication
    	}
    
    	owner := claims.AccessKey == globalActiveCred.AccessKey || claims.Subject == globalActiveCred.AccessKey
    	if !owner {
    		return errAuthentication
    	}
    
    	if claims.Audience != r.URL.RawQuery {
    		return errAuthentication
    	}
    
    	requestTimeStr := r.Header.Get("X-Minio-Time")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  5. cmd/iam.go

    // itself cannot login, but the policy associated with them determines the base
    // policy for the STS credential. The policy mapping can be updated by the
    // administrator.
    //
    // - from `Subject.CommonName` field from the STS request for
    // AssumeRoleWithCertificate. In this case, the policy for the STS credential
    // has the same name as the value of this field.
    //
    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)
  6. cmd/sts-handlers.go

    		expiry = validUntil
    	}
    
    	// Associate any service accounts to the certificate CN
    	parentUser := "tls:" + certificate.Subject.CommonName
    
    	claims[expClaim] = UTCNow().Add(expiry).Unix()
    	claims[subClaim] = certificate.Subject.CommonName
    	claims[audClaim] = certificate.Subject.Organization
    	claims[issClaim] = certificate.Issuer.CommonName
    	claims[parentClaim] = parentUser
    	secretKey, err := getTokenSigningKey()
    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)
Back to top