test

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	Logger *slog.Logger

	TestBin string
	// contains filtered or unexported fields
}

func (*Environment) Start

func (e *Environment) Start() error

func (*Environment) StartEtcd

func (e *Environment) StartEtcd() (*v1alpha1.EtcdClientSpec, error)

FIXME: set the ports to freeports

func (*Environment) StartJetstream

func (e *Environment) StartJetstream() (*v1alpha1.JetstreamClientSpec, error)

func (*Environment) StartRedis added in v0.1.1

func (e *Environment) StartRedis() ([]*goredislib.Options, error)

func (*Environment) Stop

func (e *Environment) Stop(cause ...string) error

type Session

type Session interface {
	G() (*gexec.Session, bool)
	Wait() error
}

func StartCmd

func StartCmd(cmd *exec.Cmd) (Session, error)

Directories

Path Synopsis
conformance

Jump to

Keyboard shortcuts

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