cmd

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

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 Execute

func Execute()

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳