impl

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: 21 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGatewayApiServiceImpl

func NewGatewayApiServiceImpl() error

Types

type GatewayApiServiceImpl

type GatewayApiServiceImpl struct {
	// contains filtered or unexported fields
}

func (GatewayApiServiceImpl) ClearRuntimeApi

func (impl GatewayApiServiceImpl) ClearRuntimeApi(dao *orm.GatewayRuntimeService) error

func (GatewayApiServiceImpl) Clone

func (GatewayApiServiceImpl) CreateApi

func (impl GatewayApiServiceImpl) CreateApi(req *gw.ApiReqDto) (apiId string, err error)

func (GatewayApiServiceImpl) CreateRuntimeApi

func (impl GatewayApiServiceImpl) CreateRuntimeApi(dto *gw.ApiDto, session ...*db.SessionHelper) (string, StandardErrorCode, error)

func (GatewayApiServiceImpl) CreateUnitiyPackageShadowApi

func (impl GatewayApiServiceImpl) CreateUnitiyPackageShadowApi(apiId, projectId, env, az string) error

func (GatewayApiServiceImpl) CreateUpstreamBindApi

func (impl GatewayApiServiceImpl) CreateUpstreamBindApi(consumer *orm.GatewayConsumer, appName, srvName, runtimeServiceId string, upstreamApi *orm.GatewayUpstreamApi, aliasPath string) (string, error)

func (GatewayApiServiceImpl) DeleteApi

func (impl GatewayApiServiceImpl) DeleteApi(apiId string) error

func (GatewayApiServiceImpl) DeleteUpstreamBindApi

func (impl GatewayApiServiceImpl) DeleteUpstreamBindApi(upstreamApi *orm.GatewayUpstreamApi) error

func (GatewayApiServiceImpl) GetApiInfos

func (impl GatewayApiServiceImpl) GetApiInfos(dto *gw.GetApisDto) (result *common.PageQuery, err error)

func (GatewayApiServiceImpl) GetRuntimeApis

func (impl GatewayApiServiceImpl) GetRuntimeApis(runtimeServiceId string, registerType ...string) ([]gw.ApiDto, error)

func (GatewayApiServiceImpl) TouchRuntimeApi

func (impl GatewayApiServiceImpl) TouchRuntimeApi(dao *orm.GatewayRuntimeService, session *db.SessionHelper, newCreated bool) error

func (GatewayApiServiceImpl) UpdateApi

func (impl GatewayApiServiceImpl) UpdateApi(apiId string, req *gw.ApiReqDto) (apiInfo *gw.ApiInfoDto, err error)

func (GatewayApiServiceImpl) UpdateUpstreamBindApi

func (impl GatewayApiServiceImpl) UpdateUpstreamBindApi(consumer *orm.GatewayConsumer, appName, serviceName string, upstreamApi *orm.GatewayUpstreamApi, aliasPath string) error

Jump to

Keyboard shortcuts

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