summaryrefslogtreecommitdiff
path: root/vendor/github.com/minio/minio-go/v7/constants.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/minio/minio-go/v7/constants.go')
-rw-r--r--vendor/github.com/minio/minio-go/v7/constants.go20
1 files changed, 20 insertions, 0 deletions
diff --git a/vendor/github.com/minio/minio-go/v7/constants.go b/vendor/github.com/minio/minio-go/v7/constants.go
index 401d2a74d..4099a37f9 100644
--- a/vendor/github.com/minio/minio-go/v7/constants.go
+++ b/vendor/github.com/minio/minio-go/v7/constants.go
@@ -60,12 +60,32 @@ const (
)
const (
+ // GetObjectAttributesTags are tags used to defined
+ // return values for the GetObjectAttributes API
+ GetObjectAttributesTags = "ETag,Checksum,StorageClass,ObjectSize,ObjectParts"
+ // GetObjectAttributesMaxParts defined the default maximum
+ // number of parts returned by GetObjectAttributes
+ GetObjectAttributesMaxParts = 1000
+)
+
+const (
+ // Response Headers
+
+ // ETag is a common response header
+ ETag = "ETag"
+
// Storage class header.
amzStorageClass = "X-Amz-Storage-Class"
// Website redirect location header
amzWebsiteRedirectLocation = "X-Amz-Website-Redirect-Location"
+ // GetObjectAttributes headers
+ amzPartNumberMarker = "X-Amz-Part-Number-Marker"
+ amzExpectedBucketOnwer = "X-Amz-Expected-Bucket-Owner"
+ amzMaxParts = "X-Amz-Max-Parts"
+ amzObjectAttributes = "X-Amz-Object-Attributes"
+
// Object Tagging headers
amzTaggingHeader = "X-Amz-Tagging"
amzTaggingHeaderDirective = "X-Amz-Tagging-Directive"