What would you like to add
Proposal functions list:
For example project files placed in directory /home/user/cdev/staging/
Local stack template path: /home/user/cdev/staging/infra-template/
Remote template: github.com/shalb/cdev-aws-eks/
Function: projectPath (only for project level templating), returns absolute path to project dir: /home/user/cdev/staging/
Function templatePath (only for stack templates), returns absolute path to current template dir. For local template: /home/user/cdev/staging/infra-template/, for remote template /home/user/cdev/staging/.cluster.dev/templates/github.com_shalb_cdev-aws-eks/ (cache tmp dir)
Function relativeProjectPath (absolutePath), argument - absolute path. Returns the relative file path from the project directory:
What would you like to add Proposal functions list: For example project files placed in directory
/home/user/cdev/staging/
Local stack template path:/home/user/cdev/staging/infra-template/
Remote template:github.com/shalb/cdev-aws-eks/
Function:
projectPath
(only for project level templating), returns absolute path to project dir:/home/user/cdev/staging/
FunctiontemplatePath
(only for stack templates), returns absolute path to current template dir. For local template:/home/user/cdev/staging/infra-template/
, for remote template/home/user/cdev/staging/.cluster.dev/templates/github.com_shalb_cdev-aws-eks/
(cache tmp dir) FunctionrelativeProjectPath (absolutePath)
, argument - absolute path. Returns the relative file path from the project directory:returns
../common-files/api.json
Function
relativeUnitPath (absolutePath)
, argument - absolute path. Returns the relative file path from the unit working directory:returns
../../../../common-files/api.json