Documentation ¶
Index ¶
Constants ¶
View Source
const ( DomainConfigName = "domain-config" DomainPublicKeyName = "domain-public-key" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfManagerConfig ¶
type ConfManagerConfig struct { HTTPPort int32 `yaml:"HTTPPort,omitempty"` GRPCPort int32 `yaml:"GRPCPort,omitempty"` ConnectTimeout int `yaml:"connectTimeout,omitempty"` ReadTimeout int `yaml:"readTimeout,omitempty"` WriteTimeout int `yaml:"writeTimeout,omitempty"` IdleTimeout int `yaml:"idleTimeout,omitempty"` Driver string `yaml:"driver,omitempty"` Params map[string]any `yaml:"params,omitempty"` DomainID string `yaml:"-"` DomainKey *rsa.PrivateKey `yaml:"-"` TLS config.TLSServerConfig `yaml:"-"` DomainCertValue *atomic.Value `yaml:"-"` IsMaster bool `yaml:"-"` KubeClient kubernetes.Interface `yaml:"-"` }
func NewDefaultConfManagerConfig ¶
func NewDefaultConfManagerConfig() *ConfManagerConfig
func (*ConfManagerConfig) MustTLSEnables ¶
func (c *ConfManagerConfig) MustTLSEnables(errs *errorcode.Errs)
Click to show internal directories.
Click to hide internal directories.