Kristin Laemmert
10ef61c71c
porting many functions
2018-10-16 18:49:20 -07:00
Kristin Laemmert
602b59cdc4
porting functions
2018-10-16 18:49:20 -07:00
Kristin Laemmert
4ad3676934
port ceil function
2018-10-16 18:49:20 -07:00
Kristin Laemmert
c4f4dddff5
porting crypto functions
2018-10-16 18:49:20 -07:00
Kristin Laemmert
eb1d8b7909
cleanup comments for nicer godocs
2018-10-16 18:49:20 -07:00
Kristin Laemmert
9aa9b18658
porting crypto functions
2018-10-16 18:49:20 -07:00
Kristin Laemmert
1a5299efcb
porting encoding functions
2018-10-16 18:49:20 -07:00
Kristin Laemmert
d4e703a5c1
base64decode
2018-10-16 18:48:28 -07:00
Kristin Laemmert
e30cb1a7dc
typo
2018-10-16 18:48:28 -07:00
Kristin Laemmert
a187c92f0e
implement datetime functions
2018-10-16 18:48:28 -07:00
Kristin Laemmert
755b1e2497
implement pathexpand
2018-10-16 18:48:28 -07:00
Kristin Laemmert
2a2ffb6ef4
implement dirname function
2018-10-16 18:48:28 -07:00
Kristin Laemmert
8c1f0842b0
implement basename function
2018-10-16 18:48:28 -07:00
Martin Atkins
129f5fe74d
lang/funcs: port some of Terraform's built-in functions
...
These implementations are adaptations of the existing implementations in
config/interpolate_funcs.go, updated to work with the cty API.
The set of functions chosen here was motivated mainly by what Terraform's
existing context tests depend on, so we can get the contexts tests back
into good shape before fleshing out the rest of these functions.
2018-10-16 18:48:28 -07:00