handler

package
v0.0.0-...-ca44064 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdminMetadata

func AdminMetadata(rt core_runtime.Runtime) gin.HandlerFunc

func ApplicationConfigFlowWeightGET

func ApplicationConfigFlowWeightGET(rt core_runtime.Runtime) gin.HandlerFunc

func ApplicationConfigFlowWeightPUT

func ApplicationConfigFlowWeightPUT(rt core_runtime.Runtime) gin.HandlerFunc

func ApplicationConfigGrayGET

func ApplicationConfigGrayGET(rt core_runtime.Runtime) gin.HandlerFunc

func ApplicationConfigGrayPUT

func ApplicationConfigGrayPUT(rt core_runtime.Runtime) gin.HandlerFunc

func ApplicationConfigOperatorLogGet

func ApplicationConfigOperatorLogGet(rt core_runtime.Runtime) gin.HandlerFunc

func ApplicationConfigOperatorLogPut

func ApplicationConfigOperatorLogPut(rt core_runtime.Runtime) gin.HandlerFunc

func ApplicationSearch

func ApplicationSearch(rt core_runtime.Runtime) gin.HandlerFunc

func BannerGlobalSearch

func BannerGlobalSearch(rt core_runtime.Runtime) gin.HandlerFunc

Search API Definition: https://app.apifox.com/project/3732499 全局搜索

func ClusterOverview

func ClusterOverview(rt core_runtime.Runtime) gin.HandlerFunc

func ConditionRuleSearch

func ConditionRuleSearch(rt core_runtime.Runtime) gin.HandlerFunc

func ConfiguratorSearch

func ConfiguratorSearch(rt core_runtime.Runtime) gin.HandlerFunc

func DeleteConditionRuleWithRuleName

func DeleteConditionRuleWithRuleName(rt core_runtime.Runtime) gin.HandlerFunc

func DeleteConfiguratorWithRuleName

func DeleteConfiguratorWithRuleName(rt core_runtime.Runtime) gin.HandlerFunc

func DeleteTagRuleWithRuleName

func DeleteTagRuleWithRuleName(rt core_runtime.Runtime) gin.HandlerFunc

func GetApplicationDetail

func GetApplicationDetail(rt core_runtime.Runtime) gin.HandlerFunc

func GetApplicationServiceForm

func GetApplicationServiceForm(rt core_runtime.Runtime) gin.HandlerFunc

func GetApplicationTabInstanceInfo

func GetApplicationTabInstanceInfo(rt core_runtime.Runtime) gin.HandlerFunc

func GetConditionRuleWithRuleName

func GetConditionRuleWithRuleName(rt core_runtime.Runtime) gin.HandlerFunc

func GetConfiguratorWithRuleName

func GetConfiguratorWithRuleName(rt core_runtime.Runtime) gin.HandlerFunc

func GetInstanceDetail

func GetInstanceDetail(rt core_runtime.Runtime) gin.HandlerFunc

func GetInstances

func GetInstances(rt core_runtime.Runtime) gin.HandlerFunc

func GetMappings

func GetMappings(rt core_runtime.Runtime) gin.HandlerFunc

func GetMetas

func GetMetas(rt core_runtime.Runtime) gin.HandlerFunc

func GetMetricDashBoard

func GetMetricDashBoard(rt core_runtime.Runtime, dim Dimension) gin.HandlerFunc

func GetMetricsList

func GetMetricsList(rt core_runtime.Runtime) gin.HandlerFunc

func GetPrometheus

func GetPrometheus(rt core_runtime.Runtime) gin.HandlerFunc

func GetServiceDetail

func GetServiceDetail(rt core_runtime.Runtime) gin.HandlerFunc

func GetServiceInterfaces

func GetServiceInterfaces(rt core_runtime.Runtime) gin.HandlerFunc

func GetServiceTabDistribution

func GetServiceTabDistribution(rt core_runtime.Runtime) gin.HandlerFunc

service distribution

func GetTagRuleWithRuleName

func GetTagRuleWithRuleName(rt core_runtime.Runtime) gin.HandlerFunc

func GetTraceDashBoard

func GetTraceDashBoard(rt core_runtime.Runtime, dim Dimension) gin.HandlerFunc

func Grafana

func Grafana(rt core_runtime.Runtime) gin.HandlerFunc

func InstanceConfigOperatorLogGET

func InstanceConfigOperatorLogGET(rt core_runtime.Runtime) gin.HandlerFunc

func InstanceConfigOperatorLogPUT

func InstanceConfigOperatorLogPUT(rt core_runtime.Runtime) gin.HandlerFunc

func InstanceConfigTrafficDisableGET

func InstanceConfigTrafficDisableGET(rt core_runtime.Runtime) gin.HandlerFunc

func InstanceConfigTrafficDisablePUT

func InstanceConfigTrafficDisablePUT(rt core_runtime.Runtime) gin.HandlerFunc

func ListServices

func ListServices(rt core_runtime.Runtime) gin.HandlerFunc

func PostConditionRuleWithRuleName

func PostConditionRuleWithRuleName(rt core_runtime.Runtime) gin.HandlerFunc

func PostConfiguratorWithRuleName

func PostConfiguratorWithRuleName(rt core_runtime.Runtime) gin.HandlerFunc

func PostTagRuleWithRuleName

func PostTagRuleWithRuleName(rt core_runtime.Runtime) gin.HandlerFunc

func PromQL

func PutConditionRuleWithRuleName

func PutConditionRuleWithRuleName(rt core_runtime.Runtime) gin.HandlerFunc

func PutConfiguratorWithRuleName

func PutConfiguratorWithRuleName(rt core_runtime.Runtime) gin.HandlerFunc

func PutTagRuleWithRuleName

func PutTagRuleWithRuleName(rt core_runtime.Runtime) gin.HandlerFunc

func SearchInstances

func SearchInstances(rt core_runtime.Runtime) gin.HandlerFunc

func SearchServices

func SearchServices(rt core_runtime.Runtime) gin.HandlerFunc

API Definition: https://app.apifox.com/project/3732499 资源详情-服务 service search

func ServiceConfigArgumentRouteGET

func ServiceConfigArgumentRouteGET(rt core_runtime.Runtime) gin.HandlerFunc

func ServiceConfigArgumentRoutePUT

func ServiceConfigArgumentRoutePUT(rt core_runtime.Runtime) gin.HandlerFunc

func ServiceConfigRegionPriorityGET

func ServiceConfigRegionPriorityGET(rt core_runtime.Runtime) gin.HandlerFunc

func ServiceConfigRegionPriorityPUT

func ServiceConfigRegionPriorityPUT(rt core_runtime.Runtime) gin.HandlerFunc

func ServiceConfigRetryGET

func ServiceConfigRetryGET(rt core_runtime.Runtime) gin.HandlerFunc

func ServiceConfigRetryPUT

func ServiceConfigRetryPUT(rt core_runtime.Runtime) gin.HandlerFunc

func ServiceConfigTimeoutGET

func ServiceConfigTimeoutGET(rt core_runtime.Runtime) gin.HandlerFunc

func ServiceConfigTimeoutPUT

func ServiceConfigTimeoutPUT(rt core_runtime.Runtime) gin.HandlerFunc

func TagRuleSearch

func TagRuleSearch(rt core_runtime.Runtime) gin.HandlerFunc

Types

type Dimension

type Dimension string
const (
	AppDimension      Dimension = constants.Application
	InstanceDimension Dimension = constants.Instance
	ServiceDimension  Dimension = constants.Service
)

type TestingService

type TestingService interface {
	GetMethodsNames(ctx context.Context, target, serviceName string) ([]string, error)
	GetMethodDescribe(ctx context.Context, target, methodName string) (*model.MethodDescribe, error)
	GetMessageTemplateString(ctx context.Context, target, messageName string) (string, error)
	GetMessageDescribeString(ctx context.Context, target, messageName string) (string, error)
	Invoke(ctx context.Context, target, methodName, input string, headers map[string]string) (string, error)
}

type TestingServiceImpl

type TestingServiceImpl struct{}

func (*TestingServiceImpl) GetMessageDescribeString

func (t *TestingServiceImpl) GetMessageDescribeString(ctx context.Context, target, messageName string) (string, error)

GetMessageDescribeString get the describe string (protobuf define string) of method

func (*TestingServiceImpl) GetMessageTemplateString

func (t *TestingServiceImpl) GetMessageTemplateString(ctx context.Context, target, messageName string) (string, error)

GetMessageTemplateString get the template string of message

func (*TestingServiceImpl) GetMethodDescribe

func (t *TestingServiceImpl) GetMethodDescribe(ctx context.Context, target, methodName string) (*model.MethodDescribe, error)

GetMethodDescribe get the detail of method

func (*TestingServiceImpl) GetMethodsNames

func (t *TestingServiceImpl) GetMethodsNames(ctx context.Context, target, serviceName string) ([]string, error)

func (*TestingServiceImpl) Invoke

func (t *TestingServiceImpl) Invoke(ctx context.Context, target, methodName, input string, headers map[string]string) (string, error)

Invoke the target method, input is json string, and return the response, success and error.

Jump to

Keyboard shortcuts

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