domainmanager

package
v4.25.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

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

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

Variables

This section is empty.

Functions

func NewDefaultDomainManager added in v4.19.7

func NewDefaultDomainManager() plugins.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