Documentation ¶
Overview ¶
Package config includes the configurations from env
Package config includes the configurations from env
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct {
// contains filtered or unexported fields
}
AppConfig contains the configurations from env
func (*AppConfig) Complete ¶
func (cfg *AppConfig) Complete() (*CompletedConfig, error)
Complete the AppConfig and return the CompletedConfig
type CompletedConfig ¶
type CompletedConfig struct { *AppConfig K8sUtils k8sutils.Interface BackendUtils clientSet.Interface }
CompletedConfig contains the env and config
func MockCompletedConfig ¶
func MockCompletedConfig() *CompletedConfig
MockCompletedConfig for unit test
func (*CompletedConfig) Print ¶
func (cfg *CompletedConfig) Print()
Print the configuration when before the service
Click to show internal directories.
Click to hide internal directories.