Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsRemote (0.05 sec)

  1. cmd/bucket-lifecycle_test.go

    		// Set transition status to complete
    		fi.TransitionStatus = lifecycle.TransitionComplete
    		fi.Metadata = tc.meta
    		if got := fi.IsRemote(); got != tc.remote {
    			t.Fatalf("Test %d.a: expected %v got %v", i+1, tc.remote, got)
    		}
    		oi := fi.ToObjectInfo("bucket", "object", false)
    		if got := oi.IsRemote(); got != tc.remote {
    			t.Fatalf("Test %d.b: expected %v got %v", i+1, tc.remote, got)
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue May 31 09:57:57 UTC 2022
    - 7K bytes
    - Viewed (0)
  2. cmd/api-headers.go

    	}
    
    	if objInfo.ReplicationStatus.String() != "" {
    		w.Header()[xhttp.AmzBucketReplicationStatus] = []string{objInfo.ReplicationStatus.String()}
    	}
    
    	if objInfo.IsRemote() {
    		// Check if object is being restored. For more information on x-amz-restore header see
    		// https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html#API_HeadObject_ResponseSyntax
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top