endpoint_api

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GatewayOpenapiService

type GatewayOpenapiService interface {
	Clone(context.Context) GatewayOpenapiService
	ClearRuntimeRoute(id string) error
	SetRuntimeEndpoint(context.Context, runtime_service.RuntimeEndpointInfo) error
	TouchPackageRootApi(packageId string, reqDto *dto.OpenapiDto) (bool, error)
	TryClearRuntimePackage(*orm.GatewayRuntimeService, *service.SessionHelper, ...bool) error
	TouchRuntimePackageMeta(*orm.GatewayRuntimeService, *service.SessionHelper) (string, bool, error)
	RefreshRuntimePackage(string, *orm.GatewayRuntimeService, *service.SessionHelper) error
	CreateUnityPackageZone(string, *service.SessionHelper) (*orm.GatewayZone, error)
	CreateTenantPackage(string, string, *service.SessionHelper) error
	CreateTenantHubPackages(ctx context.Context, tenantID string, session *service.SessionHelper) error
	CreatePackage(context.Context, *dto.DiceArgsDto, *dto.PackageDto) (*dto.PackageInfoDto, string, error)
	GetPackages(context.Context, *dto.GetPackagesDto) (common.NewPageQuery, error)
	ListAllPackages() ([]orm.GatewayPackage, error)
	GetPackage(string) (*dto.PackageInfoDto, error)
	GetPackagesName(*dto.GetPackagesDto) ([]dto.PackageInfoDto, error)
	UpdatePackage(string, string, *dto.PackageDto) (*dto.PackageInfoDto, error)
	DeletePackage(string) (bool, error)
	CreatePackageApi(string, *dto.OpenapiDto) (string, bool, error)
	GetPackageApis(context.Context, string, *dto.GetOpenapiDto) (common.NewPageQuery, error)
	ListPackageAllApis(id string) ([]orm.GatewayPackageApi, error)
	UpdatePackageApi(string, string, *dto.OpenapiDto) (*dto.OpenapiInfoDto, bool, error)
	DeletePackageApi(string, string) (bool, error)
	TouchPackageApiZone(info PackageApiInfo, session ...*service.SessionHelper) (string, error)
}
var Service GatewayOpenapiService

type PackageApiInfo

type PackageApiInfo struct {
	*orm.GatewayPackageApi
	Hosts               []string
	ProjectId           string
	Env                 string
	Az                  string
	InjectRuntimeDomain bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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