utils

package
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildLinkBinary

func BuildLinkBinary(t *testing.T) string

func CleanupEtcdData

func CleanupEtcdData(t *testing.T)

func DownloadLinKVersion

func DownloadLinKVersion(t *testing.T, version string) string

func StartEtcd

func StartEtcd(version string) (func(), error)

Types

type LinKProcess

type LinKProcess struct {
	// contains filtered or unexported fields
}
func StartLinK(t *testing.T, binaryPath string, opts ...StartLinkOpt) LinKProcess

func (LinKProcess) Stop

func (p LinKProcess) Stop(t *testing.T)

func (LinKProcess) URL

func (p LinKProcess) URL() string

type StartLinkOpt

type StartLinkOpt func(cmd *exec.Cmd)

func WithEnv

func WithEnv(key, value string) StartLinkOpt

Jump to

Keyboard shortcuts

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