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

cluster

package
v1.16.21 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 12 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) ClientN added in v1.16.0

func (*Cluster) EtcdClientPortN added in v1.16.0

func (c *Cluster) EtcdClientPortN(t *testing.T, n int) int

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