Documentation ¶
Index ¶
- func AppCreate(c echo.Context) error
- func AppDelete(c echo.Context) error
- func AppEnvZoneList(c echo.Context) error
- func AppInfo(c echo.Context) error
- func AppList(c echo.Context) error
- func AppListWithEnv(c echo.Context) error
- func AppNodeInfo(c echo.Context) error
- func AppNodeList(c echo.Context) error
- func AppNodeListSync(c echo.Context) error
- func AppNodePut(c echo.Context) error
- func AppNodeTransferList(c echo.Context) error
- func AppNodeTransferPut(c echo.Context) error
- func AppPut(c echo.Context) error
- func AppUpdate(c echo.Context) error
- func GetFrameVersion(c echo.Context) error
- func GrpcAddrList(c *core.Context) error
- func HttpAddrList(c *core.Context) error
- func NodeCreate(c echo.Context) error
- func NodeDelete(c echo.Context) error
- func NodeEnvZone(c echo.Context) (err error)
- func NodeHeartBeat(c echo.Context) error
- func NodeInfo(c echo.Context) error
- func NodeList(c echo.Context) error
- func NodePut(c echo.Context) error
- func NodeStatics(c echo.Context) error
- func NodeTransferList(c echo.Context) error
- func NodeTransferPut(c echo.Context) error
- func NodeUpdate(c echo.Context) error
- func ZoneCreate(c echo.Context) error
- func ZoneDelete(c echo.Context) error
- func ZoneEnv(c echo.Context) (err error)
- func ZoneInfo(c echo.Context) error
- func ZoneList(c echo.Context) error
- func ZonePut(c echo.Context) error
- func ZoneUpdate(c echo.Context) error
- type AddrEnvItem
- type NodeStaticsInfo
- type QueryAppByAppName
- type ReqAppCreate
- type ReqAppDelete
- type ReqAppEnvNodeList
- type ReqAppInfo
- type ReqAppList
- type ReqAppNodeCreate
- type ReqAppNodeDelete
- type ReqAppNodeInfo
- type ReqAppNodeList
- type ReqAppNodePut
- type ReqAppNodeTransferList
- type ReqAppNodeTransferPut
- type ReqAppNodeUpdate
- type ReqAppPut
- type ReqAppUpdate
- type ReqCluterInfo
- type ReqNodeCreate
- type ReqNodeDelete
- type ReqNodeHeartBeat
- type ReqNodeInfo
- type ReqNodeList
- type ReqNodePut
- type ReqNodeTransferList
- type ReqNodeTransferPut
- type ReqNodeUpdate
- type ReqZoneCreate
- type ReqZoneDelete
- type ReqZoneInfo
- type ReqZoneList
- type ReqZonePut
- type ReqZoneUpdate
- type RespAppGrpcAddrList
- type RespAppHTTPAddrList
- type RespNodeStatics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppEnvZoneList ¶
func AppEnvZoneList(c echo.Context) error
func AppNodeInfo ¶
func AppNodeInfo(c echo.Context) error
func AppNodeList ¶
func AppNodeList(c echo.Context) error
func AppNodeListSync ¶ added in v0.4.12
func AppNodeListSync(c echo.Context) error
func AppNodePut ¶
func AppNodePut(c echo.Context) error
func AppNodeTransferList ¶
func AppNodeTransferList(c echo.Context) error
func AppNodeTransferPut ¶
func AppNodeTransferPut(c echo.Context) error
func GetFrameVersion ¶ added in v0.3.0
func GetFrameVersion(c echo.Context) error
GetFrameVersion ..
func GrpcAddrList ¶ added in v0.3.0
GrpcAddrList 获取 Grpc 的地址列表
func HttpAddrList ¶ added in v0.3.0
HttpAddrList 获取 Http 地址列表
func NodeEnvZone ¶ added in v0.2.0
func NodeEnvZone(c echo.Context) (err error)
根据Node数据表聚合数据获取Zone和Env关联列表
func NodeTransferList ¶
func NodeTransferList(c echo.Context) error
NodeTransferList list of available areas of the node
func NodeTransferPut ¶
func NodeTransferPut(c echo.Context) error
NodeTransferPut Update the list of available areas of the node
func NodeUpdate ¶
func NodeUpdate(c echo.Context) error
Types ¶
type AddrEnvItem ¶ added in v0.3.0
type NodeStaticsInfo ¶
type QueryAppByAppName ¶ added in v0.3.0
type QueryAppByAppName struct {
AppName string `query:"app_name"`
}
type ReqAppCreate ¶
type ReqAppDelete ¶
type ReqAppEnvNodeList ¶ added in v0.2.0
type ReqAppEnvNodeList struct {
AppName string `query:"app_name"`
}
type ReqAppInfo ¶
应用信息
type ReqAppList ¶
type ReqAppNodeCreate ¶
type ReqAppNodeDelete ¶
type ReqAppNodeList ¶
type ReqAppNodePut ¶
type ReqAppNodeTransferList ¶
type ReqAppNodeTransferList struct {
Aid int `query:"aid"`
}
type ReqAppNodeTransferPut ¶
type ReqAppNodeUpdate ¶
type ReqAppUpdate ¶
type ReqCluterInfo ¶ added in v0.4.3
type ReqNodeCreate ¶
type ReqNodeDelete ¶
type ReqNodeHeartBeat ¶
type ReqNodeHeartBeat struct { Hostname string `json:"hostname"` IP string `json:"ip"` AgentVersion string `json:"agent_version"` RegionCode string `json:"region_code"` RegionName string `json:"region_name"` ZoneCode string `json:"zone_code"` ZoneName string `json:"zone_name"` AppName string `json:"app_name"` Env string `json:"env"` }
type ReqNodeInfo ¶
节点信息
type ReqNodeList ¶
type ReqNodePut ¶
type ReqNodeTransferList ¶
type ReqNodeTransferPut ¶
type ReqNodeUpdate ¶
type ReqZoneCreate ¶
type ReqZoneDelete ¶
type ReqZoneInfo ¶
机房信息
type ReqZoneList ¶
type ReqZonePut ¶
type ReqZoneUpdate ¶
type RespAppGrpcAddrList ¶ added in v0.3.0
type RespAppGrpcAddrList struct { Port string `json:"port"` Hosts []AddrEnvItem `json:"hosts"` }
type RespAppHTTPAddrList ¶ added in v0.3.0
type RespAppHTTPAddrList struct { Port string `json:"port"` Hosts []AddrEnvItem `json:"hosts"` }
type RespNodeStatics ¶
type RespNodeStatics struct { DayCnt []NodeStaticsInfo `json:"day_cnt"` NodeStatus []NodeStaticsInfo `json:"node_status"` NodeApp []NodeStaticsInfo `json:"node_app"` EnvZone []NodeStaticsInfo `json:"env_zone"` }
Click to show internal directories.
Click to hide internal directories.