s3util

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2024 License: AGPL-3.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

View Source
const (

	// SlashSeparator - slash separator.
	SlashSeparator = "/"
)

Variables

This section is empty.

Functions

func CheckValidBucketName

func CheckValidBucketName(bucketName string) (err error)

CheckValidBucketName - checks if we have a valid input bucket name. This is a stricter version. - http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html

func CheckValidContentType

func CheckValidContentType(contentType string) error

func CheckValidExpectChecksums

func CheckValidExpectChecksums(expectChecksums [][]byte) error

CheckValidExpectChecksums checks if the MSG have a valid SHA256 checksum.

func CheckValidGroupName

func CheckValidGroupName(groupName string) error

func CheckValidObjectName

func CheckValidObjectName(objectName string) error

CheckValidObjectName checks if we have a valid input object name.

http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html

Types

This section is empty.

Jump to

Keyboard shortcuts

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