runtime_service

package
v1.3.0-rc.0...-0a48220 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeEndpointMaterial

func MakeEndpointMaterial(runtimeService *orm.GatewayRuntimeService, gatewayProvider string) (endpoint.EndpointMaterial, error)

Types

type GatewayRuntimeServiceService

type GatewayRuntimeServiceService interface {
	Clone(context.Context) GatewayRuntimeServiceService
	GetRegisterAppInfo(string, string) (dto.RegisterAppsDto, error)
	TouchRuntime(context.Context, *dto.RuntimeServiceReqDto) (bool, error)
	DeleteRuntime(string) error
	GetServiceRuntimes(projectId, env, app, service string) ([]orm.GatewayRuntimeService, error)
	// 获取指定服务的API前缀
	GetServiceApiPrefix(*dto.ApiPrefixReqDto) ([]string, error)
	GetGatewayProvider(string) (string, error)
}

type RuntimeEndpointInfo

type RuntimeEndpointInfo struct {
	RuntimeService *orm.GatewayRuntimeService
	Endpoints      []diceyml.Endpoint
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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