Documentation ¶
Index ¶
- func NewGatewayGlobalServiceImpl(clusterSvc clusterpb.ClusterServiceServer, tenantSvc pb.TenantServiceServer) (e error)
- type GatewayGlobalServiceImpl
- func (impl GatewayGlobalServiceImpl) Clone(ctx context.Context) global.GatewayGlobalService
- func (impl *GatewayGlobalServiceImpl) CreateTenant(tenant *gw.TenantDto) (result bool, err error)
- func (impl *GatewayGlobalServiceImpl) GenTenantGroup(projectId, env, clusterName string) (string, error)
- func (impl *GatewayGlobalServiceImpl) GenerateDefaultPath(projectId string, session ...*db.SessionHelper) (string, error)
- func (impl *GatewayGlobalServiceImpl) GenerateEndpoint(info gw.DiceInfo, session ...*db.SessionHelper) (string, string, error)
- func (impl *GatewayGlobalServiceImpl) GetClusterUIType(orgId, projectId, env string) *common.StandardResult
- func (impl *GatewayGlobalServiceImpl) GetClustersByOrg(orgId string) ([]string, error)
- func (impl *GatewayGlobalServiceImpl) GetDiceHealth() gw.DiceHealthDto
- func (impl GatewayGlobalServiceImpl) GetGatewayFeatures(clusterName string) map[string]string
- func (impl *GatewayGlobalServiceImpl) GetGatewayProvider(clusterName string) (string, error)
- func (impl *GatewayGlobalServiceImpl) GetOrgId(projectId string) (string, error)
- func (impl *GatewayGlobalServiceImpl) GetProjectName(info gw.DiceInfo, session ...*db.SessionHelper) (string, error)
- func (impl *GatewayGlobalServiceImpl) GetProjectNameFromCmdb(projectId string) (string, error)
- func (impl GatewayGlobalServiceImpl) GetRuntimeServicePrefix(dao *orm.GatewayRuntimeService) (string, error)
- func (impl *GatewayGlobalServiceImpl) GetServiceAddr(env string) string
- func (impl *GatewayGlobalServiceImpl) GetTenantGroup(projectId, env string) (res string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGatewayGlobalServiceImpl ¶
func NewGatewayGlobalServiceImpl(clusterSvc clusterpb.ClusterServiceServer, tenantSvc pb.TenantServiceServer) (e error)
Types ¶
type GatewayGlobalServiceImpl ¶
type GatewayGlobalServiceImpl struct {
// contains filtered or unexported fields
}
func (GatewayGlobalServiceImpl) Clone ¶
func (impl GatewayGlobalServiceImpl) Clone(ctx context.Context) global.GatewayGlobalService
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) GetGatewayProvider ¶
func (impl *GatewayGlobalServiceImpl) GetGatewayProvider(clusterName string) (string, error)
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)
Click to show internal directories.
Click to hide internal directories.