Documentation ¶
Index ¶
- Constants
- func DevGetResources(ctx context.Context, inputFile string) (map[string]interface{}, error)
- func DevValidate(ctx context.Context, validationBytes []byte, resourcesBytes []byte) (lulaValidation types.LulaValidation, err error)
- func Include(rootCmd *cobra.Command)
- func PrintJSON(data map[string]interface{}, filepath string)
- type ValidateFlags
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 DevValidate ¶
func DevValidate(ctx context.Context, validationBytes []byte, resourcesBytes []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
Types ¶
type ValidateFlags ¶
Click to show internal directories.
Click to hide internal directories.