Documentation ¶
Index ¶
- Constants
- func DeleteVolCors(c *gin.Context)
- func DownloadSignedUrl(c *gin.Context)
- func GetExpire(expire int64) time.Duration
- func GetS3Client(c *gin.Context, owner, volName string) (*s3.S3, bool)
- func GetVolCors(c *gin.Context)
- func ListFile(c *gin.Context)
- func MakeDir(c *gin.Context)
- func MultiUploadComplete(c *gin.Context)
- func MultiUploadSignedUrl(c *gin.Context)
- func NewClient(cluster *model.Cluster, owner *user.InfoOutput) *s3.S3
- func PutVolCors(c *gin.Context)
- func UploadSignedUrl(c *gin.Context)
- type DeleteVolCorsInput
- type DownloadSignedUrlInput
- type DownloadSignedUrlOutput
- type FileV2
- type GetVolCorsInput
- type ListFileInput
- type ListFileOutput
- type MakeDirInput
- type MultiUploadCompleteInput
- type MultiUploadPart
- type MultiUploadSignedUrlInput
- type PutVolCorsInput
Constants ¶
View Source
const DELIMITER = "/"
Variables ¶
This section is empty.
Functions ¶
func DeleteVolCors ¶
func DownloadSignedUrl ¶
func GetVolCors ¶
func MultiUploadComplete ¶
func MultiUploadSignedUrl ¶
func PutVolCors ¶
func UploadSignedUrl ¶
Types ¶
type DeleteVolCorsInput ¶
type DownloadSignedUrlInput ¶
type DownloadSignedUrlOutput ¶
type FileV2 ¶
type FileV2 struct { Name string `json:"name"` Hash *string `json:"hash"` Path string `json:"path"` MimeType *string `json:"mime_type"` Endpoint string `json:"endpoint"` Bucket string `json:"bucket"` FileSize *int64 `json:"file_size"` PutTime int64 `json:"put_time"` Meta map[string]*string `json:"x-amz-meta,omitempty"` }
type GetVolCorsInput ¶
type ListFileInput ¶
type ListFileOutput ¶
type MakeDirInput ¶
type MultiUploadPart ¶
Click to show internal directories.
Click to hide internal directories.