impl

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

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