Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllersCfg ¶
type ControllersCfg struct { DefaultPvcKanikoSize string `yaml:"defaultPvcKanikoSize,omitempty"` HealthFailureThresholdDevMode int32 `yaml:"healthFailureThresholdDevMode,omitempty"` KanikoDefaultWarmerImageTag string `yaml:"kanikoDefaultWarmerImageTag,omitempty"` KanikoExecutorImageTag string `yaml:"kanikoExecutorImageTag,omitempty"` JobsServicePostgreSQLImageTag string `yaml:"jobsServicePostgreSQLImageTag,omitempty"` JobsServiceEphemeralImageTag string `yaml:"jobsServiceEphemeralImageTag,omitempty"` DataIndexPostgreSQLImageTag string `yaml:"dataIndexPostgreSQLImageTag,omitempty"` DataIndexEphemeralImageTag string `yaml:"dataIndexEphemeralImageTag,omitempty"` SonataFlowBaseBuilderImageTag string `yaml:"sonataFlowBaseBuilderImageTag,omitempty"` SonataFlowDevModeImageTag string `yaml:"sonataFlowDevModeImageTag,omitempty"` BuilderConfigMapName string `yaml:"builderConfigMapName,omitempty"` }
func GetCfg ¶
func GetCfg() *ControllersCfg
func InitializeControllersCfg ¶
func InitializeControllersCfg() (*ControllersCfg, error)
InitializeControllersCfg initializes the platform configuration for this instance. Must be called at the main initialization point.
For the main initialization, the configuration is discarded since the controllers will read the cache instance. We keep the pointer return here to make sure we can access it from tests if needed or implement an optional use the defaults if fail to read.
func InitializeControllersCfgAt ¶
func InitializeControllersCfgAt(configFilePath string) (*ControllersCfg, error)
InitializeControllersCfgAt same as InitializeControllersCfg receiving a path as input.
Click to show internal directories.
Click to hide internal directories.