Documentation ¶
Index ¶
- func NewGatewayDomainServiceImpl() (e error)
- type GatewayDomainServiceImpl
- func (impl GatewayDomainServiceImpl) Clone(ctx context.Context) domain.GatewayDomainService
- func (impl GatewayDomainServiceImpl) CreateOrUpdateComponentIngress(req apistructs.ComponentIngressUpdateRequest) (res bool, err error)
- func (impl GatewayDomainServiceImpl) FindDomains(domain, projectId, workspace string, matchType orm.OptionType, ...) ([]orm.GatewayDomain, error)
- func (impl GatewayDomainServiceImpl) GetGatewayProvider(clusterName string) (string, error)
- func (impl GatewayDomainServiceImpl) GetOrgDomainInfo(reqDto *gw.ManageDomainReq) (res common.NewPageQuery, err error)
- func (impl GatewayDomainServiceImpl) GetPackageDomains(packageId string, session ...*db.SessionHelper) ([]string, error)
- func (impl GatewayDomainServiceImpl) GetRuntimeDomains(runtimeId string, orgId int64) (result gw.RuntimeDomainsDto, err error)
- func (impl GatewayDomainServiceImpl) GetTenantDomains(projectId, env string) (result []string, err error)
- func (impl GatewayDomainServiceImpl) GiveRuntimeDomainToPackage(runtimeService *orm.GatewayRuntimeService, session *db.SessionHelper) (bool, error)
- func (impl GatewayDomainServiceImpl) IsPackageDomainsDiff(packageId, clusterName string, domains []string, session *db.SessionHelper) (bool, error)
- func (impl GatewayDomainServiceImpl) RefreshRuntimeDomain(runtimeService *orm.GatewayRuntimeService, session *db.SessionHelper) error
- func (impl GatewayDomainServiceImpl) TouchPackageDomain(orgId, packageId, clusterName string, domains []string, ...) ([]string, error)
- func (impl GatewayDomainServiceImpl) TouchRuntimeDomain(orgId string, runtimeService *orm.GatewayRuntimeService, ...) (string, error)
- func (impl GatewayDomainServiceImpl) UpdateRuntimeServiceDomain(orgId, runtimeId, serviceName string, reqDto *gw.ServiceDomainReqDto) (res bool, existDomain string, err error)
- func (impl GatewayDomainServiceImpl) UpdateRuntimeServicePort(runtimeService *orm.GatewayRuntimeService, releaseInfo *diceyml.Object) error
- type RuntimeData
- type RuntimeResponse
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 (impl GatewayDomainServiceImpl) Clone(ctx context.Context) domain.GatewayDomainService
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) GetGatewayProvider ¶
func (impl GatewayDomainServiceImpl) GetGatewayProvider(clusterName string) (string, 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, orgId int64) (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(orgId, packageId, clusterName string, domains []string, session *db.SessionHelper) ([]string, error)
func (GatewayDomainServiceImpl) TouchRuntimeDomain ¶
func (impl GatewayDomainServiceImpl) TouchRuntimeDomain(orgId string, 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 RuntimeResponse ¶
type RuntimeResponse struct { Success bool `json:"success"` Data RuntimeData `json:"data"` }
Click to show internal directories.
Click to hide internal directories.