handlers

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 3 more Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DescribeFunctuionList added in v1.12.2

func DescribeFunctuionList() gin.HandlerFunc

func DescribeMetricLabels added in v1.12.0

func DescribeMetricLabels() gin.HandlerFunc

func DescribeRequestInterface added in v1.12.0

func DescribeRequestInterface(polarisServer *bootstrap.PolarisServer, conf *bootstrap.Config) gin.HandlerFunc

func DescribeServerNodes added in v1.12.0

func DescribeServerNodes(polarisServer *bootstrap.PolarisServer, conf *bootstrap.Config) gin.HandlerFunc

func DescribeServiceCallerMetric added in v1.13.0

func DescribeServiceCallerMetric(polarisServer *bootstrap.PolarisServer, conf *bootstrap.Config) gin.HandlerFunc

DescribeServiceCallerMetric 查询服务调用者级别监控指标列表视图

func DescribeServiceInstances added in v1.13.0

func DescribeServiceInstances(conf *bootstrap.Config) gin.HandlerFunc

func DescribeServiceInstancesMetric added in v1.13.0

func DescribeServiceInstancesMetric(polarisServer *bootstrap.PolarisServer, conf *bootstrap.Config) gin.HandlerFunc

DescribeServiceInstancesMetric 查询服务下实例级别监控指标列表视图

func DescribeServiceInterfacesMetric added in v1.13.0

func DescribeServiceInterfacesMetric(polarisServer *bootstrap.PolarisServer, conf *bootstrap.Config) gin.HandlerFunc

DescribeServiceInterfacesMetric 查询服务下接口级别监控指标列表视图

func DescribeServicesMetric added in v1.13.0

func DescribeServicesMetric(polarisServer *bootstrap.PolarisServer, conf *bootstrap.Config) gin.HandlerFunc

DescribeServicesMetric 查询服务级别监控指标列表视图

func PolarisPage

func PolarisPage(conf *bootstrap.Config) gin.HandlerFunc

PolarisPage polaris页面

func ReverseProxyForLogin

func ReverseProxyForLogin(polarisServer *bootstrap.PolarisServer, conf *bootstrap.Config) gin.HandlerFunc

ReverseProxyForLogin 反向代理

func ReverseProxyForMonitorServer

func ReverseProxyForMonitorServer(monitorServer *bootstrap.MonitorServer) gin.HandlerFunc

func ReverseProxyForServer

func ReverseProxyForServer(polarisServer *bootstrap.PolarisServer, conf *bootstrap.Config) gin.HandlerFunc

ReverseProxyForServer 反向代理

func ReverseProxyNoAuthForServer

func ReverseProxyNoAuthForServer(polarisServer *bootstrap.PolarisServer, conf *bootstrap.Config) gin.HandlerFunc

ReverseProxyNoAuthForServer 反向代理

Types

type Description added in v1.12.0

type Description struct {
	Name        string   `json:"name"`
	Desc        string   `json:"desc"`
	Type        string   `json:"type"`
	QueryLabels []string `json:"query_labels"`
}

type FunctionDesc added in v1.12.2

type FunctionDesc struct {
	Name    string `json:"name"`
	Display string `json:"display"`
	Tip     string `json:"tip"`
}

type GetUserTokenResponse

type GetUserTokenResponse struct {
	Code int    `json:"code"`
	Info string `json:"info"`
	User *User  `json:"user"`
}

type LoginRequest added in v1.12.0

type LoginRequest struct {
	Owner    string `json:"owner"`
	Name     string `json:"name"`
	Password string `json:"password"`
}

type RetStatus added in v1.13.0

type RetStatus string
const (
	RetUnknown     RetStatus = "unknown"
	RetSuccess     RetStatus = "success"
	RetFail        RetStatus = "fail"
	RetTimeout     RetStatus = "timeout"
	RetReject      RetStatus = "reject"
	RetFlowControl RetStatus = "flow_control"
)

type ServiceOwner

type ServiceOwner struct {
	Namespace string
	Name      string
	Owners    map[string]bool
}

ServiceOwner 服务(规则)负责人信息

type User

type User struct {
	ID          string `json:"id"`
	AuthToken   string `json:"auth_token"`
	TokenEnable bool   `json:"token_enable"`
}

Jump to

Keyboard shortcuts

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