Help us shape the future of Go! Take the 2026 Go Developer Survey

nebulagraph

package module
v0.44.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	// contains filtered or unexported fields
}

Cluster represents a running NebulaGraph cluster for testing

func RunCluster

func RunCluster(ctx context.Context,
	graphdImg string, graphdCustomizers []testcontainers.ContainerCustomizer,
	storagedImg string, storagedCustomizers []testcontainers.ContainerCustomizer,
	metadImg string, metadCustomizers []testcontainers.ContainerCustomizer,
) (*Cluster, error)

RunCluster starts a NebulaGraph cluster (metad, storaged, graphd and activator) containers within a Docker network

func (*Cluster) ConnectionString

func (c *Cluster) ConnectionString(ctx context.Context) (string, error)

ConnectionString returns the host:port for connecting to NebulaGraph graphd

func (*Cluster) Terminate

func (c *Cluster) Terminate(ctx context.Context) error

Terminate stops all NebulaGraph containers

Jump to

Keyboard shortcuts

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