packer/hcl2template/function
Lucas Bajolet da06110cc3 hcl2template: add filebase64 function
The filebase64 function aims to read and encode a file's contents into
base64.
This is mostly to support reading the content of a file that is not
valid UTF-8, as is the case with the `file` function.
2024-11-05 14:19:51 -05:00
..
testdata HCL2: add templatefile function (#10776) 2021-03-23 12:02:05 +01:00
aws_secretetkey.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
Consul.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
datetime.go hcl2template/functions: Add Non-null refinements for various functions 2023-11-29 12:28:16 -05:00
datetime_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
encoding.go Add base64gzip function support to Packer template 2024-08-13 14:53:29 -04:00
encoding_test.go Add base64gzip function support to Packer template 2024-08-13 14:53:29 -04:00
env.go hcl2template/functions: Add Non-null refinements for various functions 2023-11-29 12:28:16 -05:00
filebase64.go hcl2template: add filebase64 function 2024-11-05 14:19:51 -05:00
filebase64_test.go hcl2template: add filebase64 function 2024-11-05 14:19:51 -05:00
index.go hcl2template/functions: Add Non-null refinements for various functions 2023-11-29 12:28:16 -05:00
index_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
length.go hcl2template/functions: Add Non-null refinements for various functions 2023-11-29 12:28:16 -05:00
length_test.go hcl2template/functions: Add Non-null refinements for various functions 2023-11-29 12:28:16 -05:00
refinements.go hcl2template/functions: Add Non-null refinements for various functions 2023-11-29 12:28:16 -05:00
templatefile.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
templatefile_test.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00
vault.go [COMPLIANCE] License changes (#12568) 2023-08-10 15:53:29 -07:00