Documentation ¶
Index ¶
- func HasHeader(request *restful.Request, name string) bool
- func IsQuery(request *restful.Request, name string) bool
- func ReadBody(r *restful.Request) []byte
- func RegisterRouter(ws *restful.WebService)
- type APIService
- func (s *APIService) AbortMultipartUpload(request *restful.Request, response *restful.Response)
- func (s *APIService) BucketDelete(request *restful.Request, response *restful.Response)
- func (s *APIService) BucketGet(request *restful.Request, response *restful.Response)
- func (s *APIService) BucketPut(request *restful.Request, response *restful.Response)
- func (s *APIService) CompleteMultipartUpload(request *restful.Request, response *restful.Response)
- func (s *APIService) ListBuckets(request *restful.Request, response *restful.Response)
- func (s *APIService) MultiPartUploadInit(request *restful.Request, response *restful.Response)
- func (s *APIService) ObjectDelete(request *restful.Request, response *restful.Response)
- func (s *APIService) ObjectGet(request *restful.Request, response *restful.Response)
- func (s *APIService) ObjectPut(request *restful.Request, response *restful.Response)
- func (s *APIService) RouteBucketPut(request *restful.Request, response *restful.Response)
- func (s *APIService) RouteObjectPut(request *restful.Request, response *restful.Response)
- func (s *APIService) UploadPart(request *restful.Request, response *restful.Response)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRouter ¶
func RegisterRouter(ws *restful.WebService)
RegisterRouter - route request to appropriate method
Types ¶
type APIService ¶
type APIService struct {
// contains filtered or unexported fields
}
func NewAPIService ¶
func NewAPIService(c client.Client) *APIService
func (*APIService) AbortMultipartUpload ¶
func (s *APIService) AbortMultipartUpload(request *restful.Request, response *restful.Response)
func (*APIService) BucketDelete ¶
func (s *APIService) BucketDelete(request *restful.Request, response *restful.Response)
func (*APIService) BucketGet ¶
func (s *APIService) BucketGet(request *restful.Request, response *restful.Response)
func (*APIService) BucketPut ¶
func (s *APIService) BucketPut(request *restful.Request, response *restful.Response)
func (*APIService) CompleteMultipartUpload ¶
func (s *APIService) CompleteMultipartUpload(request *restful.Request, response *restful.Response)
func (*APIService) ListBuckets ¶
func (s *APIService) ListBuckets(request *restful.Request, response *restful.Response)
func (*APIService) MultiPartUploadInit ¶
func (s *APIService) MultiPartUploadInit(request *restful.Request, response *restful.Response)
ObjectPut -
func (*APIService) ObjectDelete ¶
func (s *APIService) ObjectDelete(request *restful.Request, response *restful.Response)
func (*APIService) ObjectGet ¶
func (s *APIService) ObjectGet(request *restful.Request, response *restful.Response)
ObjectGet -
func (*APIService) ObjectPut ¶
func (s *APIService) ObjectPut(request *restful.Request, response *restful.Response)
ObjectPut -
func (*APIService) RouteBucketPut ¶
func (s *APIService) RouteBucketPut(request *restful.Request, response *restful.Response)
func (*APIService) RouteObjectPut ¶
func (s *APIService) RouteObjectPut(request *restful.Request, response *restful.Response)
func (*APIService) UploadPart ¶
func (s *APIService) UploadPart(request *restful.Request, response *restful.Response)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.