Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Dadd (0.28 sec)

  1. cmd/sts-handlers_test.go

        "arn:aws:s3:::${aws:username}-*"
       ]
      }
     ]
    }`)
    	err = s.adm.AddCannedPolicy(ctx, policy, policyBytes)
    	if err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	if err = s.adm.AddUser(ctx, "dillon", "dillon-123"); err != nil {
    		c.Fatalf("policy add error: %v", err)
    	}
    
    	err = s.adm.SetPolicy(ctx, policy, "dillon", false)
    	if err != nil {
    		c.Fatalf("Unable to set policy: %v", err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    	poolOpts := make([]ObjectOptions, len(z.serverPools))
    	for i := range z.serverPools {
    		poolOpts[i] = opts
    	}
    
    	var wg sync.WaitGroup
    	for i, pool := range z.serverPools {
    		wg.Add(1)
    		go func(i int, pool *erasureSets, opts ObjectOptions) {
    			defer wg.Done()
    			// remember the pool index, we may sort the slice original index might be lost.
    			pinfo := PoolObjInfo{
    				Index: i,
    			}
    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/erasure-object.go

    				// mentioned for deletes, create a delete marker instead.
    				vr.ModTime = UTCNow()
    				vr.Deleted = true
    				// Versioning suspended means that we add a `null` version
    				// delete marker, if not add a new version for this delete
    				// marker.
    				if versioned {
    					vr.VersionID = mustGetUUID()
    				}
    			}
    		}
    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. cmd/api-errors.go

    	ErrPastObjectLockRetainDate
    	ErrUnknownWORMModeDirective
    	ErrBucketTaggingNotFound
    	ErrObjectLockInvalidHeaders
    	ErrInvalidTagDirective
    	ErrPolicyAlreadyAttached
    	ErrPolicyNotAttached
    	ErrExcessData
    	// Add new error codes here.
    
    	// SSE-S3/SSE-KMS related API errors
    	ErrInvalidEncryptionMethod
    	ErrInvalidEncryptionKeyID
    
    	// Server-Side-Encryption (with Customer provided key) related API errors.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  5. cmd/iam.go

    	}
    	loadDuration := time.Since(loadStartTime)
    
    	atomic.StoreUint64(&sys.LastRefreshDurationMilliseconds, uint64(loadDuration.Milliseconds()))
    	atomic.StoreUint64(&sys.LastRefreshTimeUnixNano, uint64(loadStartTime.Add(loadDuration).UnixNano()))
    	atomic.AddUint64(&sys.TotalRefreshSuccesses, 1)
    
    	if !globalSiteReplicatorCred.IsValid() {
    		sa, _, err := sys.getServiceAccount(ctx, siteReplicatorSvcAcc)
    		if err == nil {
    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/iam-store.go

    		// Service accounts might not have expiration in older releases.
    		return nil
    	}
    
    	currentTime := time.Now().UTC()
    	minExpiration := currentTime.Add(minServiceAccountExpiry)
    	maxExpiration := currentTime.Add(maxServiceAccountExpiry)
    	if expirationInUTC.Before(minExpiration) || expirationInUTC.After(maxExpiration) {
    		return errInvalidSvcAcctExpiration
    	}
    
    	return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  7. cmd/xl-storage.go

    	// For hardrives it is possible to set this to a lower value to avoid any
    	// spike in latency. But currently we are simply keeping it optimal for SSDs.
    
    	// bigFileThreshold is the point where we add readahead to put operations.
    	bigFileThreshold = 128 * humanize.MiByte
    
    	// XL metadata file carries per object metadata.
    	xlStorageFormatFile = "xl.meta"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  8. internal/s3select/select_test.go

    {"shipdate":"1996-01-29T"}
    {"shipdate":"1996-04-21T"}
    {"shipdate":"1996-03-30T"}`,
    		},
    		{
    			requestXML: []byte(`
    <?xml version="1.0" encoding="UTF-8"?>
    <SelectObjectContentRequest>
        <Expression>SELECT DATE_ADD(day, 2, shipdate) as shipdate FROM S3Object LIMIT 5</Expression>
        <ExpressionType>SQL</ExpressionType>
        <InputSerialization>
            <CompressionType>NONE</CompressionType>
            <Parquet>
            </Parquet>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  9. cmd/test-utils_test.go

    	req.Header.Set("x-amz-date", currTime.Format(iso8601Format))
    
    	// Get header map.
    	headerMap := make(map[string][]string)
    	for k, vv := range req.Header {
    		// If request header key is not in ignored headers, then add it.
    		if _, ok := ignoredStreamingHeaders[http.CanonicalHeaderKey(k)]; !ok {
    			headerMap[strings.ToLower(k)] = vv
    		}
    	}
    
    	// Get header keys.
    	headers := []string{"host"}
    	for k := range headerMap {
    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)
  10. cmd/batch-handlers.go

    			if err != nil {
    				batchLogIf(ctx, err)
    				continue
    			}
    
    			for k, vals := range opts.Header() {
    				for _, v := range vals {
    					snowballObj.Headers.Add(k, v)
    				}
    			}
    
    			input <- snowballObj
    		}
    	}()
    
    	// Collect and upload all entries.
    	return remoteClnt.PutObjectsSnowball(ctx, r.Target.Bucket, opts, input)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 55.2K bytes
    - Viewed (0)
Back to top