Documentation ¶
Index ¶
- Variables
- type Circle
- type GetInstanceCountByDomainResponse
- type Graph
- type Line
- type Node
- type ResourceV3
- type ResourceV4
- func (governService *ResourceV4) GetAllApplications(w http.ResponseWriter, r *http.Request)
- func (governService *ResourceV4) GetAllServicesInfo(w http.ResponseWriter, r *http.Request)
- func (governService *ResourceV4) GetGraph(w http.ResponseWriter, r *http.Request)
- func (governService *ResourceV4) GetServiceDetail(w http.ResponseWriter, r *http.Request)
- func (governService *ResourceV4) URLPatterns() []rest.Route
- type Service
- func (governService *Service) GetApplications(ctx context.Context, in *pb.GetAppsRequest) (*pb.GetAppsResponse, error)
- func (governService *Service) GetServiceDetail(ctx context.Context, in *pb.GetServiceRequest) (*pb.GetServiceDetailResponse, error)
- func (governService *Service) GetServicesInfo(ctx context.Context, in *pb.GetServicesInfoRequest) (*pb.GetServicesInfoResponse, error)
- type ServiceDetailOpt
Constants ¶
This section is empty.
Variables ¶
View Source
var ServiceAPI proto.GovernServiceCtrlServer = &Service{}
Functions ¶
This section is empty.
Types ¶
type GetInstanceCountByDomainResponse ¶
type GetInstanceCountByDomainResponse struct {
// contains filtered or unexported fields
}
type Graph ¶
type Graph struct { Nodes []Node `json:"nodes"` Lines []Line `json:"lines"` Circles []Circle `json:"circles"` Visits []string `json:"-"` }
Graph 图全集信息
type Line ¶
type Line struct { From Node `json:"from"` To Node `json:"to"` Type string `json:"type"` Color string `json:"color"` Description string `json:"descriptor"` }
Line 连接线信息
type Node ¶
type Node struct { ID string `json:"id"` Name string `json:"name"` AppID string `json:"appId"` Version string `json:"version"` Type string `json:"type"` Color string `json:"color"` Position string `json:"position"` Visits []string `json:"-"` }
Node 节点信息
type ResourceV3 ¶
type ResourceV3 struct {
ResourceV4
}
Service 治理相关接口服务
func (*ResourceV3) URLPatterns ¶
func (governService *ResourceV3) URLPatterns() []rest.Route
URLPatterns 路由
type ResourceV4 ¶
type ResourceV4 struct { }
Service 治理相关接口服务
func (*ResourceV4) GetAllApplications ¶
func (governService *ResourceV4) GetAllApplications(w http.ResponseWriter, r *http.Request)
func (*ResourceV4) GetAllServicesInfo ¶
func (governService *ResourceV4) GetAllServicesInfo(w http.ResponseWriter, r *http.Request)
func (*ResourceV4) GetGraph ¶
func (governService *ResourceV4) GetGraph(w http.ResponseWriter, r *http.Request)
GetGraph 获取依赖连接图详细依赖关系
func (*ResourceV4) GetServiceDetail ¶
func (governService *ResourceV4) GetServiceDetail(w http.ResponseWriter, r *http.Request)
GetServiceDetail 查询服务详细信息
func (*ResourceV4) URLPatterns ¶
func (governService *ResourceV4) URLPatterns() []rest.Route
URLPatterns 路由
type Service ¶
type Service struct { }
func (*Service) GetApplications ¶
func (governService *Service) GetApplications(ctx context.Context, in *pb.GetAppsRequest) (*pb.GetAppsResponse, error)
func (*Service) GetServiceDetail ¶
func (governService *Service) GetServiceDetail(ctx context.Context, in *pb.GetServiceRequest) (*pb.GetServiceDetailResponse, error)
func (*Service) GetServicesInfo ¶
func (governService *Service) GetServicesInfo(ctx context.Context, in *pb.GetServicesInfoRequest) (*pb.GetServicesInfoResponse, error)
type ServiceDetailOpt ¶
type ServiceDetailOpt struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.