clickhouse

package
v0.0.0-...-e6d1e93 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClickHouseClusterContainer

type ClickHouseClusterContainer struct {
	Identifier string
	Container  testcontainers.Container
	Compose    tc.ComposeStack
	Context    context.Context

	Cluster   string
	Hosts     []string
	HostsHTTP []string
	Database  string
}

ClickHouseClusterContainer is a ClickHouse testcontainer

func NewClickhouseClusterContainer

func NewClickhouseClusterContainer(ctx context.Context) (*ClickHouseClusterContainer, error)

NewClickhouseClusterContainer creates new Clickhouse test container if CH_TEST_PORT is not defined. Otherwise uses db at defined port. This logic is required for running test at CI environment

func (*ClickHouseClusterContainer) Close

func (ch *ClickHouseClusterContainer) Close() error

Close terminates underlying docker container

Jump to

Keyboard shortcuts

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