cluster

package
v1.15.0-rc.13 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: Apache-2.0 Imports: 13 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
}

func New

func New(t *testing.T, fopts ...Option) *Cluster

func (*Cluster) Addresses

func (c *Cluster) Addresses() []string

func (*Cluster) Cleanup

func (c *Cluster) Cleanup(t *testing.T)

func (*Cluster) Client

func (*Cluster) Run

func (c *Cluster) Run(t *testing.T, ctx context.Context)

func (*Cluster) WaitUntilRunning

func (c *Cluster) WaitUntilRunning(t *testing.T, ctx context.Context)

type Option

type Option func(*options)

func WithCount

func WithCount(count uint32) Option

func WithOverrideBroadcastHostPorts

func WithOverrideBroadcastHostPorts(addresses ...string) Option

Jump to

Keyboard shortcuts

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