domainmanager

package
v5.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const ManualCertSecretName = "mars-external-tls-secret" // #nosec G101
View Source
const SyncSecretDomainManager = "sync_secret_domain_manager"
View Source
const SyncSecretSecretName = ManualCertSecretName

SyncSecretSecretName 和 manual 方式保持名称一致,避免两种方式之间切换时需要手动部署才能生效的问题

Variables

This section is empty.

Functions

func NewDefaultDomainManager

func NewDefaultDomainManager() application.DomainManager

Types

type Subdomain

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

func (Subdomain) CompleteSubdomain

func (s Subdomain) CompleteSubdomain() string

CompleteSubdomain 获取完整的名称 mars-devops-test-default.test.com

func (Subdomain) HasIndex

func (s Subdomain) HasIndex() bool

func (Subdomain) MediumSubdomain

func (s Subdomain) MediumSubdomain() string

MediumSubdomain 中等版本, 去掉了 ns "devops-" 前缀

func (Subdomain) SimpleSubdomain

func (s Subdomain) SimpleSubdomain() string

SimpleSubdomain 简单版本

func (Subdomain) SubStr

func (s Subdomain) SubStr() string

Jump to

Keyboard shortcuts

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