dockerm3

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 21 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

Overview

Package dockerm3 contains resources needed to setup docker containers for M3 tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachToExistingContainers

func AttachToExistingContainers(
	coordinatorContainerName string,
	dbNodesContainersNames []string,
) (resources.M3Resources, error)

AttachToExistingContainers attaches docker API to an existing coordinator and one or more dbnode containers.

func SetupSingleM3DBNode

func SetupSingleM3DBNode(opts ...SetupOptions) (resources.M3Resources, error)

SetupSingleM3DBNode creates docker resources representing a setup with a single DB node.

Types

type SetupOptions

type SetupOptions func(*setupOptions)

SetupOptions is a setup option.

func WithCoordinatorImage

func WithCoordinatorImage(name, tag string) SetupOptions

WithCoordinatorImage sets an option to use an image name and tag for the coordinator.

func WithDBNodeImage

func WithDBNodeImage(name, tag string) SetupOptions

WithDBNodeImage sets an option to use an image name and tag for the DB node.

func WithExistingCluster

func WithExistingCluster(dbNodeContainerName, coordinatorContainerName string) SetupOptions

WithExistingCluster sets the names of already running containers dbnode and coordinator containers that should be used for tests.

Jump to

Keyboard shortcuts

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