impl

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGatewayGlobalServiceImpl

func NewGatewayGlobalServiceImpl() (e error)

Types

type GatewayGlobalServiceImpl

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

func (GatewayGlobalServiceImpl) Clone

func (*GatewayGlobalServiceImpl) CreateTenant

func (impl *GatewayGlobalServiceImpl) CreateTenant(tenant *gw.TenantDto) (result bool, err error)

func (*GatewayGlobalServiceImpl) GenTenantGroup

func (impl *GatewayGlobalServiceImpl) GenTenantGroup(projectId, env, clusterName string) (string, error)

func (*GatewayGlobalServiceImpl) GenerateDefaultPath

func (impl *GatewayGlobalServiceImpl) GenerateDefaultPath(projectId string, session ...*db.SessionHelper) (string, error)

func (*GatewayGlobalServiceImpl) GenerateEndpoint

func (impl *GatewayGlobalServiceImpl) GenerateEndpoint(info gw.DiceInfo, session ...*db.SessionHelper) (string, string, error)

func (*GatewayGlobalServiceImpl) GetClusterUIType

func (impl *GatewayGlobalServiceImpl) GetClusterUIType(orgId, projectId, env string) *common.StandardResult

func (*GatewayGlobalServiceImpl) GetClustersByOrg

func (impl *GatewayGlobalServiceImpl) GetClustersByOrg(orgId string) ([]string, error)

func (*GatewayGlobalServiceImpl) GetDiceHealth

func (impl *GatewayGlobalServiceImpl) GetDiceHealth() gw.DiceHealthDto

func (GatewayGlobalServiceImpl) GetGatewayFeatures

func (impl GatewayGlobalServiceImpl) GetGatewayFeatures(clusterName string) map[string]string

func (*GatewayGlobalServiceImpl) GetOrgId

func (impl *GatewayGlobalServiceImpl) GetOrgId(projectId string) (string, error)

func (*GatewayGlobalServiceImpl) GetProjectName

func (impl *GatewayGlobalServiceImpl) GetProjectName(info gw.DiceInfo, session ...*db.SessionHelper) (string, error)

func (*GatewayGlobalServiceImpl) GetProjectNameFromCmdb

func (impl *GatewayGlobalServiceImpl) GetProjectNameFromCmdb(projectId string) (string, error)

func (GatewayGlobalServiceImpl) GetRuntimeServicePrefix

func (impl GatewayGlobalServiceImpl) GetRuntimeServicePrefix(dao *orm.GatewayRuntimeService) (string, error)

func (*GatewayGlobalServiceImpl) GetServiceAddr

func (impl *GatewayGlobalServiceImpl) GetServiceAddr(env string) string

func (*GatewayGlobalServiceImpl) GetTenantGroup

func (impl *GatewayGlobalServiceImpl) GetTenantGroup(projectId, env string) (res string, err error)

Jump to

Keyboard shortcuts

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