Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for expiry (0.67 sec)

  1. internal/bucket/lifecycle/lifecycle_test.go

    			isDelMarker:     true,
    			hasManyVersions: true,
    			expectedAction:  NoneAction,
    		},
    		// Should delete all versions of this object since the latest version has past the expiry days criteria
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  2. cmd/iam-store.go

    			// Just return the first error.
    			return err
    		}
    		d.Policy = doc.Policy
    		return nil
    	}
    	*d = doc
    	return nil
    }
    
    // key options
    type options struct {
    	ttl int64 // expiry in seconds
    }
    
    type iamWatchEvent struct {
    	isCreated bool // !isCreated implies a delete event.
    	keyPath   string
    }
    
    // iamCache contains in-memory cache of IAM data.
    type iamCache struct {
    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)
  3. cmd/erasure-object.go

    	if lc == nil && opts.Expiration.Expire {
    		if opts.VersionID != "" {
    			return objInfo, VersionNotFound{
    				Bucket:    bucket,
    				Object:    object,
    				VersionID: opts.VersionID,
    			}
    		}
    		return objInfo, ObjectNotFound{
    			Bucket: bucket,
    			Object: object,
    		}
    	}
    
    	if opts.DeletePrefix {
    		if opts.Expiration.Expire {
    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/iam.go

    				logger.GetReqInfo(ctx).SetTags("peerAddress", nerr.Host.String())
    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    }
    
    // SetTempUser - set temporary user credentials, these credentials have an
    // expiry. The permissions for these STS credentials is determined in one of the
    // following ways:
    //
    // - RoleARN - if a role-arn is specified in the request, the STS credential's
    // policy is the role's policy.
    //
    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)
  5. cmd/sts-handlers_test.go

    		})
    		if err != nil {
    			c.Fatalf("export %d: Unable to attach group policy: %v", caseNum, err)
    		}
    	}
    
    	contentReader, err := s.adm.ExportIAM(ctx)
    	if err != nil {
    		c.Fatalf("export %d: Unable to export IAM: %v", caseNum, err)
    	}
    	defer contentReader.Close()
    
    	expContent, err := io.ReadAll(contentReader)
    	if err != nil {
    		c.Fatalf("export %d: Unable to read exported content: %v", caseNum, 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)
  6. cmd/batch-handlers.go

    	Started   time.Time            `yaml:"-" json:"started"`
    	Replicate *BatchJobReplicateV1 `yaml:"replicate" json:"replicate"`
    	KeyRotate *BatchJobKeyRotateV1 `yaml:"keyrotate" json:"keyrotate"`
    	Expire    *BatchJobExpire      `yaml:"expire" json:"expire"`
    	ctx       context.Context      `msg:"-"`
    }
    
    func notifyEndpoint(ctx context.Context, ri *batchJobInfo, endpoint, token string) error {
    	if endpoint == "" {
    		return nil
    	}
    
    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)
  7. cmd/test-utils_test.go

    	d := UTCNow()
    	// Find epoch expires when the request will expire.
    	epochExpires := d.Unix() + expires
    
    	// Add expires header if not present.
    	expiresStr := req.Header.Get("Expires")
    	if expiresStr == "" {
    		expiresStr = strconv.FormatInt(epochExpires, 10)
    		req.Header.Set("Expires", expiresStr)
    	}
    
    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/api-errors.go

    	},
    	ErrMalformedExpires: {
    		Code:           "AuthorizationQueryParametersError",
    		Description:    "X-Amz-Expires should be a number",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrNegativeExpires: {
    		Code:           "AuthorizationQueryParametersError",
    		Description:    "X-Amz-Expires must be non-negative",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrAuthHeaderEmpty: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  9. cmd/bucket-handlers.go

    					Key:          objInfo.Name,
    					Bucket:       objInfo.Bucket,
    					ETag:         getDecryptedETag(formValues, objInfo, false),
    					ModTime:      objInfo.ModTime,
    					Expires:      objInfo.Expires.UTC().Format(http.TimeFormat),
    					CacheControl: objInfo.CacheControl,
    					Metadata:     cleanReservedKeys(objInfo.UserDefined),
    					Size:         asize,
    				})
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        // then we know it must have given a pending toString value earlier. If not, then the future
        // completed after the timeout expired, and the message might be success.
        if (isDone()) {
          throw new TimeoutException(message + " but future completed as timeout expired");
        }
        throw new TimeoutException(message + " for " + futureToString);
      }
    
      /**
       * {@inheritDoc}
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top