v1.16.6
This commit is contained in:
dayterr
2026-10-02 16:36:20 +03:00
parent d26e8b2621
commit 25e2242360
28 changed files with 293 additions and 109 deletions

View File

@@ -38,6 +38,10 @@ type ListRequest struct {
// Required: false
SortBy string `url:"sort_by,omitempty" json:"sort_by,omitempty" validate:"omitempty,sortBy"`
// Filter by user ID
// Required: false
UserID string `url:"user_id,omitempty" json:"user_id,omitempty"`
// Page number
// Required: false
Page uint64 `url:"page,omitempty" json:"page,omitempty"`

View File

@@ -161,51 +161,51 @@ type CloudAPIEndpoints struct {
}
type CloudBrokerEndpoints struct {
Account []string `json:"account,omitempty"`
APIAccess []string `json:"apiaccess,omitempty"`
Account interface{} `json:"account,omitempty"`
APIAccess interface{} `json:"apiaccess,omitempty"`
Audit interface{} `json:"audit,omitempty"`
AuditBeat []string `json:"auditbeat,omitempty"`
AuditCollector []string `json:"auditcollector,omitempty"`
Backup []string `json:"backup,omitempty"`
BackupCreator []string `json:"backupcreator,omitempty"`
BService []string `json:"bservice,omitempty"`
Compute []string `json:"compute,omitempty"`
Disks []string `json:"disks,omitempty"`
DPDKNet []string `json:"dpdknet,omitempty"`
Eco []string `json:"eco,omitempty"`
ExtNet []string `json:"extnet,omitempty"`
FlIPgroup []string `json:"flipgroup,omitempty"`
Grid []string `json:"grid,omitempty"`
Group []string `json:"group,omitempty"`
Health []string `json:"health,omitempty"`
Image []string `json:"image,omitempty"`
AuditCollector interface{} `json:"auditcollector,omitempty"`
Backup interface{} `json:"backup,omitempty"`
BackupCreator interface{} `json:"backupcreator,omitempty"`
BService interface{} `json:"bservice,omitempty"`
Compute interface{} `json:"compute,omitempty"`
Disks interface{} `json:"disks,omitempty"`
DPDKNet interface{} `json:"dpdknet,omitempty"`
Eco interface{} `json:"eco,omitempty"`
ExtNet interface{} `json:"extnet,omitempty"`
FlIPgroup interface{} `json:"flipgroup,omitempty"`
Grid interface{} `json:"grid,omitempty"`
Group interface{} `json:"group,omitempty"`
Health interface{} `json:"health,omitempty"`
Image interface{} `json:"image,omitempty"`
Job interface{} `json:"job,omitempty"`
K8CI []string `json:"k8ci,omitempty"`
K8S []string `json:"k8s,omitempty"`
KVMX86 []string `json:"kvmx86,omitempty"`
LB []string `json:"lb,omitempty"`
Metering []string `json:"metering,omitempty"`
Milestones []string `json:"milestones,omitempty"`
K8CI interface{} `json:"k8ci,omitempty"`
K8S interface{} `json:"k8s,omitempty"`
KVMX86 interface{} `json:"kvmx86,omitempty"`
LB interface{} `json:"lb,omitempty"`
Metering interface{} `json:"metering,omitempty"`
Milestones interface{} `json:"milestones,omitempty"`
Node []string `json:"node,omitempty"`
PCIDevice []string `json:"pcidevice,omitempty"`
PGPU []string `json:"pgpu,omitempty"`
Prometheus []string `json:"prometheus,omitempty"`
PCIDevice interface{} `json:"pcidevice,omitempty"`
PGPU interface{} `json:"pgpu,omitempty"`
Prometheus interface{} `json:"prometheus,omitempty"`
Resmon interface{} `json:"resmon,omitempty"`
RG []string `json:"rg,omitempty"`
SecurityGroup []string `json:"security_group,omitempty"`
Sep []string `json:"sep,omitempty"`
StoragePolicy []string `json:"storage_policy,omitempty"`
Tasks []string `json:"tasks,omitempty"`
TLock []string `json:"tlock,omitempty"`
Trunk []string `json:"trunk,omitempty"`
User []string `json:"user,omitempty"`
VFPool []string `json:"vfpool,omitempty"`
VGPU []string `json:"vgpu,omitempty"`
VINS []string `json:"vins,omitempty"`
VMFolder []string `json:"vmfolder,omitempty"`
VNFDev []string `json:"vnfdev,omitempty"`
ZeroAccess []string `json:"zeroaccess,omitempty"`
Zone []string `json:"zone,omitempty"`
RG interface{} `json:"rg,omitempty"`
SecurityGroup interface{} `json:"security_group,omitempty"`
Sep interface{} `json:"sep,omitempty"`
StoragePolicy interface{} `json:"storage_policy,omitempty"`
Tasks interface{} `json:"tasks,omitempty"`
TLock interface{} `json:"tlock,omitempty"`
Trunk interface{} `json:"trunk,omitempty"`
User interface{} `json:"user,omitempty"`
VFPool interface{} `json:"vfpool,omitempty"`
VGPU interface{} `json:"vgpu,omitempty"`
VINS interface{} `json:"vins,omitempty"`
VMFolder interface{} `json:"vmfolder,omitempty"`
VNFDev interface{} `json:"vnfdev,omitempty"`
ZeroAccess interface{} `json:"zeroaccess,omitempty"`
Zone interface{} `json:"zone,omitempty"`
All bool `json:"ALL,omitempty"`
}

View File

@@ -24,6 +24,8 @@ type UserListRequest struct {
}
// UserList gets a list of users currently included in the specified group.
//
// Deprecated: will be removed in SDK v1.17
func (a APIAccess) UserList(ctx context.Context, req UserListRequest) ([]string, error) {
err := validators.ValidateRequest(req)
if err != nil {