initialisation

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDbClient

GetDbClient either creates a DB client using the configured connection string (if present) or creates a LocalDbClient

Types

type InitData

type InitData struct {
	Client        db_common.Client
	Result        *db_common.InitResult
	PipesMetadata *steampipeconfig.PipesMetadata

	ShutdownTelemetry func()
	ExportManager     *export.Manager
}

func NewErrorInitData

func NewErrorInitData(err error) *InitData

func NewInitData

func NewInitData() *InitData

func (*InitData) Cleanup

func (i *InitData) Cleanup(ctx context.Context)

func (*InitData) Init

func (i *InitData) Init(ctx context.Context, invoker constants.Invoker, opts ...db_client.ClientOption)

func (*InitData) RegisterExporters

func (i *InitData) RegisterExporters(exporters ...export.Exporter) *InitData

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL