initialisation

package
v0.1.0-alpha.202401051709 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InitData

type InitData struct {
	Workspace       *workspace.Workspace
	WorkspaceEvents *dashboardworkspace.WorkspaceEvents

	Client *db_client.DbClient
	Result *db_common.InitResult

	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, opts ...db_client.ClientOption)

func (*InitData) RegisterExporters

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

Jump to

Keyboard shortcuts

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