Documentation
¶
Overview ¶
Package cmd contains the CLI command definitions along with their initialization and startup code
Index ¶
Constants ¶
View Source
const ( ConfigFileName = "config.yaml" ConfigLoadError = "problem loading configuration file" ConfigParseError = "problem parsing configuration file" DbmsConnOpenError = "problem opening a connection to DBMS endpoint" )
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadConfig()
LoadConfig attempts to load the operator configuration.
See config.ReadOperatorConfig for details.
func RegisterEndpoints ¶
func RegisterEndpoints()
RegisterEndpoints attempts to register the endpoints specified in the operator configuration loaded from LoadConfig.
See pool.Register for details.
func StartOperator ¶
func StartOperator()
StartOperator starts the operator by creating a new manager which in turn starts the operator controller.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.