Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDbClient ¶
func GetDbClient(ctx context.Context, invoker constants.Invoker, onConnectionCallback db_client.DbConnectionCallback) (db_common.Client, *modconfig.ErrorAndWarnings)
GetDbClient either creates a DB client using the configured connection string (if present) or creates a LocalDbClient
Types ¶
type InitData ¶
type InitData struct { Workspace *workspace.Workspace Client db_common.Client Result *db_common.InitResult ShutdownTelemetry func() ExportManager *export.Manager }
func NewErrorInitData ¶
func NewInitData ¶
func NewInitData() *InitData
Click to show internal directories.
Click to hide internal directories.