Documentation
¶
Index ¶
- func CreateQueue(c *gin.Context)
- func CreateTopic(c *gin.Context)
- func DeleteQueue(c *gin.Context)
- func DeleteTopic(c *gin.Context)
- func ExtractAccessKey(req *http.Request) string
- func ExtractAccessKeyV2(auth string) string
- func ExtractAccessKeyV4(auth string) string
- func GetBucketNotification(c *gin.Context)
- func HandleNfsExport(req *http.Request, body []byte)
- func InheritNfsPermission(request *http.Request)
- func IsAdminUserPath(path string) bool
- func ListQueues(c *gin.Context)
- func ListSubscriptions(c *gin.Context)
- func ListTopics(c *gin.Context)
- func LoggingOps(resp *http.Response)
- func PatchBucketPermission(c *gin.Context)
- func PostForm(c *gin.Context, key string) string
- func PutBucketNotification(c *gin.Context)
- func ReceiveMessage(c *gin.Context)
- func ReverseProxy() gin.HandlerFunc
- func Search(c *gin.Context)
- func Subscribe(c *gin.Context)
- func Unsubscribe(c *gin.Context)
- type ACL
- type CreateQueueResponse
- type CreateTopicResponse
- type CustomMetadataEntry
- type CustomString
- type DeleteQueueResponse
- type DeleteTopicResponse
- type ErrorResponse
- type Grant
- type ListQueuesResponse
- type ListSubscriptionsResponse
- type ListTopicsResponse
- type Message
- type Object
- type ObjectType
- type OperationLog
- type Policy
- type ReceiveMessageResponse
- type RgwKey
- type RgwUser
- type SearchResponse
- type SubscribeResponse
- type SubscriptionARN
- type TopicARN
- type UnsubscribeResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateQueue ¶
func CreateTopic ¶
func DeleteQueue ¶
func DeleteTopic ¶
func ExtractAccessKey ¶
func ExtractAccessKeyV2 ¶
func ExtractAccessKeyV4 ¶
func GetBucketNotification ¶
func HandleNfsExport ¶
func InheritNfsPermission ¶
func IsAdminUserPath ¶
func ListQueues ¶
func ListSubscriptions ¶
func ListTopics ¶
func LoggingOps ¶
func PatchBucketPermission ¶
func PutBucketNotification ¶
func ReceiveMessage ¶
func ReverseProxy ¶
func ReverseProxy() gin.HandlerFunc
func Unsubscribe ¶
Types ¶
type CreateQueueResponse ¶
type CreateTopicResponse ¶
type CustomMetadataEntry ¶
type CustomString ¶
type DeleteQueueResponse ¶
type DeleteTopicResponse ¶
type ErrorResponse ¶
type ListQueuesResponse ¶
type ListSubscriptionsResponse ¶
type ListSubscriptionsResponse struct {
XMLName xml.Name `xml:"ListSubscriptionsResponse"`
SubscriptionARNs []SubscriptionARN `xml:"ListSubscriptionsResult>Subscriptions>member"`
RequestID string `xml:"ResponseMetadata>RequestId"`
}
type ListTopicsResponse ¶
type Object ¶
type Object struct {
Bucket string `json:"Bucket"`
Key string `json:"Key"`
Instance string `json:"Instance"`
VersionedEpoch int64 `json:"VersionedEpoch"`
LastModified time.Time `json:"LastModified"`
Size int64 `json:"Size"`
Etag string `json:"ETag"`
ContentType string `json:"ContentType"`
Owner struct {
ID string `json:"ID"`
DisplayName string `json:"DisplayName"`
} `json:"Owner"`
CustomMetadata []CustomMetadataEntry `json:"CustomMetadata"`
}
type ObjectType ¶
type ObjectType struct {
Bucket string `json:"bucket"`
Instance string `json:"instance"`
Name string `json:"name"`
Owner struct {
DisplayName string `json:"display_name"`
ID string `json:"id"`
} `json:"owner"`
Meta struct {
ContentType string `json:"content_type"`
Etag string `json:"etag"`
Mtime time.Time `json:"mtime"`
Size int64 `json:"size"`
TailTag string `json:"tail_tag"`
XAmzAcl string `json:"x-amz-acl"`
XAmzContentSha256 string `json:"x-amz-content-sha256"`
XAmzCopySource string `json:"x-amz-copy-source"`
XAmzDate string `json:"x-amz-date"`
XAmzMetadataDirective string `json:"x-amz-metadata-directive"`
XAmzStorageClass string `json:"x-amz-storage-class"`
CustomString []CustomString `json:"custom-string"`
} `json:"meta"`
Permissions []string `json:"permissions"`
VersionedEpoch int64 `json:"versioned_epoch"`
}
type OperationLog ¶
type OperationLog struct {
Project string `json:"project"`
ProjectId string `json:"project_id"`
User string `json:"user"`
Date string `json:"date"`
Method string `json:"method"`
StatusCode string `json:"status_code"`
Bucket string `json:"bucket"`
Uri string `json:"uri"`
ByteSend int `json:"byte_sned"`
ByteRecieved int `json:"byte_recieved"`
}
type ReceiveMessageResponse ¶
type SearchResponse ¶
type SubscribeResponse ¶
type SubscriptionARN ¶
type UnsubscribeResponse ¶
Click to show internal directories.
Click to hide internal directories.