Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AppName = "test_app.example.com" ServerName = "test_server" TFiles = []string{"bar.env", "foo.env"} TFolders = []string{"dir1", "dir2"} TestServer = os.ExpandEnv("$PWD/../../tests/resources/test_server") TestDir = os.ExpandEnv("$PWD/../../tests/resources/test_dir") ExpectedAppEnv = envfile.AppEnv{ "DOMAIN": "test_app.example.com", "RECIPE": "test_recipe", } ExpectedApp = appPkg.App{ Name: AppName, Recipe: recipe.Get(ExpectedAppEnv["RECIPE"]), Domain: ExpectedAppEnv["DOMAIN"], Env: ExpectedAppEnv, Path: ExpectedAppFile.Path, Server: ExpectedAppFile.Server, } ExpectedAppFile = appPkg.AppFile{ Path: path.Join(TestServer, fmt.Sprintf("%s.env", AppName)), Server: ServerName, } ExpectedAppFiles = map[string]appPkg.AppFile{ AppName: ExpectedAppFile, } )
Functions ¶
func MkServerAppRecipe ¶
func MkServerAppRecipe()
func RmServerAppRecipe ¶
func RmServerAppRecipe()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.