Documentation ¶
Index ¶
- func AddClusterTags(ctx *gin.Context)
- func AddSecurityGroupRule(ctx *gin.Context)
- func CheckInstanceConnectable(ctx *gin.Context)
- func CreateCloudAccount(ctx *gin.Context)
- func CreateCluster(ctx *gin.Context)
- func CreateCustomPrivate(ctx *gin.Context)
- func CreateCustomPublic(ctx *gin.Context)
- func CreateKeyPair(ctx *gin.Context)
- func CreateNetworkConfig(ctx *gin.Context)
- func CreateOrg(ctx *gin.Context)
- func CreateSecurityGroup(ctx *gin.Context)
- func CreateSecurityGroupWithRules(ctx *gin.Context)
- func CreateSwitch(ctx *gin.Context)
- func CreateUser(ctx *gin.Context)
- func CreateVpc(ctx *gin.Context)
- func CustomClusterDetail(ctx *gin.Context)
- func DeleteCloudAccount(ctx *gin.Context)
- func DeleteClusterTags(ctx *gin.Context)
- func DeleteClusters(ctx *gin.Context)
- func DescribeSecurityGroup(ctx *gin.Context)
- func DescribeSwitch(ctx *gin.Context)
- func DescribeVpc(ctx *gin.Context)
- func EditCloudAccount(ctx *gin.Context)
- func EditCluster(ctx *gin.Context)
- func EditClusterTags(ctx *gin.Context)
- func EditOrg(ctx *gin.Context)
- func EnableUser(ctx *gin.Context)
- func ExpandCluster(ctx *gin.Context)
- func ExtractLog(ctx *gin.Context)
- func GetAccountInfo(ctx *gin.Context)
- func GetClusterAuthByName(ctx *gin.Context)
- func GetClusterById(ctx *gin.Context)
- func GetClusterByName(ctx *gin.Context)
- func GetClusterCount(ctx *gin.Context)
- func GetClusterTags(ctx *gin.Context)
- func GetCustomInstanceList(ctx *gin.Context)
- func GetImageList(ctx *gin.Context)
- func GetInstance(ctx *gin.Context)
- func GetInstanceCount(ctx *gin.Context)
- func GetInstanceList(ctx *gin.Context)
- func GetInstanceStat(ctx *gin.Context)
- func GetInstanceUsageStatistics(ctx *gin.Context)
- func GetInstanceUsageTotal(ctx *gin.Context)
- func GetKeyPair(ctx *gin.Context)
- func GetNetCfgTemplate(ctx *gin.Context)
- func GetOrgById(ctx *gin.Context)
- func GetOrgKeys(ctx *gin.Context) (*types.OrgKeys, error)
- func GetSecurityGroupWithRules(ctx *gin.Context)
- func GetSwitchById(ctx *gin.Context)
- func GetTaskCount(ctx *gin.Context)
- func GetTaskDescribe(ctx *gin.Context)
- func GetTaskDescribeAll(ctx *gin.Context)
- func GetTaskInstances(ctx *gin.Context)
- func GetTaskList(ctx *gin.Context)
- func GetUserInfo(ctx *gin.Context)
- func GetVpcById(ctx *gin.Context)
- func ImportKeyPair(ctx *gin.Context)
- func ListCloudAccounts(ctx *gin.Context)
- func ListClusters(ctx *gin.Context)
- func ListClustersByTags(ctx *gin.Context)
- func ListInstanceType(ctx *gin.Context)
- func ListKeyPairs(ctx *gin.Context)
- func ListOrgs(ctx *gin.Context)
- func ListRegions(ctx *gin.Context)
- func ListUsers(ctx *gin.Context)
- func ListZones(ctx *gin.Context)
- func Login(ctx *gin.Context)
- func ModifyAdminPassword(ctx *gin.Context)
- func ModifyUsername(ctx *gin.Context)
- func ModifyUsertype(ctx *gin.Context)
- func RefreshToken(ctx *gin.Context)
- func ShrinkAllInstances(ctx *gin.Context)
- func ShrinkCluster(ctx *gin.Context)
- func SyncInstanceExpireTime(ctx *gin.Context)
- func SyncNetworkConfig(ctx *gin.Context)
- type ExtractLogRequest
- type ExtractLogsResponse
- type GetImageListRequest
- type Log
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddClusterTags ¶
func AddSecurityGroupRule ¶
func CheckInstanceConnectable ¶ added in v0.4.0
func CreateCloudAccount ¶
func CreateCluster ¶
func CreateCustomPrivate ¶ added in v0.4.0
func CreateCustomPublic ¶ added in v0.4.0
func CreateKeyPair ¶ added in v0.7.0
func CreateNetworkConfig ¶
func CreateSecurityGroup ¶
func CreateSwitch ¶
func CreateUser ¶
func CustomClusterDetail ¶ added in v0.4.0
func DeleteCloudAccount ¶
func DeleteClusterTags ¶ added in v0.1.5
func DeleteClusters ¶
func DescribeSecurityGroup ¶
func DescribeSwitch ¶
func DescribeVpc ¶
func EditCloudAccount ¶
func EditCluster ¶
func EditClusterTags ¶ added in v0.1.5
func EnableUser ¶
func ExpandCluster ¶
func ExtractLog ¶ added in v0.4.0
func GetAccountInfo ¶ added in v0.1.5
GetAccountInfo get accountKey and encrypt accountSecret by clusterName
func GetClusterAuthByName ¶ added in v0.7.0
func GetClusterById ¶
func GetClusterByName ¶
func GetClusterCount ¶
func GetClusterTags ¶ added in v0.1.5
func GetCustomInstanceList ¶ added in v0.4.0
func GetImageList ¶
func GetInstance ¶
func GetInstanceCount ¶
func GetInstanceList ¶
func GetInstanceStat ¶ added in v0.1.2
func GetInstanceUsageTotal ¶
func GetKeyPair ¶ added in v0.7.0
func GetNetCfgTemplate ¶ added in v0.7.0
func GetOrgById ¶
func GetSecurityGroupWithRules ¶ added in v0.7.0
func GetSwitchById ¶ added in v0.7.0
func GetTaskCount ¶
func GetTaskDescribe ¶
func GetTaskDescribeAll ¶
func GetTaskInstances ¶
func GetTaskList ¶
func GetUserInfo ¶
func GetVpcById ¶ added in v0.7.0
func ImportKeyPair ¶ added in v0.7.0
func ListCloudAccounts ¶
func ListClusters ¶
func ListClustersByTags ¶ added in v0.1.5
func ListInstanceType ¶
func ListKeyPairs ¶ added in v0.7.0
func ListRegions ¶
func ModifyAdminPassword ¶
func ModifyUsername ¶
func ModifyUsertype ¶ added in v0.5.1
func RefreshToken ¶
func ShrinkAllInstances ¶ added in v0.1.5
func ShrinkCluster ¶
func SyncInstanceExpireTime ¶ added in v0.1.5
func SyncNetworkConfig ¶ added in v0.7.0
Types ¶
type ExtractLogRequest ¶ added in v0.4.0
type ExtractLogRequest struct { Operators []int64 `json:"operators" form:"operators"` Operations []string `json:"operations" form:"operations"` TimeStart string `json:"time_start" form:"time_start"` TimeEnd string `json:"time_end" form:"time_end"` PageNumber int `json:"page_number" form:"page_number"` PageSize int `json:"page_size" form:"page_size"` }
type ExtractLogsResponse ¶ added in v0.4.0
type GetImageListRequest ¶ added in v0.1.5
type GetImageListRequest struct { RegionID string `json:"region_id" binding:"required" form:"region_id"` Provider string `json:"provider" binding:"required,mustIn=cloud" form:"provider"` InsType string `json:"instance_type" form:"instance_type"` ImageType string `json:"image_type" binding:"required" form:"image_type"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.