Documentation ¶
Index ¶
- func CheckAPIServerConfig(config *APIServerConfig) error
- func CheckMasterConfig(config *MasterConfig) error
- func CheckServiceConfig(config *ServiceConfig, name string) error
- func CheckTLSConfig(config *TLSConfig, name string) error
- type APIServerConfig
- type MasterConfig
- type ServiceConfig
- type TLSConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckAPIServerConfig ¶
func CheckAPIServerConfig(config *APIServerConfig) error
func CheckMasterConfig ¶
func CheckMasterConfig(config *MasterConfig) error
func CheckServiceConfig ¶
func CheckServiceConfig(config *ServiceConfig, name string) error
func CheckTLSConfig ¶
Types ¶
type APIServerConfig ¶
type MasterConfig ¶
type MasterConfig struct { ServiceConfig `yaml:",inline"` DatastoreEndpoint string `yaml:"datastoreEndpoint,omitempty"` ClusterToken string `yaml:"clusterToken"` APIServer *APIServerConfig `yaml:"apiserver,omitempty"` KusciaStorage *ServiceConfig `yaml:"kusciaStorage,omitempty"` KusciaAPI *ServiceConfig `yaml:"kusciaAPI,omitempty"` Reporter *ServiceConfig `yaml:"reporter,omitempty"` APIWhitelist []string `yaml:"apiWhitelist,omitempty"` }
func (*MasterConfig) IsMaster ¶
func (m *MasterConfig) IsMaster() bool
type ServiceConfig ¶
type TLSConfig ¶
type TLSConfig struct { EnableTLS bool `yaml:"enableTLS,omitempty"` CertFile string `yaml:"certFile,omitempty"` CertData string `yaml:"certData,omitempty"` KeyFile string `yaml:"keyFile,omitempty"` KeyData string `yaml:"keyData,omitempty"` CAData string `yaml:"caData,omitempty"` CAFile string `yaml:"caFile,omitempty"` }
Click to show internal directories.
Click to hide internal directories.