summaryrefslogtreecommitdiff
path: root/vendor/github.com/minio/minio-go/v7/constants.go
diff options
context:
space:
mode:
authorLibravatar dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-02-19 09:36:50 +0000
committerLibravatar GitHub <noreply@github.com>2024-02-19 09:36:50 +0000
commit2db115fa3696f227a88b3afd9a94b0a32fd87935 (patch)
tree8e31b1b8858b503f1b85d5d74044e2e338168f00 /vendor/github.com/minio/minio-go/v7/constants.go
parent[chore]: Bump github.com/tdewolff/minify/v2 from 2.20.16 to 2.20.17 (#2661) (diff)
downloadgotosocial-2db115fa3696f227a88b3afd9a94b0a32fd87935.tar.xz
[chore]: Bump github.com/minio/minio-go/v7 from 7.0.66 to 7.0.67 (#2662)
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.66 to 7.0.67. - [Release notes](https://github.com/minio/minio-go/releases) - [Commits](https://github.com/minio/minio-go/compare/v7.0.66...v7.0.67) --- updated-dependencies: - dependency-name: github.com/minio/minio-go/v7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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"