39 lines
1.2 KiB
Go
39 lines
1.2 KiB
Go
package types
|
|
|
|
type AdaptorInfo struct {
|
|
AdapterId int64
|
|
CoreUrl string
|
|
}
|
|
|
|
type ClusterResp struct {
|
|
Code int `json:"code"`
|
|
Msg string `json:"msg"`
|
|
Data struct {
|
|
List []struct {
|
|
Id string `json:"id"`
|
|
AdapterId string `json:"adapterId"`
|
|
Name string `json:"name"`
|
|
Nickname string `json:"nickname"`
|
|
Description string `json:"description"`
|
|
Server string `json:"server"`
|
|
MonitorServer string `json:"monitorServer,omitempty"`
|
|
Label string `json:"label"`
|
|
AuthType string `json:"authType"`
|
|
CreateTime string `json:"createTime"`
|
|
Token string `json:"token,omitempty"`
|
|
Region string `json:"region,omitempty"`
|
|
ProjectId string `json:"projectId,omitempty"`
|
|
Version string `json:"version,omitempty"`
|
|
OwnerId string `json:"ownerId,omitempty"`
|
|
ProducerDict string `json:"producerDict,omitempty"`
|
|
RegionDict string `json:"regionDict,omitempty"`
|
|
Username string `json:"username,omitempty"`
|
|
Password string `json:"password,omitempty"`
|
|
} `json:"list"`
|
|
Total int `json:"total"`
|
|
PageNum int `json:"pageNum"`
|
|
PageSize int `json:"pageSize"`
|
|
} `json:"data"`
|
|
TraceId string `json:"traceId"`
|
|
}
|