testutils_cobra

package
v1.0.7-0...-053f393 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecutePingctl

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

ExecutePingctl executes the pingctl command with the provided arguments and returns the error if any

func ExecutePingctlCaptureCobraOutput

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

ExecutePingctlCaptureCobraOutput executes the pingctl 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