mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-25 23:19:13 -06:00
Add GetRootDriveChildren to the service interface
This commit is contained in:
@@ -128,3 +128,8 @@ func (i instrument) GetAllDrives(w http.ResponseWriter, r *http.Request) {
|
||||
func (i instrument) CreateDrive(w http.ResponseWriter, r *http.Request) {
|
||||
i.next.CreateDrive(w, r)
|
||||
}
|
||||
|
||||
// GetRootDriveChildren implements the Service interface.
|
||||
func (i instrument) GetRootDriveChildren(w http.ResponseWriter, r *http.Request) {
|
||||
i.next.GetRootDriveChildren(w, r)
|
||||
}
|
||||
|
||||
@@ -128,3 +128,8 @@ func (l logging) GetAllDrives(w http.ResponseWriter, r *http.Request) {
|
||||
func (l logging) CreateDrive(w http.ResponseWriter, r *http.Request) {
|
||||
l.next.CreateDrive(w, r)
|
||||
}
|
||||
|
||||
// GetRootDriveChildren implements the Service interface.
|
||||
func (l logging) GetRootDriveChildren(w http.ResponseWriter, r *http.Request) {
|
||||
l.next.GetRootDriveChildren(w, r)
|
||||
}
|
||||
|
||||
@@ -50,6 +50,7 @@ type Service interface {
|
||||
GetDrives(w http.ResponseWriter, r *http.Request)
|
||||
GetSingleDrive(w http.ResponseWriter, r *http.Request)
|
||||
GetAllDrives(w http.ResponseWriter, r *http.Request)
|
||||
GetRootDriveChildren(w http.ResponseWriter, r *http.Request)
|
||||
CreateDrive(w http.ResponseWriter, r *http.Request)
|
||||
UpdateDrive(w http.ResponseWriter, r *http.Request)
|
||||
DeleteDrive(w http.ResponseWriter, r *http.Request)
|
||||
|
||||
@@ -124,3 +124,8 @@ func (t tracing) GetAllDrives(w http.ResponseWriter, r *http.Request) {
|
||||
func (t tracing) CreateDrive(w http.ResponseWriter, r *http.Request) {
|
||||
t.next.CreateDrive(w, r)
|
||||
}
|
||||
|
||||
// GetRootDriveChildren implements the Service interface.
|
||||
func (t tracing) GetRootDriveChildren(w http.ResponseWriter, r *http.Request) {
|
||||
t.next.GetRootDriveChildren(w, r)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user