impl

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 25 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 NewGatewayDomainServiceImpl

func NewGatewayDomainServiceImpl() (e error)

Types

type GatewayDomainServiceImpl

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

func (GatewayDomainServiceImpl) Clone

func (GatewayDomainServiceImpl) CreateOrUpdateComponentIngress

func (impl GatewayDomainServiceImpl) CreateOrUpdateComponentIngress(req apistructs.ComponentIngressUpdateRequest) (res bool, err error)

func (GatewayDomainServiceImpl) FindDomains

func (impl GatewayDomainServiceImpl) FindDomains(domain, projectId, workspace string, matchType orm.OptionType, domainType ...string) ([]orm.GatewayDomain, error)

func (GatewayDomainServiceImpl) GetOrgDomainInfo

func (impl GatewayDomainServiceImpl) GetOrgDomainInfo(reqDto *gw.ManageDomainReq) (res common.NewPageQuery, err error)

func (GatewayDomainServiceImpl) GetPackageDomains

func (impl GatewayDomainServiceImpl) GetPackageDomains(packageId string, session ...*db.SessionHelper) ([]string, error)

func (GatewayDomainServiceImpl) GetRuntimeDomains

func (impl GatewayDomainServiceImpl) GetRuntimeDomains(runtimeId string) (result gw.RuntimeDomainsDto, err error)

func (GatewayDomainServiceImpl) GetTenantDomains

func (impl GatewayDomainServiceImpl) GetTenantDomains(projectId, env string) (result []string, err error)

func (GatewayDomainServiceImpl) GiveRuntimeDomainToPackage

func (impl GatewayDomainServiceImpl) GiveRuntimeDomainToPackage(runtimeService *orm.GatewayRuntimeService, session *db.SessionHelper) (bool, error)

func (GatewayDomainServiceImpl) IsPackageDomainsDiff

func (impl GatewayDomainServiceImpl) IsPackageDomainsDiff(packageId, clusterName string, domains []string, session *db.SessionHelper) (bool, error)

func (GatewayDomainServiceImpl) RefreshRuntimeDomain

func (impl GatewayDomainServiceImpl) RefreshRuntimeDomain(runtimeService *orm.GatewayRuntimeService, session *db.SessionHelper) error

func (GatewayDomainServiceImpl) TouchPackageDomain

func (impl GatewayDomainServiceImpl) TouchPackageDomain(packageId, clusterName string, domains []string,
	session *db.SessionHelper) ([]string, error)

func (GatewayDomainServiceImpl) TouchRuntimeDomain

func (impl GatewayDomainServiceImpl) TouchRuntimeDomain(runtimeService *orm.GatewayRuntimeService, material endpoint.EndpointMaterial, domains []gw.EndpointDomainDto, audits *[]apistructs.Audit, session *db.SessionHelper) (string, error)

func (GatewayDomainServiceImpl) UpdateRuntimeServiceDomain

func (impl GatewayDomainServiceImpl) UpdateRuntimeServiceDomain(orgId, runtimeId, serviceName string, reqDto *gw.ServiceDomainReqDto) (res bool, existDomain string, err error)

func (GatewayDomainServiceImpl) UpdateRuntimeServicePort

func (impl GatewayDomainServiceImpl) UpdateRuntimeServicePort(runtimeService *orm.GatewayRuntimeService, releaseInfo *diceyml.Object) error

type RuntimeData

type RuntimeData struct {
	ReleaseId             string `json:"releaseId"`
	ServiceGroupNamespace string `json:"serviceGroupNamespace"`
	ServiceGroupName      string `json:"serviceGroupName"`
}

type RuntimeResponse

type RuntimeResponse struct {
	Success bool        `json:"success"`
	Data    RuntimeData `json:"data"`
}

Jump to

Keyboard shortcuts

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