data

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const AWSBasicRecipeVariables1 = `` /* 439-byte string literal not displayed */
View Source
const AWSBasicRecipeVariables2 = `` /* 529-byte string literal not displayed */
View Source
const CookbookConfigDocument = `` /* 1242-byte string literal not displayed */

Variables

View Source
var AWSBasicRecipeVariables1AsMap = map[string]interface{}{
	"test_input_1": map[string]interface{}{
		"value":    "aa",
		"optional": false,
	},
	"test_input_3": map[string]interface{}{
		"value":    "abcd3",
		"optional": true,
	},
	"test_input_4": map[string]interface{}{
		"value":    "abcd4",
		"optional": true,
	},
	"test_input_5": map[string]interface{}{
		"value":    "abcd5",
		"optional": false,
	},
	"test_input_6": map[string]interface{}{
		"value":    "abcd66",
		"optional": true,
	},
	"test_input_7": map[string]interface{}{
		"value":    "us-east-1",
		"optional": true,
	},
}
View Source
var AWSBasicRecipeVariables2AsMap = map[string]interface{}{
	"test_input_1": map[string]interface{}{
		"value":    "cc",
		"optional": false,
	},
	"test_input_2": map[string]interface{}{
		"value":    "appbrickscookbook",
		"optional": false,
	},
	"test_input_3": map[string]interface{}{
		"value":    "abcd3",
		"optional": true,
	},
	"test_input_4": map[string]interface{}{
		"value":    "abcd44",
		"optional": true,
	},
	"test_input_5": map[string]interface{}{
		"value":    "abcd55",
		"optional": false,
	},
	"test_input_6": map[string]interface{}{
		"value":    "abcd66",
		"optional": true,
	},
	"test_input_7": map[string]interface{}{
		"value":    "eu-central-1",
		"optional": true,
	},
}

Functions

func EnsureCookbookIsBuilt

func EnsureCookbookIsBuilt(destPath string) error

Build the test cookbook

func ValidateCookbookConfigDocument

func ValidateCookbookConfigDocument(ckbk *cookbook.Cookbook)

func ValidatePersistedVariables

func ValidatePersistedVariables(variables []*cookbook.Variable, expectVariables map[string]interface{})

func ValidateRecipeVariables

func ValidateRecipeVariables(actualVariables []interface{}, expectVariables map[string]interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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