package
4.7.9
Repository: https://github.com/jenkins-x/jx-api.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
DeleteFile deletes a file from the operating system.
FileExists checks if path exists and is a file.
GenerateSchema generates a JSON schema for the given struct type and returns it.
No description provided by the author
JXBinLocation finds the JX config directory and creates a bin directory inside it if it does not already exist.
PathWithBinary Returns the path to be used to execute a binary from, takes the form JX_HOME/bin:mvnBinDir:customPaths.
SanitizeURL sanitizes by stripping the user and password.
ToObjectMap converts the given object into a map of strings/maps using YAML marshalling.
ValidateYaml generates a JSON schema for the given struct type, and then validates the given YAML against that schema, ignoring Containers and missing fields.
ValidateYamlLenient generates a JSON schema for the given struct type, and then validates the given YAML against that schema, ignoring Containers and missing fields.

# Constants

No description provided by the author

# Structs

Command is a struct containing the details of an external command to be executed.
CommandError is the error object encapsulating an error from a Command.