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: 0

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