Documentation
¶
Index ¶
- Constants
- type ACLType
- type AzRedundancyType
- type BucketType
- type CannedType
- type CertStatusType
- type CopyEventType
- type DataTransferType
- type DocPreviewDstType
- type DocPreviewSrcType
- type DownloadEventType
- type GranteeType
- type HttpMethodType
- type MetadataDirectiveType
- type PermissionType
- type ProtocolType
- type RedirectType
- type ReplicationStatusType
- type StatusType
- type StorageClassInheritDirectiveType
- type StorageClassType
- type TierType
- type UploadEventType
- type VersioningStatusType
Constants ¶
View Source
const ( SSETosAlg = "AES256" SSEKMS = "kms" )
View Source
const ( BucketTypeFNS = BucketType("fns") BucketTypeHNS = BucketType("hns") )
View Source
const (
DefaultExcept100ContinueThreshold = 65536
)
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" ACLBucketOwnerEntrusted ACLType = "bucket-owner-entrusted" )
type AzRedundancyType ¶
type AzRedundancyType string
const ( AzRedundancySingleAz AzRedundancyType = "single-az" AzRedundancyMultiAz AzRedundancyType = "multi-az" )
type BucketType ¶ added in v2.7.2
type BucketType string
type CannedType ¶
type CannedType string
const ( CannedAllUsers CannedType = "AllUsers" CannedAuthenticatedUsers CannedType = "AuthenticatedUsers" )
type CertStatusType ¶ added in v2.5.0
type CertStatusType string
const ( CertStatusBound CertStatusType = "CertBound" CertStatusUnbound CertStatusType = "CertUnbound" CertStatusExpired CertStatusType = "CertExpired" )
type CopyEventType ¶ added in v2.5.0
type CopyEventType int
const ( CopyEventCreateMultipartUploadSucceed CopyEventType = 1 CopyEventCreateMultipartUploadFailed CopyEventType = 2 CopyEventUploadPartCopySuccess CopyEventType = 3 CopyEventUploadPartCopyFailed CopyEventType = 4 CopyEventUploadPartCopyAborted CopyEventType = 5 CopyEventCompleteMultipartUploadSucceed CopyEventType = 6 CopyEventCompleteMultipartUploadFailed CopyEventType = 7 )
type DataTransferType ¶
type DataTransferType int
const ( DataTransferStarted DataTransferType = 1 DataTransferRW DataTransferType = 2 DataTransferSucceed DataTransferType = 3 DataTransferFailed DataTransferType = 4 )
type DocPreviewDstType ¶ added in v2.7.0
type DocPreviewDstType string
const ( DocPreviewDstTypePdf DocPreviewDstType = "pdf" DocPreviewDstTypeHtml DocPreviewDstType = "html" DocPreviewDstTypePng DocPreviewDstType = "png" DocPreviewDstTypeJpeg DocPreviewDstType = "jpeg" )
type DocPreviewSrcType ¶ added in v2.7.0
type DocPreviewSrcType string
const ( DocPreviewSrcTypeDoc DocPreviewSrcType = "doc" DocPreviewSrcTypeDocx DocPreviewSrcType = "docx" DocPreviewSrcTypePpt DocPreviewSrcType = "ppt" DocPreviewSrcTypePptx DocPreviewSrcType = "pptx" DocPreviewSrcTypeXls DocPreviewSrcType = "xls" DocPreviewSrcTypeXlsx DocPreviewSrcType = "xlsx" )
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 ProtocolType ¶ added in v2.5.0
type ProtocolType string
const ( ProtocolHttp ProtocolType = "http" ProtocolHttps ProtocolType = "https" )
type RedirectType ¶ added in v2.4.0
type RedirectType string
const ( RedirectTypeMirror RedirectType = "Mirror" RedirectTypeAsync RedirectType = "Async" )
type ReplicationStatusType ¶ added in v2.7.0
type ReplicationStatusType string
const ( ReplicationStatusPending ReplicationStatusType = "PENDING" ReplicationStatusComplete ReplicationStatusType = "COMPLETE" ReplicationStatusFailed ReplicationStatusType = "FAILED" ReplicationStatusReplica ReplicationStatusType = "REPLICA" )
type StatusType ¶ added in v2.4.0
type StatusType string
const ( StatusEnabled StatusType = "Enabled" StatusDisabled StatusType = "Disabled" )
const ( LifecycleStatusEnabled StatusType = "Enabled" LifecycleStatusDisabled StatusType = "Disabled" )
type StorageClassInheritDirectiveType ¶ added in v2.5.0
type StorageClassInheritDirectiveType string
const ( StorageClassIDDestinationBucket StorageClassInheritDirectiveType = "DESTINATION_BUCKET" StorageClassIDSourceObject StorageClassInheritDirectiveType = "SOURCE_OBJECT" )
type StorageClassType ¶
type StorageClassType string
const ( StorageClassStandard StorageClassType = "STANDARD" StorageClassIa StorageClassType = "IA" StorageClassArchiveFr StorageClassType = "ARCHIVE_FR" StorageClassIntelligentTiering StorageClassType = "INTELLIGENT_TIERING" StorageClassColdArchive StorageClassType = "COLD_ARCHIVE" StorageClassArchive StorageClassType = "ARCHIVE" )
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 )
type VersioningStatusType ¶ added in v2.5.0
type VersioningStatusType string
const ( VersioningStatusEnable VersioningStatusType = "Enabled" VersioningStatusSuspended VersioningStatusType = "Suspended" )
Click to show internal directories.
Click to hide internal directories.