Documentation
¶
Index ¶
- Constants
- Variables
- func CSVToTable(columns []string, str string, delimiter rune) ([]map[string]string, error)
- func CheckForUpdates(sauce *re.Sauce, opts option.OCIRepository) ([]string, error)
- func CreateExampleRecipe(name string) *recipe.Recipe
- func CreateExampleTest() *recipe.Test
- func CreateFileTree(root string, files map[string]recipe.File) string
- func FilterVariablesWithoutValues(variables []recipe.Variable, values recipe.VariableValues) []recipe.Variable
- func MergeValues(valuesSlice ...recipe.VariableValues) recipe.VariableValues
- func NewNoInputError(vars []recipe.Variable) error
- func ParseProvidedValues(variables []recipe.Variable, flags []string, delimiter rune) (recipe.VariableValues, error)
- func RowsToTable(columns []string, rows [][]string) ([]map[string]string, error)
Constants ¶
View Source
const ValueEnvVarPrefix = "JALAPENO_VAR_"
Variables ¶
View Source
var (
ErrVarNotDefinedInRecipe = errors.New("following variable does not exist in the recipe")
)
Functions ¶
func CSVToTable ¶ added in v0.1.9
func CheckForUpdates ¶ added in v0.1.16
func CreateExampleRecipe ¶ added in v0.1.1
func CreateExampleTest ¶ added in v0.1.1
func CreateFileTree ¶ added in v0.1.4
func FilterVariablesWithoutValues ¶ added in v0.1.0
func MergeValues ¶ added in v0.1.0
func MergeValues(valuesSlice ...recipe.VariableValues) recipe.VariableValues
MergeValues merges multiple VariableValues into one. If a key exists in multiple VariableValues, the value from the last VariableValues will be used.
func NewNoInputError ¶ added in v0.1.28
func ParseProvidedValues ¶ added in v0.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.