Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeEndpointMaterial ¶
func MakeEndpointMaterial(runtimeService *orm.GatewayRuntimeService) (endpoint.EndpointMaterial, error)
Types ¶
type GatewayRuntimeServiceService ¶
type GatewayRuntimeServiceService interface {
Clone(context.Context) GatewayRuntimeServiceService
GetRegisterAppInfo(string, string) (dto.RegisterAppsDto, error)
TouchRuntime(*dto.RuntimeServiceReqDto) (bool, error)
DeleteRuntime(string) error
GetServiceRuntimes(projectId, env, app, service string) ([]orm.GatewayRuntimeService, error)
// 获取指定服务的API前缀
GetServiceApiPrefix(*dto.ApiPrefixReqDto) ([]string, error)
}
var Service GatewayRuntimeServiceService
type RuntimeEndpointInfo ¶
type RuntimeEndpointInfo struct {
RuntimeService *orm.GatewayRuntimeService
Endpoints []diceyml.Endpoint
}
Click to show internal directories.
Click to hide internal directories.