testutil

package
v0.0.0-...-4da1d4f Latest Latest
Warning

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

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

Documentation

Overview

Package testutil contains test utilities for the system-probe API server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSystemProbeTestServer

func NewSystemProbeTestServer(handler http.Handler, socketPath string) (*httptest.Server, error)

NewSystemProbeTestServer starts a new mock server to handle System Probe requests.

func SystemProbeSocketPath

func SystemProbeSocketPath(t *testing.T, _ string) string

SystemProbeSocketPath returns a temporary socket path for testing.

Types

This section is empty.

Jump to

Keyboard shortcuts

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