runtime_service

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 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) (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)
}

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