dockertest

package
v0.0.24 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithClusterName

func WithClusterName(name string) testcontainers.CustomizeRequestOption

func WithDiscoveryServers

func WithDiscoveryServers(serversCount int) testcontainers.CustomizeRequestOption

func WithDynamicTables

func WithDynamicTables() testcontainers.CustomizeRequestOption

func WithHTTPProxiesCount

func WithHTTPProxiesCount(proxiesCount int) testcontainers.CustomizeRequestOption

func WithNodesCount

func WithNodesCount(nodesCount int) testcontainers.CustomizeRequestOption

func WithRPCProxies

func WithRPCProxies(rpcProxiesCount int) testcontainers.CustomizeRequestOption

func WithSecondaryMasterCells added in v0.0.22

func WithSecondaryMasterCells(count int) testcontainers.CustomizeRequestOption

func WithVolumeMount

func WithVolumeMount(volume string) testcontainers.CustomizeRequestOption

WithVolumeMount mounts the specified volume to ytsaurusPath inside the container.

Types

type YTsaurusContainer added in v0.0.22

type YTsaurusContainer struct {
	testcontainers.Container

	Proxy   string
	Cluster string
}

func InitYTsaurusContainer added in v0.0.20

func InitYTsaurusContainer(ctx context.Context, opts ...testcontainers.ContainerCustomizer) (*YTsaurusContainer, error)

func RunContainer

func RunContainer(ctx context.Context, opts ...testcontainers.ContainerCustomizer) (*YTsaurusContainer, error)

RunContainer creates an instance of the YTsaurus container type.

Jump to

Keyboard shortcuts

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