request

package
v0.0.0-...-c9be414 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudAccountAddReq

type CloudAccountAddReq struct {
	CloudName string `json:"cloudName" validate:"required,min=1,max=64"`
	CloudType string `json:"cloudType" validate:"required,min=1,max=64"`
	SecretId  string `json:"secretId" validate:"required,min=1,max=64"`
	SecretKey string `json:"secretKey" validate:"required,min=1,max=64"`
	Remark    string `json:"remark" validate:"min=0,max=128"`
}

CloudAccountAddReq 添加资源结构体

type CloudAccountDeleteReq

type CloudAccountDeleteReq struct {
	CloudAccountIds []uint `json:"cloudAccountIds" validate:"required"`
}

CloudAccountDeleteReq 删除资源结构体

type CloudAccountGetTreeReq

type CloudAccountGetTreeReq struct {
}

CloudAccountGetTreeReq 获取资源树结构体

type CloudAccountListReq

type CloudAccountListReq struct {
	CloudName string `json:"cloudName" form:"cloudName"`
	CloudType string `json:"cloudType" form:"cloudType"`
	SecretId  string `json:"secretId" form:"secretId"`
	PageNum   int    `json:"pageNum" form:"pageNum"`
	PageSize  int    `json:"pageSize" form:"pageSize"`
}

CloudAccountListReq 获取资源列表结构体

type CloudAccountUpdateReq

type CloudAccountUpdateReq struct {
	ID        uint   `json:"id" validate:"required"`
	CloudName string `json:"cloudName" validate:"min=0,max=64"`
	CloudType string `json:"cloudType" validate:"min=0,max=64"`
	SecretId  string `json:"secretId" validate:"min=0,max=64"`
	SecretKey string `json:"secretKey" validate:"min=0,max=64"`
	Remark    string `json:"remark" validate:"min=0,max=128"`
}

CloudAccountUpdateReq 更新资源结构体

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL