utils

package
v3.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildLinKBinary added in v3.2.1

func BuildLinKBinary(t *testing.T) string

func CleanupEtcdData

func CleanupEtcdData(t *testing.T)

func DownloadLinKVersion

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

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