testutils_cobra

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecutePingcli

func ExecutePingcli(t *testing.T, args ...string) (err error)

ExecutePingcli executes the pingcli command with the provided arguments and returns the error if any

func ExecutePingcliCaptureCobraOutput

func ExecutePingcliCaptureCobraOutput(t *testing.T, args ...string) (output string, err error)

ExecutePingcliCaptureCobraOutput executes the pingcli command with the provided arguments and returns the output and error if any Note: The returned output will only contain cobra module specific output such as usage, help, and cobra errors It will NOT include internal/output/output.go output nor with it contain zerolog logs

Types

This section is empty.

Jump to

Keyboard shortcuts

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