Help us shape the future of Go! Take the 2026 Go Developer Survey

dev

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const DEFAULT_TIMEOUT = 1
View Source
const NO_TIMEOUT = -1
View Source
const STDIN = "0"

Variables

This section is empty.

Functions

func DevGetResources

func DevGetResources(ctx context.Context, inputFile string) (map[string]interface{}, error)

func DevValidate

func DevValidate(ctx context.Context, validationBytes []byte) (lulaValidation types.LulaValidation, err error)

DevValidate reads a validation manifest and converts it to a LulaValidation struct, then validates it Returns the LulaValidation struct and any error encountered

func Include

func Include(rootCmd *cobra.Command)

Include adds the tools command to the root command.

func PrintJSON

func PrintJSON(data map[string]interface{}, filepath string)

Types

type ValidateFlags

type ValidateFlags struct {
	ExpectedResult bool // -e --expected-result
	Timeout        int  // -t --timeout
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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