Documentation ¶
Index ¶
- func RegisterRouter(ws *restful.WebService)
- func UpdateFilter(reqFilter map[string]string, filter map[string]string) error
- func WriteError(response *restful.Response, msg string, errCode int, err error)
- type APIService
- func (s *APIService) CreateFileShare(request *restful.Request, response *restful.Response)
- func (s *APIService) DeleteFileShare(request *restful.Request, response *restful.Response)
- func (s *APIService) GetFileShare(request *restful.Request, response *restful.Response)
- func (s *APIService) ListFileShare(request *restful.Request, response *restful.Response)
- func (s *APIService) UpdateFileShare(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
func WriteError ¶
Types ¶
type APIService ¶
type APIService struct {
// contains filtered or unexported fields
}
func NewAPIService ¶
func NewAPIService(c client.Client) *APIService
func (*APIService) CreateFileShare ¶
func (s *APIService) CreateFileShare(request *restful.Request, response *restful.Response)
func (*APIService) DeleteFileShare ¶
func (s *APIService) DeleteFileShare(request *restful.Request, response *restful.Response)
func (*APIService) GetFileShare ¶
func (s *APIService) GetFileShare(request *restful.Request, response *restful.Response)
func (*APIService) ListFileShare ¶
func (s *APIService) ListFileShare(request *restful.Request, response *restful.Response)
func (*APIService) UpdateFileShare ¶
func (s *APIService) UpdateFileShare(request *restful.Request, response *restful.Response)
Click to show internal directories.
Click to hide internal directories.