testsinternal

package
v0.4.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoToolCmd added in v0.4.0

func GoToolCmd(name string, args ...string) *exec.Cmd

GoToolCmd creates an *exec.Cmd to run a Go tool command with the specified arguments.

func GoToolCmdContext added in v0.4.0

func GoToolCmdContext(ctx context.Context, name string, args ...string) *exec.Cmd

GoToolCmdContext creates an *exec.Cmd to run a Go tool command with the specified arguments.

func NewEnvTest

func NewEnvTest(t *testing.T) (c client.Client, cfg *rest.Config, k kubernetes.Interface)

NewEnvTest creates a new environment for testing the controller package.

func RunGoTool added in v0.4.0

func RunGoTool(name string, args ...string) (string, error)

RunGoTool runs a Go tool command with the specified arguments and returns its output or an error.

func RunGoToolContext added in v0.4.0

func RunGoToolContext(ctx context.Context, name string, args ...string) (string, error)

RunGoToolContext runs a Go tool command with the specified arguments and returns its output or an error. It uses a context to allow for cancellation and timeouts.

Types

This section is empty.

Directories

Path Synopsis
testmcpserver command
Package testopenai provides Azure OpenAI support for VCR cassette recording and playback.
Package testopenai provides Azure OpenAI support for VCR cassette recording and playback.
Package testopeninference provides OpenInference span recording and caching for testing AI Gateway's OpenTelemetry tracing implementation.
Package testopeninference provides OpenInference span recording and caching for testing AI Gateway's OpenTelemetry tracing implementation.
testupstream command

Jump to

Keyboard shortcuts

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