Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for PutBucketLifecycle (0.1 sec)

  1. cmd/bucket-lifecycle-handlers_test.go

    func TestBucketLifecycleWrongCredentials(t *testing.T) {
    	ExecObjectLayerAPITest(ExecObjectLayerAPITestArgs{t: t, objAPITest: testBucketLifecycleHandlersWrongCredentials, endpoints: []string{"GetBucketLifecycle", "PutBucketLifecycle", "DeleteBucketLifecycle"}})
    }
    
    // Test for authentication
    func testBucketLifecycleHandlersWrongCredentials(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    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/bucket-lifecycle-handlers.go

    	ctx := newContext(r, w, "PutBucketLifecycle")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    	objAPI := api.ObjectAPI()
    	if objAPI == nil {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrServerNotInitialized), r.URL)
    		return
    	}
    
    	vars := mux.Vars(r)
    	bucket := vars["bucket"]
    
    	// PutBucketLifecycle always needs a Content-Md5
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. cmd/api-router.go

    			Queries("versions", "")
    		// GetBucketPolicyStatus
    		router.Methods(http.MethodGet).
    			HandlerFunc(s3APIMiddleware(api.GetBucketPolicyStatusHandler)).
    			Queries("policyStatus", "")
    		// PutBucketLifecycle
    		router.Methods(http.MethodPut).
    			HandlerFunc(s3APIMiddleware(api.PutBucketLifecycleHandler)).
    			Queries("lifecycle", "")
    		// PutBucketReplicationConfig
    		router.Methods(http.MethodPut).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 15:25:16 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. cmd/test-utils_test.go

    		case "GetBucketLifecycle":
    			bucket.Methods(http.MethodGet).HandlerFunc(api.GetBucketLifecycleHandler).Queries("lifecycle", "")
    		case "PutBucketLifecycle":
    			bucket.Methods(http.MethodPut).HandlerFunc(api.PutBucketLifecycleHandler).Queries("lifecycle", "")
    		case "DeleteBucketLifecycle":
    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