Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for exports (3.9 sec)

  1. cmd/admin-bucket-handlers.go

    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Write success response.
    	writeSuccessNoContent(w)
    }
    
    // ExportBucketMetadataHandler - exports all bucket metadata as a zipped file
    func (a adminAPIHandlers) ExportBucketMetadataHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	bucket := pathClean(r.Form.Get("bucket"))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  2. cmd/signature-v4_test.go

    		},
    		// (1) Should error on an invalid access key.
    		{
    			queryParams: map[string]string{
    				"X-Amz-Algorithm":     signV4Algorithm,
    				"X-Amz-Date":          now.Format(iso8601Format),
    				"X-Amz-Expires":       "60",
    				"X-Amz-Signature":     "badsignature",
    				"X-Amz-SignedHeaders": "host;x-amz-content-sha256;x-amz-date",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 10.4K bytes
    - Viewed (1)
  3. cmd/object-api-datatypes.go

    	Inlined bool
    
    	DataBlocks   int
    	ParityBlocks int
    }
    
    // ExpiresStr returns a stringified version of Expires header in http.TimeFormat
    func (o ObjectInfo) ExpiresStr() string {
    	var expires string
    	if !o.Expires.IsZero() {
    		expires = o.Expires.UTC().Format(http.TimeFormat)
    	}
    	return expires
    }
    
    // ArchiveInfo returns any saved zip archive meta information.
    // It will be decrypted if needed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  4. cmd/admin-router.go

    		// Export IAM info to zipped file
    		adminRouter.Methods(http.MethodGet).Path(adminVersion + "/export-iam").HandlerFunc(adminMiddleware(adminAPI.ExportIAM, noGZFlag))
    
    		// Import IAM info
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  5. cmd/erasure-metadata.go

    		NumVersions:      fi.NumVersions,
    		SuccessorModTime: fi.SuccessorModTime,
    		CacheControl:     fi.Metadata["cache-control"],
    	}
    
    	if exp, ok := fi.Metadata["expires"]; ok {
    		if t, err := amztime.ParseHeader(exp); err == nil {
    			objInfo.Expires = t.UTC()
    		}
    	}
    
    	// Extract etag from metadata.
    	objInfo.ETag = extractETag(fi.Metadata)
    
    	// Add user tags to the object info
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  6. cmd/object-api-utils.go

    	// Remove STANDARD StorageClass
    	metadata = removeStandardStorageClass(metadata)
    	// Clean meta etag keys 'md5Sum', 'etag', "expires", "x-amz-tagging".
    	return cleanMetadataKeys(metadata, "md5Sum", "etag", "expires", xhttp.AmzObjectTagging, "last-modified", VersionPurgeStatusKey)
    }
    
    // Filter X-Amz-Storage-Class field only if it is set to STANDARD.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  7. cmd/api-router.go

    		xhttp.ContentLength,
    		xhttp.ContentType,
    		xhttp.ContentDisposition,
    		xhttp.LastModified,
    		xhttp.ContentLanguage,
    		xhttp.CacheControl,
    		xhttp.RetryAfter,
    		xhttp.AmzBucketRegion,
    		xhttp.Expires,
    		"X-Amz*",
    		"x-amz*",
    		"*",
    	}
    	opts := cors.Options{
    		AllowOriginFunc: func(origin string) bool {
    			for _, allowedOrigin := range globalAPIConfig.getCorsAllowOrigins() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  8. cmd/batch-expire.go

    	if err != nil {
    		return err
    	}
    
    	xhttp.DrainBody(resp.Body)
    	if resp.StatusCode != http.StatusOK {
    		return errors.New(resp.Status)
    	}
    
    	return nil
    }
    
    // Expire expires object versions which have already matched supplied filter conditions
    func (r *BatchJobExpire) Expire(ctx context.Context, api ObjectLayer, vc *versioning.Versioning, objsToDel []ObjectToDelete) []error {
    	opts := ObjectOptions{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  9. cmd/format-erasure.go

    		if err != nil {
    			return nil, nil, fmt.Errorf("Drive %s: %w", export, err)
    		}
    		// Migrate successful v1 => v2, proceed to v2 => v3
    		version = formatErasureVersionV2
    		fallthrough
    	case formatErasureVersionV2:
    		formatData, err = formatErasureMigrateV2ToV3(formatData, export, version)
    		if err != nil {
    			return nil, nil, fmt.Errorf("Drive %s: %w", export, err)
    		}
    		// Migrate successful v2 => v3, v3 is latest
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. cmd/signature-v2.go

    		canonicalHeaders += "\n"
    	}
    
    	date := expires // Date is set to expires date for presign operations.
    	if date == "" {
    		// If expires date is empty then request header Date is used.
    		date = headers.Get(xhttp.Date)
    	}
    
    	// From the Amazon docs:
    	//
    	// StringToSign = HTTP-Verb + "\n" +
    	// 	 Content-Md5 + "\n" +
    	//	 Content-Type + "\n" +
    	//	 Date/Expires + "\n" +
    	//	 CanonicalizedProtocolHeaders +
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
Back to top