test

package
v1.56.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanupConfig

func CleanupConfig()

func CmdValidator

func CmdValidator(t *testing.T, subject *cobra.Command, nSubCommands int, flags []string)

CmdValidator helps validate a cobra.Command, verifying the number of sub commands and the flags that are being defined for it.

func VerifyOutputTemplate

func VerifyOutputTemplate(t *testing.T, tmpl string, typeValue interface{})

VerifyOutputTemplate validates that the given template string is valid.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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