Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getBucketLifecycleURL (0.08 sec)

  1. cmd/bucket-lifecycle-handlers_test.go

    		// initialize httptest Recorder, this records any mutations to response writer inside the handler.
    		rec := httptest.NewRecorder()
    		// construct HTTP request
    		req, err := newTestSignedRequestV4(testCase.method, getBucketLifecycleURL("", testCase.bucketName),
    			int64(len(testCase.body)), bytes.NewReader(testCase.body), testCase.accessKey, testCase.secretKey, nil)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	queryValue := url.Values{}
    	queryValue.Set("location", "")
    	return makeTestTargetURL(endPoint, bucketName, "", queryValue)
    }
    
    // return URL For set/get lifecycle of the bucket.
    func getBucketLifecycleURL(endPoint, bucketName string) (ret string) {
    	queryValue := url.Values{}
    	queryValue.Set("lifecycle", "")
    	return makeTestTargetURL(endPoint, bucketName, "", queryValue)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top