drivers

package
v0.3.9 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Driver

type Driver interface {
	// Start deploys the ClickHouse server.
	Start(ctx context.Context, orgID uuid.UUID) error

	// GetAddr returns the address of the ClickHouse server.
	GetAddr(ctx context.Context) (string, error)
}

Driver is the interface to deploy ClickHouse server.

func GetDriver

func GetDriver(driver string) (Driver, error)

GetDriver returns a driver by name.

Jump to

Keyboard shortcuts

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