consts

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	// HeaderContentSHA256 is the AWS SigV4 header for payload hash
	HeaderContentSHA256 = "X-Amz-Content-Sha256"

	// HeaderDate is the AWS SigV4 header for request timestamp
	HeaderDate = "X-Amz-Date"

	// HeaderCopySource is the S3 header for copy operations
	HeaderCopySource = "X-Amz-Copy-Source"

	// HeaderCopySourceIfMatch fails CopyObject with 412 unless the source
	// object's ETag matches.
	HeaderCopySourceIfMatch = "X-Amz-Copy-Source-If-Match"

	// HeaderCopySourceIfNoneMatch fails CopyObject with 412 if the source
	// object's ETag matches.
	HeaderCopySourceIfNoneMatch = "X-Amz-Copy-Source-If-None-Match"

	// HeaderCopySourceIfModifiedSince fails CopyObject with 412 unless the
	// source object was modified after the given time.
	HeaderCopySourceIfModifiedSince = "X-Amz-Copy-Source-If-Modified-Since"

	// HeaderCopySourceIfUnmodifiedSince fails CopyObject with 412 if the
	// source object was modified after the given time.
	HeaderCopySourceIfUnmodifiedSince = "X-Amz-Copy-Source-If-Unmodified-Since"

	// HeaderMetadataDirective selects whether CopyObject copies the source
	// object's metadata ("COPY", the default) or replaces it with the
	// metadata headers on the copy request itself ("REPLACE").
	HeaderMetadataDirective = "X-Amz-Metadata-Directive"

	// MetadataDirectiveReplace is the HeaderMetadataDirective value that
	// requests destination metadata be taken from the request instead of
	// copied from the source.
	MetadataDirectiveReplace = "REPLACE"

	// HeaderBucketRegion is the S3 header for bucket region
	HeaderBucketRegion = "x-amz-bucket-region"

	// ContentSHA256Streaming is the value for chunked transfer encoding
	ContentSHA256Streaming = "STREAMING-AWS4-HMAC-SHA256-PAYLOAD"

	// ContentSHA256Unsigned is the value for unsigned payloads
	ContentSHA256Unsigned = "UNSIGNED-PAYLOAD"
)

AWS Signature V4 Headers

View Source
const (
	DirIOMetadataDir = ".dirio"
	DirIOUploadsDir  = ".dirio-uploads"
	MinioMetadataDir = ".minio.sys"
)
View Source
const (
	AdminUUIDString = "badfc0de-fadd-fc0f-fee0-000dadbeef00"
)
View Source
const (
	DefaultBucketLocation = "us-east-1"
)

Variables

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL