s3

package
v0.0.0-...-a2a49da Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateName

func ValidateName(bucketName string) error

ValidateName validates the bucket name. https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html

Types

type Bucket

type Bucket struct {
	S3           *aws.S3Bucket                                  `validate:"required"`
	ACL          *aws.S3BucketAcl                               `validate:"required"`
	Versioning   *aws.S3BucketVersioning                        `validate:"required"`
	PublicAccess *aws.S3BucketPublicAccessBlock                 `validate:"required"`
	SSE          *aws.S3BucketServerSideEncryptionConfiguration `validate:"required"`
}

func NewBucket

func NewBucket(bucketName string) *Bucket

Jump to

Keyboard shortcuts

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