Documentation
¶
Index ¶
Constants ¶
View Source
const ( SSETosAlg = "AES256" SSEKMS = "kms" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACLType ¶
type ACLType string
const ( ACLPrivate ACLType = "private" ACLPublicRead ACLType = "public-read" ACLPublicReadWrite ACLType = "public-read-write" ACLAuthRead ACLType = "authenticated-read" ACLBucketOwnerRead ACLType = "bucket-owner-read" ACLBucketOwnerFullControl ACLType = "bucket-owner-full-control" ACLLogDeliveryWrite ACLType = "log-delivery-write" )
type AzRedundancyType ¶
type AzRedundancyType string
const ( AzRedundancySingleAz AzRedundancyType = "single-az" AzRedundancyMultiAz AzRedundancyType = "multi-az" )
type CannedType ¶
type CannedType string
const ( CannedAllUsers CannedType = "AllUsers" CannedAuthenticatedUsers CannedType = "AuthenticatedUsers" )
type DataTransferType ¶
type DataTransferType int
const ( DataTransferStarted DataTransferType = 1 DataTransferRW DataTransferType = 2 DataTransferSucceed DataTransferType = 3 DataTransferFailed DataTransferType = 4 )
type DownloadEventType ¶
type DownloadEventType int
const ( DownloadEventCreateTempFileSucceed DownloadEventType = 1 DownloadEventCreateTempFileFailed DownloadEventType = 2 DownloadEventDownloadPartSucceed DownloadEventType = 3 DownloadEventDownloadPartFailed DownloadEventType = 4 DownloadEventDownloadPartAborted DownloadEventType = 5 // The task needs to be interrupted in case of 403, 404, 405 errors DownloadEventRenameTempFileSucceed DownloadEventType = 6 DownloadEventRenameTempFileFailed DownloadEventType = 7 )
type GranteeType ¶
type GranteeType string
const ( GranteeGroup GranteeType = "Group" GranteeUser GranteeType = "CanonicalUser" )
type HttpMethodType ¶
type HttpMethodType string
const ( HttpMethodGet HttpMethodType = "GET" HttpMethodPut HttpMethodType = "PUT" HttpMethodPost HttpMethodType = "POST" HttpMethodDelete HttpMethodType = "DELETE" HttpMethodHead HttpMethodType = "HEAD" )
type MetadataDirectiveType ¶
type MetadataDirectiveType string
const ( // MetadataDirectiveReplace replace source object metadata when calling CopyObject MetadataDirectiveReplace MetadataDirectiveType = "REPLACE" // MetadataDirectiveCopy copy source object metadata when calling CopyObject MetadataDirectiveCopy MetadataDirectiveType = "COPY" )
type PermissionType ¶
type PermissionType string
const ( PermissionRead PermissionType = "READ" PermissionWrite PermissionType = "WRITE" PermissionReadAcp PermissionType = "READ_ACP" PermissionWriteAcp PermissionType = "WRITE_ACP" PermissionFullControl PermissionType = "FULL_CONTROL" )
type RedirectType ¶ added in v2.4.0
type RedirectType string
const ( RedirectTypeMirror RedirectType = "Mirror" RedirectTypeAsync RedirectType = "Async" )
type StatusType ¶ added in v2.4.0
type StatusType string
const ( LifecycleStatusEnabled StatusType = "Enabled" LifecycleStatusDisabled StatusType = "Disabled" )
type StorageClassType ¶
type StorageClassType string
const ( StorageClassStandard StorageClassType = "STANDARD" StorageClassIa StorageClassType = "IA" )
type UploadEventType ¶
type UploadEventType int
const ( UploadEventCreateMultipartUploadSucceed UploadEventType = 1 UploadEventCreateMultipartUploadFailed UploadEventType = 2 UploadEventUploadPartSucceed UploadEventType = 3 UploadEventUploadPartFailed UploadEventType = 4 UploadEventUploadPartAborted UploadEventType = 5 // The task needs to be interrupted in case of 403, 404, 405 errors UploadEventCompleteMultipartUploadSucceed UploadEventType = 6 UploadEventCompleteMultipartUploadFailed UploadEventType = 7 )
Click to show internal directories.
Click to hide internal directories.