This commit is contained in:
2023-10-25 17:37:18 +03:00
parent b666789c7d
commit 4120cd2b1a
639 changed files with 2010 additions and 3224 deletions

View File

@@ -6,7 +6,7 @@ import (
"net/http"
)
// Request struct for search
// SearchRequest struct for search
type SearchRequest struct {
// ID of the account to search for the Disk
// Required: false
@@ -28,7 +28,7 @@ type SearchRequest struct {
Size uint64 `url:"size,omitempty" json:"size,omitempty"`
}
// Search search disks
// Search searches disks
func (d Disks) Search(ctx context.Context, req SearchRequest) (SearchListDisks, error) {
url := "/cloudbroker/disks/search"