Documentation ¶
Index ¶
- Constants
- Variables
- func CheckForUpdates(sauce *re.Sauce, opts option.OCIRepository) ([]string, error)
- func CleanValues(variables []recipe.Variable, values recipe.VariableValues) (recipe.VariableValues, []error)
- func CreateExampleManifest() recipe.Manifest
- func CreateExampleRecipe(name string) recipe.Recipe
- func CreateExampleTest(name string) recipe.Test
- func CreateFileTree(root string, files map[string]FileStatus) 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, parseEnvs bool) (recipe.VariableValues, error)
- func ValidateValue(validator recipe.VariableValidator, value interface{}) error
- type FileStatus
Constants ¶
View Source
const ValueEnvVarPrefix = "JALAPENO_VAR_"
Variables ¶
View Source
var (
ErrVarNotDefinedInRecipe = errors.New("following variable does not exist in the recipe")
)
Functions ¶
func CheckForUpdates ¶ added in v0.1.16
func CleanValues ¶ added in v1.10.1
func CleanValues(variables []recipe.Variable, values recipe.VariableValues) (recipe.VariableValues, []error)
func CreateExampleManifest ¶ added in v1.8.0
func CreateExampleRecipe ¶ added in v0.1.1
func CreateExampleTest ¶ added in v0.1.1
func CreateFileTree ¶ added in v0.1.4
func CreateFileTree(root string, files map[string]FileStatus) string
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
func ValidateValue ¶ added in v1.10.1
func ValidateValue(validator recipe.VariableValidator, value interface{}) error
Types ¶
type FileStatus ¶ added in v1.5.0
type FileStatus int
const ( FileUnknown FileStatus = iota FileUnchanged FileAdded FileModified FileDeleted )
func (FileStatus) String ¶ added in v1.5.0
func (f FileStatus) String() string
Click to show internal directories.
Click to hide internal directories.